pokemon_tcg_sdk 1.0.0 → 2.0.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: ce7aff26d9b530cc93934f9f793e37588cbd30b2
4
- data.tar.gz: f148c86c503d71998130880b5a952880de9f52dd
3
+ metadata.gz: adc613bd0b83820e60d7b199fcc047356efec42f
4
+ data.tar.gz: 173e9909570e63617a1c07d1e9d652ca2568a78d
5
5
  SHA512:
6
- metadata.gz: 44602531b1ac8e472d321f441ef4a442b5136a345bac62672d720c7c1cde42d836b31e980311424800288efa71dd8eb4b58b7e0fe3ea6c2a56469f2984d095d2
7
- data.tar.gz: f8e04b4b873b8ac3814e16a3306ddcd636d95abaff6846bc413cad0ef88a23f3584c2d7c9bbad41de4d4c0c5a1715b813d9283d77b7eb7cd769a0c7c2e67fb05
6
+ metadata.gz: 02249e67e98c02cad45a565edce0c9d65ec2a4644db8e3527f74da99a313348e8236f5dcb6e73681cfe1e436f07d67005fe02c60680228fac4167f975b570164
7
+ data.tar.gz: 27a91a02330fbde91274cbcfb3f837bd03d5971dd828f1100fad4e863b93484c02738ffb5cd4b2bee941ace543d981cde27ac5ae88bb97e59ab55fb3c8535af7
@@ -1,4 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.3.0
4
- before_install: gem install bundler -v 1.11.2
4
+ before_install: gem install bundler -v 1.12.5
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # Pokémon TCG SDK
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/pokemon_tcg_sdk.svg)](https://badge.fury.io/rb/pokemon_tcg_sdk)
3
4
  [![Build Status](https://travis-ci.org/PokemonTCG/pokemon-tcg-sdk-ruby.svg?branch=master)](https://travis-ci.org/PokemonTCG/pokemon-tcg-sdk-ruby)
5
+ [![Dependency Status](https://gemnasium.com/badges/github.com/PokemonTCG/pokemon-tcg-sdk-ruby.svg)](https://gemnasium.com/github.com/PokemonTCG/pokemon-tcg-sdk-ruby)
4
6
  [![Code Climate](https://codeclimate.com/github/PokemonTCG/pokemon-tcg-sdk-ruby/badges/gpa.svg)](https://codeclimate.com/github/PokemonTCG/pokemon-tcg-sdk-ruby)
5
- [![Test Coverage](https://codeclimate.com/github/PokemonTCG/pokemon-tcg-sdk-ruby/badges/coverage.svg)](https://codeclimate.com/github/PokemonTCG/pokemon-tcg-sdk-ruby/coverage)
7
+ [![Coverage Status](https://coveralls.io/repos/github/PokemonTCG/pokemon-tcg-sdk-ruby/badge.svg?branch=master)](https://coveralls.io/github/PokemonTCG/pokemon-tcg-sdk-ruby?branch=master)
6
8
 
7
9
  This is the Pokémon TCG SDK Ruby implementation. It is a wrapper around the Pokémon TCG API of [pokemontcg.io](http://pokemontcg.io/).
8
10
 
@@ -1,6 +1,6 @@
1
1
  require 'faraday'
2
2
  require 'faraday_middleware'
3
- require 'open-uri'
3
+ require 'erb'
4
4
 
5
5
  module Pokemon
6
6
  module RestClient
@@ -26,7 +26,7 @@ module Pokemon
26
26
  end
27
27
 
28
28
  def self.params_to_query(params)
29
- params.map {|p, v| "#{p}=#{URI.escape(v.to_s)}"}.join('&')
29
+ params.map {|p, v| "#{p}=#{ERB::Util.url_encode(v.to_s)}"}.join('&')
30
30
  end
31
31
  end
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Pokemon
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -17,18 +17,18 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_development_dependency "bundler", "~> 1.11"
21
- spec.add_development_dependency "rake", "~> 10.0"
22
- spec.add_development_dependency "minitest", "~> 5.0"
20
+ spec.add_development_dependency "bundler", "~> 1.12"
21
+ spec.add_development_dependency "rake", "~> 11.2"
22
+ spec.add_development_dependency "minitest", "~> 5.9"
23
23
  spec.add_development_dependency "vcr", "~> 3.0"
24
- spec.add_development_dependency "webmock", "~> 1.24"
25
- spec.add_development_dependency "simplecov", "~> 0.11"
24
+ spec.add_development_dependency "webmock", "~> 2.1"
25
+ spec.add_development_dependency "simplecov", "~> 0.12"
26
26
  spec.add_development_dependency "coveralls", "~> 0.8"
27
- spec.add_development_dependency "codeclimate-test-reporter", "~> 0.5"
28
-
27
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.6"
28
+
29
29
  spec.add_dependency "roar", "~> 1.0"
30
- spec.add_dependency "json", "~> 1.8"
31
- spec.add_dependency "multi_json", "~> 1.11"
30
+ spec.add_dependency "json", "~> 2.0"
31
+ spec.add_dependency "multi_json", "~> 1.12"
32
32
  spec.add_dependency "multi_xml", "~> 0.5"
33
33
  spec.add_dependency "faraday_middleware", "~> 0.10"
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pokemon_tcg_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Backes
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2016-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: '1.12'
20
20
  type: :development
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: '1.11'
26
+ version: '1.12'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '11.2'
34
34
  type: :development
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: '10.0'
40
+ version: '11.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.0'
47
+ version: '5.9'
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: '5.0'
54
+ version: '5.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: vcr
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.24'
75
+ version: '2.1'
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: '1.24'
82
+ version: '2.1'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.11'
89
+ version: '0.12'
90
90
  type: :development
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.11'
96
+ version: '0.12'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: coveralls
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0.5'
117
+ version: '0.6'
118
118
  type: :development
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.5'
124
+ version: '0.6'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: roar
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '1.8'
145
+ version: '2.0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '1.8'
152
+ version: '2.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: multi_json
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '1.11'
159
+ version: '1.12'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '1.11'
166
+ version: '1.12'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: multi_xml
169
169
  requirement: !ruby/object:Gem::Requirement