schema_dev 3.7.0 → 3.7.1

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
  SHA1:
3
- metadata.gz: bae5f9e025a3922cdb3037af56cd0d5ef4035eae
4
- data.tar.gz: 9947968fdc1e212bbc0252115e1036fe8e1e3958
3
+ metadata.gz: 2a3d2008de99b338c0a8884d21eae56ca910e304
4
+ data.tar.gz: f4646e96d2670974115987a2a130dc029734019c
5
5
  SHA512:
6
- metadata.gz: d79a7b0e161fd07f04f570a539a9d60c4258cdac647eb8888eef6e7253381e1d20038a93c3d301e20f8d4fc95c99b51c6390b5552f67254f5b354f497d422b14
7
- data.tar.gz: 1c58062a6a88d42a0023b0f3b0639aa50159bbb165614a15d5998bae77fad221f25dda88b819289b0eb41ac04bb4bcb04f58424aa22bb045f81f1085a55d9408
6
+ metadata.gz: 6333213bc6b1a1d5cce15001017293630da45e4b38740455f9a85a81443640fd903e3a091f37a818913d1f5b6aec4e3c43ead60e9d0a21bd80bb0c584ae5213a
7
+ data.tar.gz: 212139b7540cb093ec4cdf54da9adf45ca97908808844cf2f15783932a2476f7185a27eebc62414715f9fb42475bcdc6e243c792ba5447fd2a23cad2bb6230c7
data/.travis.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  sudo: false
2
- rvm: 2.1.5
2
+ rvm: 2.3.1
3
3
  script: bundle exec rake travis
data/README.md CHANGED
@@ -136,7 +136,8 @@ Which defines the rake task `create_databases` and also a task for travis-ci
136
136
 
137
137
  Release notes for schema_dev versions:
138
138
 
139
- * **3.7.0** - Add suport for AR 5.0.0
139
+ * **3.7.1** - Properly constrain AR 5.0 gemfiles to AR ~> 5.0.0
140
+ * **3.7.0** - Add support for AR 5.0.0 (beta)
140
141
  * **3.6.2** - Fix README template error introduced in 3.6.0
141
142
  * **3.6.1** - Further fix mysql2 dependencies.
