tiqets 0.3.0 → 0.3.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: 243efec33ef0f3bfac4ab3e62b1945f4428a42e6
4
- data.tar.gz: a553e2ed7e3c2ef1bc1803710723814a056e4e97
3
+ metadata.gz: '08f0c60b4f30fa98a49d442d2f006e75cd625ab9'
4
+ data.tar.gz: 31f944eef3bc707f8286552ca2809bd50f49693b
5
5
  SHA512:
6
- metadata.gz: 12a3ba5f9b3da267a7a01fa4f571ce2844197de4c97285e5b6d274c8e91d3fd17e1ea7a2564df99426175ded750ba210e24ed2254db8f06b37d924f2fe4cb4ea
7
- data.tar.gz: ffd2b0b615f6448a09c11abd4027ddbb4c1c1aa2d99f024f8248d49ebf7abdde2f03348118809c54b16617cb5718460e3b35b536425d8366bf6ab27e0a4b3de2
6
+ metadata.gz: 3b9106f9ee38dfe66ef391b709ff47008c03181bc97c404483bc1ed6e7a404c439c470641b403c2ae495c4904c754c1274c08c014085124fc89db052865c4120
7
+ data.tar.gz: e3164e2884f5b16491039383a2c8b6e9c306bcebe4a242edab4cf68a68ea21d71c1b1785440e82da16c461a93ccd6b288372a399aca063c6913552de5cfa1b63
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.1
4
+ - Expose Product raw response as `data`
5
+
3
6
  ## 0.3.0
4
7
  - Add changelog
5
8
  - Setup test coverage
@@ -7,12 +7,13 @@ module Tiqets
7
7
  end
8
8
 
9
9
  class Product
10
- attr_reader :id, :language, :languages, :title, :tagline, :price,
10
+ attr_reader :data, :id, :language, :languages, :title, :tagline, :price,
11
11
  :sale_status, :country_name, :country_id, :city_name,
12
12
  :city_id, :tag_ids, :images, :ratings, :geolocation,
13
13
  :distance, :venue, :product_url, :product_checkout_url
14
14
 
15
15
  def initialize(attributes)
16
+ @data = attributes
16
17
  @id = attributes['id']
17
18
  @language = attributes['language']
18
19
  @languages = attributes['languages']
@@ -1,3 +1,3 @@
1
1
  module Tiqets
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rake', '~> 10.0'
29
29
  spec.add_development_dependency 'webmock', '~> 3.0'
30
30
  spec.add_development_dependency 'simplecov', '~> 0.15'
31
- spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
31
+ spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiqets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Venneman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2017-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.0.0
117
+ version: '1.0'
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: 1.0.0
124
+ version: '1.0'
125
125
  description: Ruby Tiqets API wrapper.
126
126
  email:
127
127
  - richardvenneman@me.com