ar_protobuf_store 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +17 -19
- data/Appraisals +1 -1
- data/ChangeLog.md +6 -1
- data/LICENSE.txt +17 -16
- data/Rakefile +2 -2
- data/ar_protobuf_store.gemspec +2 -2
- data/gemfiles/{rails4.2_protobuf.gemfile → rails5.0.1_protobuf.gemfile} +1 -1
- data/gemfiles/{rails4.1_ruby_protobuf.gemfile → rails5.0.1_ruby_protobuf.gemfile} +1 -1
- data/lib/ar_protobuf_store/version.rb +1 -1
- data/spec/ar_protobuf_store_spec.rb +1 -1
- data/spec/spec_helper.rb +10 -3
- metadata +9 -14
- data/LICENSE +0 -21
- data/gemfiles/rails4.0_protobuf.gemfile +0 -8
- data/gemfiles/rails4.0_ruby_protobuf.gemfile +0 -8
- data/gemfiles/rails4.1_protobuf.gemfile +0 -8
- data/gemfiles/rails4.2_ruby_protobuf.gemfile +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b848c2f865f9be4c7fbb44e93d8b11382d6d248
|
4
|
+
data.tar.gz: d8748e034e946ac28fc72863c08d325c65fdc750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0345e48136f001ee4fc8fe3257ed2c576b1f838a36705cdcb474da506c85d47204f35153de712c296a863b2f49662cf83b91434b1119de57e767f8b28c33246
|
7
|
+
data.tar.gz: 577845ea05fea5be4735fc3ee61270429f07d9c9189875ca77de7501030b46f8e1348a4ddbfb9c7d5c7a44d9fc44fd1fac0fd98b9c6e61913aab51786770d6a3
|
data/.travis.yml
CHANGED
@@ -1,28 +1,26 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
-
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
- 2.
|
3
|
+
- 2.0
|
4
|
+
- 2.1
|
5
|
+
- 2.2
|
6
|
+
- 2.3
|
7
7
|
gemfile:
|
8
8
|
- gemfiles/rails3.2_protobuf.gemfile
|
9
9
|
- gemfiles/rails3.2_ruby_protobuf.gemfile
|
10
|
-
- gemfiles/rails4.0_protobuf.gemfile
|
11
|
-
- gemfiles/rails4.0_ruby_protobuf.gemfile
|
12
|
-
- gemfiles/rails4.
|
13
|
-
- gemfiles/rails4.
|
10
|
+
- gemfiles/rails4.0.0_protobuf.gemfile
|
11
|
+
- gemfiles/rails4.0.0_ruby_protobuf.gemfile
|
12
|
+
- gemfiles/rails4.1.0_protobuf.gemfile
|
13
|
+
- gemfiles/rails4.1.0_ruby_protobuf.gemfile
|
14
|
+
- gemfiles/rails4.2.0_protobuf.gemfile
|
15
|
+
- gemfiles/rails4.2.0_ruby_protobuf.gemfile
|
14
16
|
matrix:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
- rvm: 1.8.7
|
23
|
-
gemfile: gemfiles/rails4.1_protobuf.gemfile
|
24
|
-
- rvm: 1.8.7
|
25
|
-
gemfile: gemfiles/rails4.1_ruby_protobuf.gemfile
|
17
|
+
include:
|
18
|
+
- rvm: 2.3
|
19
|
+
gemfile: gemfiles/rails5.0.1_protobuf.gemfile
|
20
|
+
- rvm: 2.3
|
21
|
+
gemfile: gemfiles/rails5.0.1_ruby_protobuf.gemfile
|
22
|
+
after_success:
|
23
|
+
- bundle exec codeclimate-test-reporter
|
26
24
|
addons:
|
27
25
|
code_climate:
|
28
26
|
repo_token: 6bdbd657ebc3097c1ca86672a45b6408a457a5d80cea234937f4d4adfbf004bd
|
data/Appraisals
CHANGED
data/ChangeLog.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
### 1.0.
|
1
|
+
### 1.0.1 / 2016-05-15
|
2
|
+
|
3
|
+
* Declare support for Rails 5.
|
4
|
+
* Upgrade development gems, reducing the deprecation warning spam.
|
5
|
+
|
6
|
+
### 1.0.0 / 2016-05-15
|
2
7
|
|
3
8
|
* Don't allow coder's dump method to fail. Instead, return nil.
|
4
9
|
* Pass options through correctly, so coder can respect defaults.
|
data/LICENSE.txt
CHANGED
@@ -1,20 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
1
3
|
Copyright (c) 2014 Hsiu-Fan Wang
|
2
4
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
the following conditions:
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
10
11
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
13
14
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
OF
|
20
|
-
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ rescue LoadError => e
|
|
14
14
|
end
|
15
15
|
|
16
16
|
begin
|
17
|
-
gem 'rspec', '~>
|
17
|
+
gem 'rspec', '~> 3.5.0'
|
18
18
|
require 'rspec/core/rake_task'
|
19
19
|
|
20
20
|
RSpec::Core::RakeTask.new
|
@@ -31,7 +31,7 @@ begin
|
|
31
31
|
gem 'yard', '~> 0.8'
|
32
32
|
require 'yard'
|
33
33
|
|
34
|
-
YARD::Rake::YardocTask.new
|
34
|
+
YARD::Rake::YardocTask.new
|
35
35
|
rescue LoadError => e
|
36
36
|
task :yard do
|
37
37
|
abort "Please run `gem install yard` to install YARD."
|
data/ar_protobuf_store.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.add_runtime_dependency "activerecord", ">= 3.0", "<
|
20
|
+
gem.add_runtime_dependency "activerecord", ">= 3.0", "< 5.1"
|
21
21
|
|
22
22
|
# Install this by default to make development easier
|
23
23
|
gem.add_development_dependency "ruby-protocol-buffers", "~> 1.5"
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
|
|
26
26
|
gem.add_development_dependency "pry", "~> 0.9"
|
27
27
|
gem.add_development_dependency "sqlite3", "~> 1.3"
|
28
28
|
gem.add_development_dependency "appraisal", "~> 1.0.0"
|
29
|
-
gem.add_development_dependency "rspec", "~>
|
29
|
+
gem.add_development_dependency "rspec", "~> 3.5.0"
|
30
30
|
gem.add_development_dependency "rubygems-tasks", "~> 0.2"
|
31
31
|
gem.add_development_dependency "yard", "~> 0.8"
|
32
32
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -4,8 +4,8 @@ require "ar_protobuf_store"
|
|
4
4
|
require "active_record"
|
5
5
|
|
6
6
|
if RUBY_VERSION > "1.8.7"
|
7
|
-
require
|
8
|
-
|
7
|
+
require 'simplecov'
|
8
|
+
SimpleCov.start
|
9
9
|
end
|
10
10
|
|
11
11
|
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
|
@@ -18,7 +18,14 @@ def setup_db(&block)
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def teardown_db
|
21
|
-
ActiveRecord::Base.connection.tables
|
21
|
+
# ActiveRecord::Base.connection.tables is deprecated in Rails 5.
|
22
|
+
tables = if ActiveRecord::Base.connection.respond_to?(:data_sources)
|
23
|
+
ActiveRecord::Base.connection.data_sources
|
24
|
+
else
|
25
|
+
ActiveRecord::Base.connection.tables
|
26
|
+
end
|
27
|
+
|
28
|
+
tables.each do |table|
|
22
29
|
ActiveRecord::Base.connection.drop_table(table)
|
23
30
|
end
|
24
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar_protobuf_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hsiu-Fan Wang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '5.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '5.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: ruby-protocol-buffers
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: 3.5.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:
|
116
|
+
version: 3.5.0
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: rubygems-tasks
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,7 +156,6 @@ files:
|
|
156
156
|
- Appraisals
|
157
157
|
- ChangeLog.md
|
158
158
|
- Gemfile
|
159
|
-
- LICENSE
|
160
159
|
- LICENSE.txt
|
161
160
|
- README.md
|
162
161
|
- Rakefile
|
@@ -165,20 +164,16 @@ files:
|
|
165
164
|
- gemfiles/rails3.2_ruby_protobuf.gemfile
|
166
165
|
- gemfiles/rails4.0.0_protobuf.gemfile
|
167
166
|
- gemfiles/rails4.0.0_ruby_protobuf.gemfile
|
168
|
-
- gemfiles/rails4.0_protobuf.gemfile
|
169
|
-
- gemfiles/rails4.0_ruby_protobuf.gemfile
|
170
167
|
- gemfiles/rails4.1.0_protobuf.gemfile
|
171
168
|
- gemfiles/rails4.1.0_ruby_protobuf.gemfile
|
172
|
-
- gemfiles/rails4.1_protobuf.gemfile
|
173
|
-
- gemfiles/rails4.1_ruby_protobuf.gemfile
|
174
169
|
- gemfiles/rails4.2.0_protobuf.gemfile
|
175
170
|
- gemfiles/rails4.2.0_ruby_protobuf.gemfile
|
176
171
|
- gemfiles/rails4.2.5_protobuf.gemfile
|
177
172
|
- gemfiles/rails4.2.5_ruby_protobuf.gemfile
|
178
173
|
- gemfiles/rails4.2.6_protobuf.gemfile
|
179
174
|
- gemfiles/rails4.2.6_ruby_protobuf.gemfile
|
180
|
-
- gemfiles/
|
181
|
-
- gemfiles/
|
175
|
+
- gemfiles/rails5.0.1_protobuf.gemfile
|
176
|
+
- gemfiles/rails5.0.1_ruby_protobuf.gemfile
|
182
177
|
- lib/ar_protobuf_store.rb
|
183
178
|
- lib/ar_protobuf_store/codekitchen_protobuf_parser.rb
|
184
179
|
- lib/ar_protobuf_store/protobuf_parser.rb
|
@@ -209,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
204
|
version: '0'
|
210
205
|
requirements: []
|
211
206
|
rubyforge_project:
|
212
|
-
rubygems_version: 2.
|
207
|
+
rubygems_version: 2.5.1
|
213
208
|
signing_key:
|
214
209
|
specification_version: 4
|
215
210
|
summary: Serialize Ar attributes with Protocol Buffers
|
data/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2014 Hsiu-Fan Wang
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|