142
143
  * **3.6.0** - Add support for AR 4.2.6; fix mysql2 dependencies; internal improvements and bug fixes. Thanks to [@dmeranda](https://github.com/SchemaPlus/schema_dev/issues?q=is%3Apr+is%3Aopen+author%3Admeranda) and [@dholdren](https://github.com/SchemaPlus/schema_dev/issues?q=is%3Apr+is%3Aopen+author%3Adholdren)
@@ -1,3 +1,3 @@
1
1
  module SchemaDev
2
- VERSION = "3.7.0"
2
+ VERSION = "3.7.1"
3
3
  end
data/schema_dev.gemspec CHANGED
@@ -3,35 +3,35 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'schema_dev/version'
5
5
 
6
- Gem::Specification.new do |spec|
7
- spec.name = "schema_dev"
8
- spec.version = SchemaDev::VERSION
9
- spec.authors = ["ronen barzel"]
10
- spec.email = ["ronen@barzel.org"]
11
- spec.summary = %q{SchemaPlus development tools}
12
- spec.description = %q{SchemaPlus development tools}
13
- spec.homepage = "https://github.com/SchemaPlus/schema_dev"
14
- spec.license = "MIT"
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "schema_dev"
8
+ gem.version = SchemaDev::VERSION
9
+ gem.authors = ["ronen barzel"]
10
+ gem.email = ["ronen@barzel.org"]
11
+ gem.summary = %q{SchemaPlus development tools}
12
+ gem.description = %q{SchemaPlus development tools}
13
+ gem.homepage = "https://github.com/SchemaPlus/schema_dev"
14
+ gem.license = "MIT"
15
15
 
16
- spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
16
+ gem.files = `git ls-files -z`.split("\x0")
17
+ gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
+ gem.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "activesupport"
22
- spec.add_dependency "coveralls"
23
- spec.add_dependency "faraday"
24
- spec.add_dependency "fastandand"
25
- spec.add_dependency "hash_keyword_args"
26
- spec.add_dependency "its-it"
27
- spec.add_dependency "key_struct"
28
- spec.add_dependency "thor"
29
- spec.add_dependency "which_works"
21
+ gem.add_dependency "activesupport", "~> 5.0"
22
+ gem.add_dependency "coveralls", "~> 0.8"
23
+ gem.add_dependency "faraday", "~> 0.9"
24
+ gem.add_dependency "fastandand", "~> 1.0"
25
+ gem.add_dependency "hash_keyword_args", "~> 0.1"
26
+ gem.add_dependency "its-it", "~> 1.3"
27
+ gem.add_dependency "key_struct", "~> 0.4"
28
+ gem.add_dependency "thor", "~> 0.19"
29
+ gem.add_dependency "which_works", "~> 1.0"
30
30
 
31
- spec.add_development_dependency "bundler", "~> 1.7"
32
- spec.add_development_dependency "rake", "~> 10.0"
33
- spec.add_development_dependency "rspec", "~> 3.0"
34
- spec.add_development_dependency "rspec-given"
35
- spec.add_development_dependency "simplecov"
36
- spec.add_development_dependency "webmock"
31
+ gem.add_development_dependency "bundler", "~> 1.7"
32
+ gem.add_development_dependency "rake", "~> 10.0"
33
+ gem.add_development_dependency "rspec", "~> 3.0"
34
+ gem.add_development_dependency "rspec-given", "~> 3.8"
35
+ gem.add_development_dependency "simplecov", "~> 0.12"
36
+ gem.add_development_dependency "webmock", "~> 2.1"
37
37
  end
data/spec/gem_spec.rb CHANGED
@@ -3,11 +3,9 @@ require 'schema_dev/gem'
3
3
  describe SchemaDev::Gem do
4
4
 
5
5
  around(:each) do |example|
6
- silence_stream(STDOUT) do
7
- silence_stream(STDERR) do
8
- in_tmpdir do
9
- example.run
10
- end
6
+ in_tmpdir do
7
+ suppress_stdout_stderr do
8
+ example.run
11
9
  end
12
10
  end
13
11
  end
data/spec/spec_helper.rb CHANGED
@@ -15,6 +15,22 @@ def in_tmpdir
15
15
  end
16
16
  end
17
17
 
18
+ def suppress_stdout_stderr
19
+ save_stdout = STDOUT.dup
20
+ save_stderr = STDERR.dup
21
+ begin
22
+ Tempfile.open do |f|
23
+ STDOUT.reopen f
24
+ STDERR.reopen f
25
+ yield
26
+ end
27
+ ensure
28
+ STDERR.reopen save_stderr
29
+ STDOUT.reopen save_stdout
30
+ end
31
+ end
32
+
33
+
18
34
  def get_config(data)
19
35
  SchemaDev::Config._reset
20
36
  in_tmpdir do
@@ -1,3 +1,3 @@
1
1
  eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
2
 
3
- gem "activerecord", ">= 5.0.0.beta1", "< 5.1"
3
+ gem "activerecord", "~> 5.0.0"
metadata CHANGED
@@ -1,141 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-19 00:00:00.000000000 Z
11
+ date: 2016-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coveralls
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '0.9'
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
- version: '0'
54
+ version: '0.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: fastandand
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: hash_keyword_args
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '0.1'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '0.1'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: its-it
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.3'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: key_struct
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '0.4'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '0.4'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: thor
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: '0.19'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: '0.19'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: which_works
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: '1.0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: '1.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bundler
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -182,44 +182,44 @@ dependencies:
182
182
  name: rspec-given
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ">="
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '0'
187
+ version: '3.8'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ">="
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '0'
194
+ version: '3.8'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ">="
199
+ - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0'
201
+ version: '0.12'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ">="
206
+ - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '0'
208
+ version: '0.12'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: webmock
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">="
213
+ - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '0'
215
+ version: '2.1'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - ">="
220
+ - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '0'
222
+ version: '2.1'
223
223
  description: SchemaPlus development tools
224
224
  email:
225
225
  - ronen@barzel.org
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  version: '0'
337
337
  requirements: []
338
338
  rubyforge_project:
339
- rubygems_version: 2.2.2
339
+ rubygems_version: 2.5.1
340
340
  signing_key:
341
341
  specification_version: 4
342
342
  summary: SchemaPlus development tools