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 +4 -4
- data/.rubocop_schema.yml +1 -1
- data/README.md +6 -0
- data/fix-db-schema-conflicts.gemspec +1 -1
- data/lib/fix_db_schema_conflicts/tasks/db.rake +1 -1
- data/lib/fix_db_schema_conflicts/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b31f634488c200cf35a222e6d9757df89f01c7be
|
|
4
|
+
data.tar.gz: cd3109362b2eb0be6f147c0bd9d0489756da20b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ab89a8b80be45878ca5c3d4463ef74d1402f9c23a41be6a45149452e0f8c3487d9ae63546a2a5e38c86a06d72d530b40044f162a0c044c26d325ab32389059d
|
|
7
|
+
data.tar.gz: e715a73705e63559e15c2c0cc2682a94bf8470e160e3a4973b6b4e9310a5054c4e71f8f82a8a7749188ddea2aafec7535b80fc584dda245e236366f3f5c870a6
|
data/.rubocop_schema.yml
CHANGED
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
|
|
@@ -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
|
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.
|
|
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-
|
|
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
|