active_record_schema_scrapper 0.8.0 → 0.9.0

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: eb3bb47498a9f4f22a3ac90af33218190819f18562df419bd5eee456ea808f13
4
- data.tar.gz: 846d25a1f1689d5d8d0716bee3b853c7eb25943ed4442a7d9665adf8a72fae7d
3
+ metadata.gz: 17ac99d50ef0c05ddd6ea67e41a4cfdfdca751942dcc3bbb13233edad423ff51
4
+ data.tar.gz: 4667636b44013f45372f5d6fae09bd71e6cf54feb59b3ac2489eac49afe628d7
5
5
  SHA512:
6
- metadata.gz: bb320e336b34e5d0d2d8b37b2731c6dca16e77f54615c2a27f1b9d240fde230dd07232f53171cf98898c7629d47b45fb85e46ac6340fd9055e8d52e20a238c1f
7
- data.tar.gz: 439804024d053072b053754420604360c29abb3c0f34ab9bb15a23306661ef6e51c91b99c964fbf7f02cf0a612a87469dc92a0ddce5b8ebe8fe3c3661794cd1d
6
+ metadata.gz: 8e80eeb33a89a6659e0ec46dc860aa75dfedb23066c15817c4f61f0926d54744c4d04b9a82df26d3df563dde51b2e2689ef554c0b87f186bd21c7221e6ebb12c
7
+ data.tar.gz: a268fe2360f81389f05a8cb8b7eb8407eb2d969376ea1cc254e7de21c6c9986182c7735b9dfa6723faace14910c50b669caf8385c2bf327b2ab8488b41da4c6f
data/Appraisals CHANGED
@@ -1,8 +1,10 @@
1
1
  appraise "activerecord-4.2" do
2
+ gem "sqlite3", "~> 1.3.13"
2
3
  gem "activerecord", "~>4.2"
3
4
  end
4
5
 
5
6
  appraise "activerecord-5" do
7
+ gem "sqlite3", "~> 1.3.13"
6
8
  gem "activesupport", '5.2.3'
7
9
  gem "activerecord", "5.2.3"
8
10
  end
@@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_runtime_dependency "activerecord", ">= 4.2", "<= 6.9"
23
23
  spec.add_runtime_dependency "virtus", "~> 1.0"
24
+ spec.add_development_dependency "appraisal", "~> 2.0"
24
25
  spec.add_development_dependency "bundler", "~> 1.9"
26
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.5"
27
+ spec.add_development_dependency "pry-byebug", "~> 3.7.0"
25
28
  spec.add_development_dependency "rake", ">= 10.0"
26
29
  spec.add_development_dependency "rspec", "~> 3.4"
27
- spec.add_development_dependency "appraisal", "~> 2.0"
28
- spec.add_development_dependency "codeclimate-test-reporter", "~> 0.5"
29
- spec.add_development_dependency "sqlite3", "~> 1.3.13"
30
30
  end
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "sqlite3", "~> 1.3.13"
5
6
  gem "activerecord", "~>4.2"
6
7
 
7
8
  gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- active_record_schema_scrapper (0.8.0)
4
+ active_record_schema_scrapper (0.9.0)
5
5
  activerecord (>= 4.2, <= 6.9)
6
6
  virtus (~> 1.0)
7
7
 
@@ -30,8 +30,10 @@ GEM
30
30
  ice_nine (~> 0.11.0)
31
31
  thread_safe (~> 0.3, >= 0.3.1)
32
32
  builder (3.2.3)
33
+ byebug (11.0.1)
33
34
  codeclimate-test-reporter (0.6.0)
34
35
  simplecov (>= 0.7.1, < 1.0.0)
36
+ coderay (1.1.2)
35
37
  coercible (1.0.0)
36
38
  descendants_tracker (~> 0.0.1)
37
39
  concurrent-ruby (1.1.5)
@@ -44,7 +46,14 @@ GEM
44
46
  concurrent-ruby (~> 1.0)
45
47
  ice_nine (0.11.2)
46
48
  json (2.2.0)
49
+ method_source (0.9.2)
47
50
  minitest (5.11.3)
51
+ pry (0.12.2)
52
+ coderay (~> 1.1.0)
53
+ method_source (~> 0.9.0)
54
+ pry-byebug (3.7.0)
55
+ byebug (~> 11.0)
56
+ pry (~> 0.10)
48
57
  rake (12.3.2)
49
58
  rspec (3.8.0)
50
59
  rspec-core (~> 3.8.0)
@@ -84,6 +93,7 @@ DEPENDENCIES
84
93
  appraisal (~> 2.0)
85
94
  bundler (~> 1.9)
86
95
  codeclimate-test-reporter (~> 0.5)
96
+ pry-byebug (~> 3.7.0)
87
97
  rake (>= 10.0)
88
98
  rspec (~> 3.4)
89
99
  sqlite3 (~> 1.3.13)
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "sqlite3", "~> 1.3.13"
5
6
  gem "activesupport", "5.2.3"
6
7
  gem "activerecord", "5.2.3"
7
8
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- active_record_schema_scrapper (0.8.0)
4
+ active_record_schema_scrapper (0.9.0)
5
5
  activerecord (>= 4.2, <= 6.9)
6
6
  virtus (~> 1.0)
7
7
 
@@ -28,8 +28,10 @@ GEM
28
28
  descendants_tracker (~> 0.0.4)
29
29
  ice_nine (~> 0.11.0)
30
30
  thread_safe (~> 0.3, >= 0.3.1)
31
+ byebug (11.0.1)
31
32
  codeclimate-test-reporter (0.6.0)
32
33
  simplecov (>= 0.7.1, < 1.0.0)
34
+ coderay (1.1.2)
33
35
  coercible (1.0.0)
