fix-db-schema-conflicts 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39192bd1c0fb0868396a4760665ce60c2f9e634c
4
- data.tar.gz: bbde2547471a0b37a730f5d9518c3b5b0f190905
3
+ metadata.gz: b31f634488c200cf35a222e6d9757df89f01c7be
4
+ data.tar.gz: cd3109362b2eb0be6f147c0bd9d0489756da20b4
5
5
  SHA512:
6
- metadata.gz: c5f2a60f67b80eb1c864b0fa56c4bd47c443894f0ae6fd5d3256cc3849532bd1a908dd83177b695ee91360b88342ccfb05dbc328db97d99cff50be053cec93ea
7
- data.tar.gz: b4e987375106468b7377f6ab11ccebc1d4592ec06d48e704b7dddab9b998dac88593cf6ea4bfa048d7dac60706e634769c1ed4f64764992c457adb5a9b828cc6
6
+ metadata.gz: 0ab89a8b80be45878ca5c3d4463ef74d1402f9c23a41be6a45149452e0f8c3487d9ae63546a2a5e38c86a06d72d530b40044f162a0c044c26d325ab32389059d
7
+ data.tar.gz: e715a73705e63559e15c2c0cc2682a94bf8470e160e3a4973b6b4e9310a5054c4e71f8f82a8a7749188ddea2aafec7535b80fc584dda245e236366f3f5c870a6
data/.rubocop_schema.yml CHANGED
@@ -2,7 +2,7 @@ Style/NumericLiterals:
2
2
  Exclude:
3
3
  - 'db/schema.rb'
4
4
 
5
- Style/SingleSpaceBeforeFirstArg:
5
+ Style/SpaceBeforeFirstArg:
6
6
  Enabled: true
7
7
 
8
8
  Metrics/BlockNesting:
data/README.md CHANGED
@@ -52,3 +52,9 @@ If you wish to use a version of Rubocop `< 0.36.0` or below, use `gem 'fix-db-sc
52
52
  3. Commit your changes (`git commit -am 'Add some feature'`)
53
53
  4. Push to the branch (`git push origin my-new-feature`)
54
54
  5. Create a new Pull Request
55
+
56
+ ## Contributors
57
+
58
+ - @TCampaigne
59
+ - @Lordnibbler
60
+ - @jakeonrails
@@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "bundler", "~> 1.7"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
 
24
- spec.add_dependency "rubocop", "~> 0.36.0"
24
+ spec.add_dependency "rubocop", ">= 0.36.0"
25
25
  end
@@ -8,7 +8,7 @@ namespace :db do
8
8
  "#{Rails.root}/db/schema.rb"
9
9
  end
10
10
  rubocop_yml = File.expand_path('../../../../.rubocop_schema.yml', __FILE__)
11
- `rubocop --auto-correct --config #{rubocop_yml} #{filename}`
11
+ `bundle exec rubocop --auto-correct --config #{rubocop_yml} #{filename}`
12
12
  `sed -E -e 's/, +/, /g' #{filename} > db/schema.fixed.rb`
13
13
  `mv db/schema.fixed.rb #{filename}`
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module FixDBSchemaConflicts
2
- VERSION='1.1.0'
2
+ VERSION='1.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fix-db-schema-conflicts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Moffatt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-12 00:00:00.000000000 Z
11
+ date: 2016-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.36.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.36.0
55
55
  description: Ensures consistent output of db/schema.rb despite local differences in