pronto-rails_schema 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/rails_schema.rb +3 -2
- data/lib/pronto/rails_schema/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bcf9e97c029b25cb9fb1ab0d1437b771b2baff2
|
4
|
+
data.tar.gz: e7dfa62a0859c2cf8ac54b3df8ddcc9bc226dc9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e70e8bd4caece937d958e000a76210abeb8bf757823c48477735152cc6024135c8d9f6f4e3e1fd416207fbb141e8819eec9e5750bd98d94a007f38e5d30c1ea9
|
7
|
+
data.tar.gz: cb66b7c23880f6ec3f2bf0a4a7104efe11cd9f1b1929f289a7ecf631d1e2d67ce4460ad9e237a551dbd0f5a469ecff008855fffcb6d20f9096b176afa85bc250
|
data/lib/pronto/rails_schema.rb
CHANGED
@@ -36,8 +36,9 @@ module Pronto
|
|
36
36
|
|
37
37
|
def generate_messages_for(target)
|
38
38
|
migration_patches.map do |patch|
|
39
|
-
|
40
|
-
|
39
|
+
first_line = patch.added_lines.first
|
40
|
+
Message.new(patch.delta.new_file[:path], first_line, :warning,
|
41
|
+
"Migration file detected, but no changes in #{target}",
|
41
42
|
nil, self.class)
|
42
43
|
end
|
43
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-rails_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raimondas Valickas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project:
|
108
|
-
rubygems_version: 2.
|
108
|
+
rubygems_version: 2.6.11
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: Pronto runner for detection of Rails schema changes.
|