34
36
  descendants_tracker (~> 0.0.1)
35
37
  concurrent-ruby (1.1.5)
@@ -42,7 +44,14 @@ GEM
42
44
  concurrent-ruby (~> 1.0)
43
45
  ice_nine (0.11.2)
44
46
  json (2.2.0)
47
+ method_source (0.9.2)
45
48
  minitest (5.11.3)
49
+ pry (0.12.2)
50
+ coderay (~> 1.1.0)
51
+ method_source (~> 0.9.0)
52
+ pry-byebug (3.7.0)
53
+ byebug (~> 11.0)
54
+ pry (~> 0.10)
46
55
  rake (12.3.2)
47
56
  rspec (3.8.0)
48
57
  rspec-core (~> 3.8.0)
@@ -83,6 +92,7 @@ DEPENDENCIES
83
92
  appraisal (~> 2.0)
84
93
  bundler (~> 1.9)
85
94
  codeclimate-test-reporter (~> 0.5)
95
+ pry-byebug (~> 3.7.0)
86
96
  rake (>= 10.0)
87
97
  rspec (~> 3.4)
88
98
  sqlite3 (~> 1.3.13)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- active_record_schema_scrapper (0.8.0)
4
+ active_record_schema_scrapper (0.9.0)
5
5
  activerecord (>= 4.2, <= 6.9)
6
6
  virtus (~> 1.0)
7
7
 
@@ -27,8 +27,10 @@ GEM
27
27
  descendants_tracker (~> 0.0.4)
28
28
  ice_nine (~> 0.11.0)
29
29
  thread_safe (~> 0.3, >= 0.3.1)
30
+ byebug (11.0.1)
30
31
  codeclimate-test-reporter (0.6.0)
31
32
  simplecov (>= 0.7.1, < 1.0.0)
33
+ coderay (1.1.2)
32
34
  coercible (1.0.0)
33
35
  descendants_tracker (~> 0.0.1)
34
36
  concurrent-ruby (1.1.5)
@@ -41,7 +43,14 @@ GEM
41
43
  concurrent-ruby (~> 1.0)
42
44
  ice_nine (0.11.2)
43
45
  json (2.2.0)
46
+ method_source (0.9.2)
44
47
  minitest (5.11.3)
48
+ pry (0.12.2)
49
+ coderay (~> 1.1.0)
50
+ method_source (~> 0.9.0)
51
+ pry-byebug (3.7.0)
52
+ byebug (~> 11.0)
53
+ pry (~> 0.10)
45
54
  rake (12.3.3)
46
55
  rspec (3.8.0)
47
56
  rspec-core (~> 3.8.0)
@@ -83,6 +92,7 @@ DEPENDENCIES
83
92
  appraisal (~> 2.0)
84
93
  bundler (~> 1.9)
85
94
  codeclimate-test-reporter (~> 0.5)
95
+ pry-byebug (~> 3.7.0)
86
96
  rake (>= 10.0)
87
97
  rspec (~> 3.4)
88
98
  sqlite3 (~> 1.4.0)
@@ -13,8 +13,10 @@ class ActiveRecordSchemaScrapper
13
13
  ].freeze
14
14
 
15
15
  DEFAULT_REGISTERED_DEFAULTS = [
16
- { default: Proc.new { |d| %w(t 1).include?(d) }, replacement_default: true },
17
- { default: Proc.new { |d| %w(f 0).include?(d) }, replacement_default: false }
16
+ { default: Proc.new { |d| d == 't' }, replacement_default: true, type: :boolean },
17
+ { default: Proc.new { |d| d == 'f' }, replacement_default: false, type: :boolean },
18
+ { default: Proc.new { |d| d == '1' }, replacement_default: true, type: :boolean },
19
+ { default: Proc.new { |d| d == '0' }, replacement_default: false, type: :boolean }
18
20
  ].freeze
19
21
 
20
22
  class << self
@@ -1,3 +1,3 @@
1
1
  class ActiveRecordSchemaScrapper
2
- VERSION = "0.8.0".freeze
2
+ VERSION = "0.9.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_schema_scrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-24 00:00:00.000000000 Z
11
+ date: 2019-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -45,89 +45,89 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: bundler
48
+ name: appraisal
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '1.9'
53
+ version: '2.0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '1.9'
60
+ version: '2.0'
61
61
  - !ruby/object:Gem::Dependency
62
- name: rake
62
+ name: bundler
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ">="
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '10.0'
67
+ version: '1.9'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ">="
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '10.0'
74
+ version: '1.9'
75
75
  - !ruby/object:Gem::Dependency
76
- name: rspec
76
+ name: codeclimate-test-reporter
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '3.4'
81
+ version: '0.5'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '3.4'
88
+ version: '0.5'
89
89
  - !ruby/object:Gem::Dependency
90
- name: appraisal
90
+ name: pry-byebug
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '2.0'
95
+ version: 3.7.0
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '2.0'
102
+ version: 3.7.0
103
103
  - !ruby/object:Gem::Dependency
104
- name: codeclimate-test-reporter
104
+ name: rake
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - "~>"
107
+ - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '0.5'
109
+ version: '10.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - "~>"
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '0.5'
116
+ version: '10.0'
117
117
  - !ruby/object:Gem::Dependency
118
- name: sqlite3
118
+ name: rspec
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: 1.3.13
123
+ version: '3.4'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: 1.3.13
130
+ version: '3.4'
131
131
  description: A supporting library for active_mocker and wrapper around an active_record
132
132
  model.
133
133
  email:
@@ -181,8 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubyforge_project:
185
- rubygems_version: 2.7.7
184
+ rubygems_version: 3.0.3
186
185
  signing_key:
187
186
  specification_version: 4
188
187
  summary: A wrapper around an active_record model.