grape-msgpack 0.1.2 → 0.2.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
  SHA1:
3
- metadata.gz: 690a9f025912b9196909ce4706bc99a7d4f0c01b
4
- data.tar.gz: 525bb299f15b84c695140f066e0e06d6f9458199
3
+ metadata.gz: 48b541aaca7d3f5c40e08e329a2a572e7f81e56a
4
+ data.tar.gz: e5eaab6db8303cd40333a96398c56bf8c1c687d1
5
5
  SHA512:
6
- metadata.gz: 688152be70811708ddec548d66b9f406825f8368b6d270cb6ef41d53086edf6a830e642ba0ef5fd5dda779807b9e335c756d9b4d8db6f79a446369d5369ab4d7
7
- data.tar.gz: 4d7cc29f80e6adb07805a369a1ef2795bf6712fb0072c117017371f0e489e74a34559ba9ac6bdb8b031123b0a406308afa84badd8a9d0cc328a5b41e09d6e6c4
6
+ metadata.gz: 0575ec0130208fd8550448c1190a69010d50dc223a84bfc8641a6327423c34d8a20369e3339580cb1f9f22e91e3f5be833640a1e0bfffd550f1eacde3b8559f7
7
+ data.tar.gz: 5392118846105a0950420145ea4e12b93234955ed8ebd35da6fb63c098af8cd5ac6f1147c31b44ee7b98d7b5c2481ede306baf5feb03a383aa3468eb637ae1dd
@@ -1,4 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
3
+ - 2.3.0
data/Gemfile CHANGED
@@ -4,3 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'coveralls', require: false
7
+ # gem 'grape', github: 'ruby-grape/grape'
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Grape::Msgpack
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/grape-msgpack.png)](http://badge.fury.io/rb/grape-msgpack) [![Build Status](https://travis-ci.org/rosylilly/grape-msgpack.png?branch=master)](https://travis-ci.org/rosylilly/grape-msgpack) [![Coverage Status](https://coveralls.io/repos/rosylilly/grape-msgpack/badge.png?branch=master)](https://coveralls.io/r/rosylilly/grape-msgpack?branch=master) [![Code Climate](https://codeclimate.com/github/rosylilly/grape-msgpack.png)](https://codeclimate.com/github/rosylilly/grape-msgpack)
3
+ [![Gem Version](https://badge.fury.io/rb/grape-msgpack.svg)](http://badge.fury.io/rb/grape-msgpack) [![Build Status](https://travis-ci.org/rosylilly/grape-msgpack.svg?branch=master)](https://travis-ci.org/rosylilly/grape-msgpack) [![Coverage Status](https://coveralls.io/repos/rosylilly/grape-msgpack/badge.svg?branch=master)](https://coveralls.io/r/rosylilly/grape-msgpack?branch=master) [![Code Climate](https://codeclimate.com/github/rosylilly/grape-msgpack.svg)](https://codeclimate.com/github/rosylilly/grape-msgpack)
4
4
 
5
5
  Message pack formatter for grape.
6
6
 
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Grape::Msgpack::VERSION
9
9
  spec.authors = ["Sho Kusano"]
10
10
  spec.email = ["rosylilly@aduca.org"]
11
- spec.summary = %q{msgpack formatter for grape}
12
- spec.description = %q{msgpack formatter for grape}
11
+ spec.summary = %q{Messagepack formatter for grape}
12
+ spec.description = %q{Messagepack formatter for grape}
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency 'bundler'
22
22
  spec.add_development_dependency 'rake'
23
- spec.add_development_dependency 'rspec', '~> 2.14.1'
23
+ spec.add_development_dependency 'rspec', '~> 3.4'
24
24
  spec.add_development_dependency 'rack-test', '~> 0.6.2'
25
- spec.add_development_dependency 'grape-entity', '~> 0.3.0'
25
+ spec.add_development_dependency 'grape-entity', '~> 0.5.0'
26
26
 
27
- spec.add_dependency 'grape', '>= 0.6.0'
28
- spec.add_dependency 'msgpack', '~> 0.5.6'
27
+ spec.add_dependency 'grape', '>= 0.16.1'
28
+ spec.add_dependency 'msgpack', '>= 0.7.4'
29
29
  end
@@ -36,17 +36,9 @@ module Grape
36
36
  end
37
37
  end
38
38
 
39
- class << Grape::Formatter::Base
40
- FORMATTERS[:msgpack] = Grape::Msgpack::Formatter
41
- end
42
-
43
- class << Grape::ErrorFormatter::Base
44
- FORMATTERS[:msgpack] = Grape::Msgpack::ErrorFormatter
45
- end
46
-
47
- class << Grape::Parser::Base
48
- PARSERS[:msgpack] = Grape::Msgpack::Parser
49
- end
39
+ Grape::Formatter.register(:msgpack, Grape::Msgpack::Formatter)
40
+ Grape::ErrorFormatter.register(:msgpack, Grape::Msgpack::ErrorFormatter)
41
+ Grape::Parser.register(:msgpack, Grape::Msgpack::Parser)
50
42
 
51
43
  Grape::ContentTypes::CONTENT_TYPES[:msgpack] = 'application/x-msgpack'
52
44
 
@@ -1,5 +1,5 @@
1
1
  module Grape
2
2
  module Msgpack
3
- VERSION = '0.1.2'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
@@ -2,7 +2,6 @@ require 'coveralls'
2
2
  Coveralls.wear!
3
3
 
4
4
  RSpec.configure do |config|
5
- config.treat_symbols_as_metadata_keys_with_true_values = true
6
5
  config.run_all_when_everything_filtered = true
7
6
  config.filter_run :focus
8
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-msgpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-10 00:00:00.000000000 Z
11
+ date: 2016-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.14.1
47
+ version: '3.4'
48
48
  type: :development
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: 2.14.1
54
+ version: '3.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rack-test
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,43 +72,43 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.3.0
75
+ version: 0.5.0
76
76
  type: :development
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.3.0
82
+ version: 0.5.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: grape
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.6.0
89
+ version: 0.16.1
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.6.0
96
+ version: 0.16.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: msgpack
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 0.5.6
103
+ version: 0.7.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.5.6
111
- description: msgpack formatter for grape
110
+ version: 0.7.4
111
+ description: Messagepack formatter for grape
112
112
  email:
113
113
  - rosylilly@aduca.org
114
114
  executables: []
@@ -149,10 +149,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.2.2
152
+ rubygems_version: 2.5.1
153
153
  signing_key:
154
154
  specification_version: 4
155
- summary: msgpack formatter for grape
155
+ summary: Messagepack formatter for grape
156
156
  test_files:
157
157
  - spec/grape/msgpack_spec.rb
158
158
  - spec/spec_helper.rb