mkmapi 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb509794597cb8728ac0d9b6e3b02ca6e03d8a73
4
- data.tar.gz: 5d0795b70d3882b11c5eca1efbada41cb8727ba5
3
+ metadata.gz: 311c288bbbba90433de0afa24f9cb2c1dbb835e9
4
+ data.tar.gz: b005d24ecaf70a1bc9bb6ed8bd30c39c8f711fbd
5
5
  SHA512:
6
- metadata.gz: 7ca71c199f0ffefd352bb8d12c54ffb69dabe02b09aa55c0fc4bc64f4461d700d0e80248aa41ffb17e93f05f9565db898d1d6d8def56ecf9b0a496379886bb83
7
- data.tar.gz: b400116ef03ae6fb331e92d1a0385a447d9e196316266ee3dc6ec44365fe2899702e74001f22c0d87c9450a2ba8fe640883b1e7c29032072a98286b6057815ff
6
+ metadata.gz: c1dd077af4786a2b0ddb8bb6d7598643ee628cd66dcc7d37750a3d15d13e65ec4b6cd850e74792c81a7531eb23f4042235aa18fd8fc083e03af8681d8788276d
7
+ data.tar.gz: d12a097ce7c45f44a033e12d4ca6504b51118993d052e31cc48bc1a3f4b211c8e6aa947522b06a058d374a425012e1bd135862c7a28b1f7326fa698db2672fdd
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source "http://rubygems.org"
3
3
  gem "faraday", "~> 0.11.0"
4
4
  gem "oj", "~> 2.18.3"
5
5
  gem "simple_oauth", "~> 0.3.1"
6
- gem "nokogiri", "~> 1.7.0.1"
6
+ gem "nokogiri", "~> 1.8.2"
7
7
 
8
8
  group :development do
9
9
  gem "rspec"
@@ -12,7 +12,7 @@ module Mkmapi
12
12
  data = Base64.decode64(json_data["priceguidefile"])
13
13
  gzip = Zlib::GzipReader.new(StringIO.new(data))
14
14
 
15
- keys = ['id', 'average', 'low', 'trend', 'suggested', 'foil', 'foil_low', 'foil_trend' ]
15
+ keys = ['id', 'average', 'low', 'trend', 'german_low', 'suggested', 'foil', 'foil_low', 'foil_trend', 'low_ex' ]
16
16
  skip_first = gzip.readline # Skip the header
17
17
 
18
18
  CSV.parse(gzip.read).map do |a|
@@ -31,7 +31,7 @@ module Mkmapi
31
31
  data = Base64.decode64(json_data["productsfile"])
32
32
  gzip = Zlib::GzipReader.new(StringIO.new(data))
33
33
 
34
- keys = ['id', 'name', 'category_id', 'category', 'expansion_id', 'metacard_id', 'date_added' ]
34
+ keys = ['id', 'name', 'category_id', 'category', 'expansion_id', 'date_added' ]
35
35
  skip_first = gzip.readline # Skip the header
36
36
 
37
37
  CSV.parse(gzip.read).map do |a|
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mkmapi
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
data/mkmapi.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
6
6
  gem.email = ["arjen.brandenburgh@gmail.com"]
7
7
  gem.summary = "Simple MagicCardMarket API v2.0 (MkmapiAPI) library for Ruby"
8
8
  gem.description = "Simple MagicCardMarket API v2.0 (MkmapiAPI) library for Ruby"
9
- gem.homepage = "http://githib.com/cybey/mkmapi"
9
+ gem.homepage = "http://github.com/arjenbrandenburgh/mkmapi"
10
10
  gem.license = "MIT"
11
11
 
12
12
  gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkmapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arjen Brandenburgh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-18 00:00:00.000000000 Z
11
+ date: 2018-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -128,7 +128,7 @@ files:
128
128
  - lib/mkmapi/session.rb
129
129
  - lib/version.rb
130
130
  - mkmapi.gemspec
131
- homepage: http://githib.com/cybey/mkmapi
131
+ homepage: http://github.com/arjenbrandenburgh/mkmapi
132
132
  licenses:
133
133
  - MIT
134
134
  metadata: {}
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  requirements: []
150
150
  rubyforge_project:
151
- rubygems_version: 2.5.2
151
+ rubygems_version: 2.6.13
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: Simple MagicCardMarket API v2.0 (MkmapiAPI) library for Ruby