birdspotting 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/.ruby-version +1 -1
- data/Gemfile.lock +47 -48
- data/birdspotting.gemspec +13 -5
- data/lib/birdspotting/reorder_columns.rb +1 -1
- data/lib/birdspotting/version.rb +1 -1
- metadata +23 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e5fed6907be62754990aeb2dba4b4ac37967db2d4a4bed37e18238f0d64cfeb
|
4
|
+
data.tar.gz: b8e920220eeb8fe97556e858a39ac66b3a63620182bf356cad09797b03b4a481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfbf4d668a6441eb72e604c975c1829ee2a3ec183e861e9ad4abed432b43a2f7ada7b06bf647e442684f70a39241d5ee1e40d12443c72869d82e8702d662acb1
|
7
|
+
data.tar.gz: b17d41ace5806241252335edd7a84ddc0b3c485b740f3206fa801cb0366ba13d5d41ab38f2bca0fe667c4690eb9a2473fc0d5e82dee63dee00925cce526d8a30
|
data/.circleci/config.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.7.4
|
data/Gemfile.lock
CHANGED
@@ -1,37 +1,37 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
birdspotting (0.1.
|
5
|
-
activerecord (>=
|
4
|
+
birdspotting (0.1.5)
|
5
|
+
activerecord (>= 6.0, < 7.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (6.
|
11
|
-
activesupport (= 6.
|
12
|
-
activerecord (6.
|
13
|
-
activemodel (= 6.
|
14
|
-
activesupport (= 6.
|
15
|
-
activesupport (6.
|
10
|
+
activemodel (6.1.6)
|
11
|
+
activesupport (= 6.1.6)
|
12
|
+
activerecord (6.1.6)
|
13
|
+
activemodel (= 6.1.6)
|
14
|
+
activesupport (= 6.1.6)
|
15
|
+
activesupport (6.1.6)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
-
i18n (>=
|
18
|
-
minitest (
|
19
|
-
tzinfo (~>
|
20
|
-
zeitwerk (~> 2.
|
17
|
+
i18n (>= 1.6, < 2)
|
18
|
+
minitest (>= 5.1)
|
19
|
+
tzinfo (~> 2.0)
|
20
|
+
zeitwerk (~> 2.3)
|
21
21
|
ast (2.4.0)
|
22
|
-
coderay (1.1.
|
23
|
-
concurrent-ruby (1.1.
|
24
|
-
diff-lcs (1.
|
22
|
+
coderay (1.1.3)
|
23
|
+
concurrent-ruby (1.1.10)
|
24
|
+
diff-lcs (1.5.0)
|
25
25
|
docile (1.3.2)
|
26
|
-
ffi (1.
|
27
|
-
formatador (
|
28
|
-
guard (2.
|
26
|
+
ffi (1.15.5)
|
27
|
+
formatador (1.1.0)
|
28
|
+
guard (2.18.0)
|
29
29
|
formatador (>= 0.2.4)
|
30
30
|
listen (>= 2.7, < 4.0)
|
31
31
|
lumberjack (>= 1.0.12, < 2.0)
|
32
32
|
nenv (~> 0.1)
|
33
33
|
notiffany (~> 0.0)
|
34
|
-
pry (>= 0.
|
34
|
+
pry (>= 0.13.0)
|
35
35
|
shellany (~> 0.0)
|
36
36
|
thor (>= 0.18.1)
|
37
37
|
guard-compat (1.2.1)
|
@@ -42,15 +42,15 @@ GEM
|
|
42
42
|
guard-rubocop (1.3.0)
|
43
43
|
guard (~> 2.0)
|
44
44
|
rubocop (~> 0.20)
|
45
|
-
i18n (1.
|
45
|
+
i18n (1.10.0)
|
46
46
|
concurrent-ruby (~> 1.0)
|
47
47
|
jaro_winkler (1.5.4)
|
48
|
-
listen (3.
|
48
|
+
listen (3.7.1)
|
49
49
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
50
50
|
rb-inotify (~> 0.9, >= 0.9.10)
|
51
|
-
lumberjack (1.2.
|
52
|
-
method_source (0.
|
53
|
-
minitest (5.
|
51
|
+
lumberjack (1.2.8)
|
52
|
+
method_source (1.0.0)
|
53
|
+
minitest (5.15.0)
|
54
54
|
nenv (0.3.0)
|
55
55
|
notiffany (0.1.3)
|
56
56
|
nenv (~> 0.1)
|
@@ -58,27 +58,27 @@ GEM
|
|
58
58
|
parallel (1.19.1)
|
59
59
|
parser (2.7.0.2)
|
60
60
|
ast (~> 2.4.0)
|
61
|
-
pry (0.
|
62
|
-
coderay (~> 1.1
|
63
|
-
method_source (~>
|
61
|
+
pry (0.14.1)
|
62
|
+
coderay (~> 1.1)
|
63
|
+
method_source (~> 1.0)
|
64
64
|
rainbow (3.0.0)
|
65
65
|
rake (13.0.3)
|
66
|
-
rb-fsevent (0.
|
66
|
+
rb-fsevent (0.11.1)
|
67
67
|
rb-inotify (0.10.1)
|
68
68
|
ffi (~> 1.0)
|
69
|
-
rspec (3.
|
70
|
-
rspec-core (~> 3.
|
71
|
-
rspec-expectations (~> 3.
|
72
|
-
rspec-mocks (~> 3.
|
73
|
-
rspec-core (3.
|
74
|
-
rspec-support (~> 3.
|
75
|
-
rspec-expectations (3.
|
69
|
+
rspec (3.11.0)
|
70
|
+
rspec-core (~> 3.11.0)
|
71
|
+
rspec-expectations (~> 3.11.0)
|
72
|
+
rspec-mocks (~> 3.11.0)
|
73
|
+
rspec-core (3.11.0)
|
74
|
+
rspec-support (~> 3.11.0)
|
75
|
+
rspec-expectations (3.11.0)
|
76
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.
|
78
|
-
rspec-mocks (3.
|
77
|
+
rspec-support (~> 3.11.0)
|
78
|
+
rspec-mocks (3.11.1)
|
79
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
80
|
-
rspec-support (~> 3.
|
81
|
-
rspec-support (3.
|
80
|
+
rspec-support (~> 3.11.0)
|
81
|
+
rspec-support (3.11.0)
|
82
82
|
rspec_junit_formatter (0.4.1)
|
83
83
|
rspec-core (>= 2, < 4, != 2.12.0)
|
84
84
|
rubocop (0.79.0)
|
@@ -96,27 +96,26 @@ GEM
|
|
96
96
|
docile (~> 1.1)
|
97
97
|
simplecov-html (~> 0.11.0)
|
98
98
|
simplecov-html (0.11.0)
|
99
|
-
thor (1.
|
100
|
-
|
101
|
-
|
102
|
-
thread_safe (~> 0.1)
|
99
|
+
thor (1.2.1)
|
100
|
+
tzinfo (2.0.4)
|
101
|
+
concurrent-ruby (~> 1.0)
|
103
102
|
unicode-display_width (1.6.1)
|
104
|
-
zeitwerk (2.4
|
103
|
+
zeitwerk (2.5.4)
|
105
104
|
|
106
105
|
PLATFORMS
|
107
106
|
ruby
|
108
107
|
|
109
108
|
DEPENDENCIES
|
110
109
|
birdspotting!
|
111
|
-
bundler
|
110
|
+
bundler
|
112
111
|
guard-rspec
|
113
112
|
guard-rubocop
|
114
|
-
rake
|
115
|
-
rspec
|
113
|
+
rake
|
114
|
+
rspec
|
116
115
|
rspec_junit_formatter
|
117
116
|
rubocop
|
118
117
|
rubocop-rspec
|
119
118
|
simplecov
|
120
119
|
|
121
120
|
BUNDLED WITH
|
122
|
-
|
121
|
+
2.3.8
|
data/birdspotting.gemspec
CHANGED
@@ -5,7 +5,15 @@ require "birdspotting/version"
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "birdspotting"
|
7
7
|
spec.version = Birdspotting::VERSION
|
8
|
-
spec.authors = [
|
8
|
+
spec.authors = [
|
9
|
+
"Drivy",
|
10
|
+
"Howard Wilson",
|
11
|
+
"David Bourguignon",
|
12
|
+
"Alice Morin",
|
13
|
+
"Laurent Humez",
|
14
|
+
"Rémy Hannequin",
|
15
|
+
"Hugo Dornbierer",
|
16
|
+
]
|
9
17
|
spec.email = ["oss@drivy.com"]
|
10
18
|
|
11
19
|
spec.summary = "Rails migration helpers."
|
@@ -19,15 +27,15 @@ Gem::Specification.new do |spec|
|
|
19
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
28
|
spec.require_paths = ["lib"]
|
21
29
|
|
22
|
-
spec.add_development_dependency "bundler"
|
30
|
+
spec.add_development_dependency "bundler"
|
23
31
|
spec.add_development_dependency "guard-rspec"
|
24
32
|
spec.add_development_dependency "guard-rubocop"
|
25
|
-
spec.add_development_dependency "rake"
|
26
|
-
spec.add_development_dependency "rspec"
|
33
|
+
spec.add_development_dependency "rake"
|
34
|
+
spec.add_development_dependency "rspec"
|
27
35
|
spec.add_development_dependency "rspec_junit_formatter"
|
28
36
|
spec.add_development_dependency "rubocop"
|
29
37
|
spec.add_development_dependency "rubocop-rspec"
|
30
38
|
spec.add_development_dependency "simplecov"
|
31
39
|
|
32
|
-
spec.add_runtime_dependency "activerecord", ">=
|
40
|
+
spec.add_runtime_dependency "activerecord", ">= 6.0", "< 7.0"
|
33
41
|
end
|
@@ -35,7 +35,7 @@ module Birdspotting::ReorderColumns
|
|
35
35
|
.connection
|
36
36
|
.execute("SHOW CREATE TABLE `#{table_name}`")
|
37
37
|
.to_h[table_name.to_s]
|
38
|
-
column_definitions = table_definition.lines.map(&:strip).select { |l| l.
|
38
|
+
column_definitions = table_definition.lines.map(&:strip).select { |l| l.start_with?("`") }
|
39
39
|
|
40
40
|
Hash[column_definitions.map { |d| d.match(/`(.*)`\s*(.+?)(,|)\z/)[1, 2] }]
|
41
41
|
end
|
data/lib/birdspotting/version.rb
CHANGED
metadata
CHANGED
@@ -1,31 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: birdspotting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drivy
|
8
8
|
- Howard Wilson
|
9
9
|
- David Bourguignon
|
10
|
+
- Alice Morin
|
11
|
+
- Laurent Humez
|
12
|
+
- Rémy Hannequin
|
13
|
+
- Hugo Dornbierer
|
10
14
|
autorequire:
|
11
15
|
bindir: exe
|
12
16
|
cert_chain: []
|
13
|
-
date:
|
17
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
14
18
|
dependencies:
|
15
19
|
- !ruby/object:Gem::Dependency
|
16
20
|
name: bundler
|
17
21
|
requirement: !ruby/object:Gem::Requirement
|
18
22
|
requirements:
|
19
|
-
- - "
|
23
|
+
- - ">="
|
20
24
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
25
|
+
version: '0'
|
22
26
|
type: :development
|
23
27
|
prerelease: false
|
24
28
|
version_requirements: !ruby/object:Gem::Requirement
|
25
29
|
requirements:
|
26
|
-
- - "
|
30
|
+
- - ">="
|
27
31
|
- !ruby/object:Gem::Version
|
28
|
-
version: '
|
32
|
+
version: '0'
|
29
33
|
- !ruby/object:Gem::Dependency
|
30
34
|
name: guard-rspec
|
31
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,30 +62,30 @@ dependencies:
|
|
58
62
|
name: rake
|
59
63
|
requirement: !ruby/object:Gem::Requirement
|
60
64
|
requirements:
|
61
|
-
- - "
|
65
|
+
- - ">="
|
62
66
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
67
|
+
version: '0'
|
64
68
|
type: :development
|
65
69
|
prerelease: false
|
66
70
|
version_requirements: !ruby/object:Gem::Requirement
|
67
71
|
requirements:
|
68
|
-
- - "
|
72
|
+
- - ">="
|
69
73
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
74
|
+
version: '0'
|
71
75
|
- !ruby/object:Gem::Dependency
|
72
76
|
name: rspec
|
73
77
|
requirement: !ruby/object:Gem::Requirement
|
74
78
|
requirements:
|
75
|
-
- - "
|
79
|
+
- - ">="
|
76
80
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
81
|
+
version: '0'
|
78
82
|
type: :development
|
79
83
|
prerelease: false
|
80
84
|
version_requirements: !ruby/object:Gem::Requirement
|
81
85
|
requirements:
|
82
|
-
- - "
|
86
|
+
- - ">="
|
83
87
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
88
|
+
version: '0'
|
85
89
|
- !ruby/object:Gem::Dependency
|
86
90
|
name: rspec_junit_formatter
|
87
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,20 +148,20 @@ dependencies:
|
|
144
148
|
requirements:
|
145
149
|
- - ">="
|
146
150
|
- !ruby/object:Gem::Version
|
147
|
-
version: '
|
151
|
+
version: '6.0'
|
148
152
|
- - "<"
|
149
153
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
154
|
+
version: '7.0'
|
151
155
|
type: :runtime
|
152
156
|
prerelease: false
|
153
157
|
version_requirements: !ruby/object:Gem::Requirement
|
154
158
|
requirements:
|
155
159
|
- - ">="
|
156
160
|
- !ruby/object:Gem::Version
|
157
|
-
version: '
|
161
|
+
version: '6.0'
|
158
162
|
- - "<"
|
159
163
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
164
|
+
version: '7.0'
|
161
165
|
description:
|
162
166
|
email:
|
163
167
|
- oss@drivy.com
|
@@ -205,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
209
|
- !ruby/object:Gem::Version
|
206
210
|
version: '0'
|
207
211
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.1.6
|
209
213
|
signing_key:
|
210
214
|
specification_version: 4
|
211
215
|
summary: Rails migration helpers.
|