rubocop-blueapron 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5509bbfa4c09f8cef195481d18ea853fbfd74e82
4
- data.tar.gz: 160681cfe59a4c911197b87ffbcba279f90e29a7
3
+ metadata.gz: bd3e0877918e688eb57d113d5c9ffb8ff13bdef0
4
+ data.tar.gz: de3b3f4d899fc6f90559f71954a6696b9ac9e77f
5
5
  SHA512:
6
- metadata.gz: ad86f1a6afc5657b957b35a99ce5a261e69778c236fa499ddb4ca3ba97d666749b52d14966d796abcc27480799310e6e78a00dcba5aac2b621c01f3b923a1bfd
7
- data.tar.gz: 81fb03569782394711d9bf04e70b48ef03b6697987822915fb8f675fe714c99fd95abacf34ec73413235c5e4a9d5ce2f72bbec8b5fa43413e088281c57acd533
6
+ metadata.gz: cb882e4575c5c52910381e4d3d63d4680c55484005d0f3de1e43bf49038d6358876a578a5e9e4a05478d92c203a3d587b7f903940d96c424132f34fabe2999eb
7
+ data.tar.gz: 0d9efcfafb96667d5dedeb5e0e2fe2b3096b880bf0b9f0642ab6a186e3fc335748b46c2d46595f344978bc5edaac66ade009a9033db826c5dfc9d80a22ce0260
@@ -1,3 +1,7 @@
1
+ require:
2
+ - ../lib/rubocop/cop/blueapron/date_time_now_utc.rb
3
+ - ../lib/rubocop/cop/blueapron/time_now_utc.rb
4
+
1
5
  Blueapron/DateTimeNowUtc:
2
6
  Description: 'Check that DateTime.now is interpreted as UTC.'
3
7
  Enabled: true
@@ -2,7 +2,7 @@ module RuboCop
2
2
  module Blueapron
3
3
  MAJOR = '0'.freeze
4
4
  MINOR = '2'.freeze
5
- PATCH = '0'.freeze
5
+ PATCH = '1'.freeze
6
6
 
7
7
  VERSION = [MAJOR, MINOR, PATCH].join('.')
8
8
  end
@@ -2,9 +2,10 @@ require 'rubocop'
2
2
 
3
3
  rubocop_path = File.join(File.dirname(__FILE__), '../vendor/rubocop')
4
4
  unless File.directory?(File.join(rubocop_path, '.git'))
5
- fail "Can't run specs without a local RuboCop checkout. Look in the README."
5
+ raise("Can't run specs without a local RuboCop checkout. Look in the README.")
6
6
  end
7
7
  Dir["#{rubocop_path}/spec/support/**/*.rb"].each { |f| require f }
8
+ require 'rubocop/rspec/support'
8
9
 
9
10
  RSpec.configure do |config|
10
11
  config.order = :random
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-blueapron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blue Apron Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-06 00:00:00.000000000 Z
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '12.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '12.0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rspec
57
71
  requirement: !ruby/object:Gem::Requirement