File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -155,18 +155,6 @@ Style/ClassAndModuleChildren:
155155    - ' app/models/ahoy/event.rb' 
156156    - ' lib/monkey_patches/octet_stream_override.rb' 
157157
158- #  Offense count: 1
159- Style/DoubleNegation :
160-   Exclude :
161-     - ' app/models/source_file.rb' 
162- 
163- #  Offense count: 1
164- #  Configuration parameters: EnforcedStyle.
165- #  SupportedStyles: annotated, template, unannotated
166- Style/FormatStringToken :
167-   Exclude :
168-     - ' spec/requests/admin/events_spec.rb' 
169- 
170158#  Offense count: 17
171159#  Configuration parameters: MinBodyLength.
172160Style/GuardClause :
Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ def to_jq_upload
5757  end 
5858
5959  def  is_image?  # rubocop:todo Naming/PredicateName 
60+     # rubocop:todo Style/DoubleNegation 
6061    !!file_content_type . try ( :match ,  /image/ ) 
62+     # rubocop:enable Style/DoubleNegation 
6163  end 
6264
6365  #---- start S3 related methods ----- 
Original file line number Diff line number Diff line change 2020
2121        # Default is to return data for the previous month. 
2222        expect ( JSON . parse ( response . body ) . keys ) 
23+           # rubocop:todo Style/FormatStringToken 
2324          . to  include ( *( 1 ..31 ) . map  {  |i | format ( "Dec %d 2018" ,  i )  } ) 
25+         # rubocop:enable Style/FormatStringToken 
2426      end 
2527
2628      it  "filters by date"  do 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments