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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d43695550df9a1ba0f8d45e69ef1ff923c3c95eb8264a0d3b868914a94371628
4
- data.tar.gz: 022dfc6fc4de0b81e67bd4f1db2b6e2bf7af6068061424d00af7972589346f6b
3
+ metadata.gz: 5e5fed6907be62754990aeb2dba4b4ac37967db2d4a4bed37e18238f0d64cfeb
4
+ data.tar.gz: b8e920220eeb8fe97556e858a39ac66b3a63620182bf356cad09797b03b4a481
5
5
  SHA512:
6
- metadata.gz: 383a920b81490a3dce60b3a65a3422bac25295928a1bb8f0653e88a6af92dad74bafec4fa8746be8b75e71d3948db5deac5c4873984f8f9ccfd6b613254bd0ec
7
- data.tar.gz: 5dbf8db38016d0a2c50a4f5b33cbef31955495b23d36eb097d9826ccb6f31774725dda157143b5cf5f5fb48e92a2bb67d38ecd1108b673e0c5012d12f9345f7d
6
+ metadata.gz: dfbf4d668a6441eb72e604c975c1829ee2a3ec183e861e9ad4abed432b43a2f7ada7b06bf647e442684f70a39241d5ee1e40d12443c72869d82e8702d662acb1
7
+ data.tar.gz: b17d41ace5806241252335edd7a84ddc0b3c485b740f3206fa801cb0366ba13d5d41ab38f2bca0fe667c4690eb9a2473fc0d5e82dee63dee00925cce526d8a30
data/.circleci/config.yml CHANGED
@@ -16,7 +16,7 @@ version: 2
16
16
  jobs:
17
17
  test:
18
18
  docker:
19
- - image: circleci/ruby:2.6.5-stretch
19
+ - image: cimg/ruby:2.7.4
20
20
  steps:
21
21
  - checkout
22
22
  - *step_restore_vendor_cache
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.6.5
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.4)
5
- activerecord (>= 5.2, < 6.1)
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.0.3.5)
11
- activesupport (= 6.0.3.5)
12
- activerecord (6.0.3.5)
13
- activemodel (= 6.0.3.5)
14
- activesupport (= 6.0.3.5)
15
- activesupport (6.0.3.5)
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 (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- zeitwerk (~> 2.2, >= 2.2.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.2)
23
- concurrent-ruby (1.1.8)
24
- diff-lcs (1.3)
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.12.2)
27
- formatador (0.2.5)
28
- guard (2.16.1)
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.9.12)
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.8.9)
45
+ i18n (1.10.0)
46
46
  concurrent-ruby (~> 1.0)
47
47
  jaro_winkler (1.5.4)
48
- listen (3.2.1)
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.4)
52
- method_source (0.9.2)
53
- minitest (5.14.3)
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.12.2)
62
- coderay (~> 1.1.0)
63
- method_source (~> 0.9.0)
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.10.3)
66
+ rb-fsevent (0.11.1)
67
67
  rb-inotify (0.10.1)
68
68
  ffi (~> 1.0)
69
- rspec (3.9.0)
70
- rspec-core (~> 3.9.0)
71
- rspec-expectations (~> 3.9.0)
72
- rspec-mocks (~> 3.9.0)
73
- rspec-core (3.9.1)
74
- rspec-support (~> 3.9.1)
75
- rspec-expectations (3.9.0)
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.9.0)
78
- rspec-mocks (3.9.1)
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.9.0)
81
- rspec-support (3.9.2)
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.0.1)
100
- thread_safe (0.3.6)
101
- tzinfo (1.2.9)
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.2)
103
+ zeitwerk (2.5.4)
105
104
 
106
105
  PLATFORMS
107
106
  ruby
108
107
 
109
108
  DEPENDENCIES
110
109
  birdspotting!
111
- bundler (~> 1.16)
110
+ bundler
112
111
  guard-rspec
113
112
  guard-rubocop
114
- rake (~> 13.0)
115
- rspec (~> 3.0)
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
- 1.17.3
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 = ["Drivy", "Howard Wilson", "David Bourguignon"]
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", "~> 1.16"
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", "~> 13.0"
26
- spec.add_development_dependency "rspec", "~> 3.0"
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", ">= 5.2", "< 6.1"
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.starts_with?("`") }
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
@@ -1,3 +1,3 @@
1
1
  module Birdspotting
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.1.5".freeze
3
3
  end
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
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: 2021-02-23 00:00:00.000000000 Z
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: '1.16'
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: '1.16'
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: '13.0'
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: '13.0'
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: '3.0'
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: '3.0'
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: '5.2'
151
+ version: '6.0'
148
152
  - - "<"
149
153
  - !ruby/object:Gem::Version
150
- version: '6.1'
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: '5.2'
161
+ version: '6.0'
158
162
  - - "<"
159
163
  - !ruby/object:Gem::Version
160
- version: '6.1'
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.0.6
212
+ rubygems_version: 3.1.6
209
213
  signing_key:
210
214
  specification_version: 4
211
215
  summary: Rails migration helpers.