gun_broker 1.4.7 → 1.4.8

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
- SHA1:
3
- metadata.gz: a1dcaa1cda66e9a9dda291ab6776242819df432f
4
- data.tar.gz: 8f6950fafb6948953c6039a6401365f60b9f364b
2
+ SHA256:
3
+ metadata.gz: bcd25c4ee5eddc7ab83a3c5ccea39ef329c1280f382c091ae6b4dc4f1a78ed53
4
+ data.tar.gz: 1513955e7058ac436ac02ab7dce2ff213ef830c608c6d4a8b0634c631b050e61
5
5
  SHA512:
6
- metadata.gz: 9753c8115f5ec0abd2642850d0a7875887455594156769615167596678b194ee3dd5a7772e26f8fdb332d63ff6b6f6eb58b5634bfe77478faa24d324a8d0ab0d
7
- data.tar.gz: 205bea07eec3ec3da1e5a97d77055e6362a7694e1938cb729fb81c6f691a95d8b166014a56ba6ef7ec20eb9905f7c8475f5b7d4b592d7b75afb2829b928ae59e
6
+ metadata.gz: 5edf3ec4aacdbae6521101696d41bfd70f22b64584e7985878c3de03c9c5db3777ee16460c379f112100a00b33884fae14fc833cf64685e5c4d4c3c7264ca5b0
7
+ data.tar.gz: 53fab557b8721d2db43450239d00240417fa7fd91470e1e732a43b2d0efd6fb43ab2747706adfb3f328bd953d935e24fc25bb2325d436139726218e54fe8eed6
data/gun_broker.gemspec CHANGED
@@ -6,10 +6,9 @@ require 'gun_broker/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "gun_broker"
8
8
  spec.version = GunBroker::VERSION
9
- spec.authors = ["Dale Campbell"]
10
- spec.email = ["oshuma@gmail.com"]
11
- spec.summary = %q{GunBroker.com API Ruby library.}
12
- spec.description = %q{}
9
+ spec.authors = ["Dale Campbell", "Jeffrey Dill"]
10
+ spec.email = ["oshuma@gmail.com", "jeffdill2@gmail.com"]
11
+ spec.summary = "GunBroker.com API Ruby library"
13
12
  spec.homepage = "https://github.com/ammoready/gun_broker"
14
13
  spec.license = "MIT"
15
14
 
@@ -18,11 +17,11 @@ Gem::Specification.new do |spec|
18
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
18
  spec.require_paths = ["lib"]
20
19
 
21
- spec.add_development_dependency "bundler", "~> 1.7"
22
- spec.add_development_dependency "pry", "~> 0.10.4"
23
- spec.add_development_dependency "rake", "~> 10.0"
24
- spec.add_development_dependency "rspec", "~> 3.1"
25
- spec.add_development_dependency "simplecov", "~> 0.9"
26
- spec.add_development_dependency "webmock", "~> 1.20"
27
- spec.add_development_dependency "yard", "~> 0.9.12"
20
+ spec.add_development_dependency "bundler", "~> 2.3"
21
+ spec.add_development_dependency "pry", "~> 0.10"
22
+ spec.add_development_dependency "rake", "~> 13.0"
23
+ spec.add_development_dependency "rspec", "~> 3.11"
24
+ spec.add_development_dependency "simplecov", "~> 0.21"
25
+ spec.add_development_dependency "webmock", "~> 3.14"
26
+ spec.add_development_dependency "yard", "~> 0.9"
28
27
  end
@@ -88,7 +88,7 @@ module GunBroker
88
88
 
89
89
  # @return [Float] Total sales amount for this Order.
90
90
  def order_total
91
- @attrs['orderTotal']
91
+ @attrs['orderTotal'] || @attrs['totalPrice']
92
92
  end
93
93
 
94
94
  # @return [String] Payment methods used for this Order.
@@ -1,3 +1,3 @@
1
1
  module GunBroker
2
- VERSION = "1.4.7"
2
+ VERSION = "1.4.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gun_broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell
8
- autorequire:
8
+ - Jeffrey Dill
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2018-11-21 00:00:00.000000000 Z
12
+ date: 2022-08-29 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
@@ -16,101 +17,102 @@ dependencies:
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: '1.7'
20
+ version: '2.3'
20
21
  type: :development
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
25
  - - "~>"
25
26
  - !ruby/object:Gem::Version
26
- version: '1.7'
27
+ version: '2.3'
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: pry
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - "~>"
32
33
  - !ruby/object:Gem::Version
33
- version: 0.10.4
34
+ version: '0.10'
34
35
  type: :development
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
39
  - - "~>"
39
40
  - !ruby/object:Gem::Version
40
- version: 0.10.4
41
+ version: '0.10'
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: rake
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - "~>"
46
47
  - !ruby/object:Gem::Version
47
- version: '10.0'
48
+ version: '13.0'
48
49
  type: :development
49
50
  prerelease: false
50
51
  version_requirements: !ruby/object:Gem::Requirement
51
52
  requirements:
52
53
  - - "~>"
53
54
  - !ruby/object:Gem::Version
54
- version: '10.0'
55
+ version: '13.0'
55
56
  - !ruby/object:Gem::Dependency
56
57
  name: rspec
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - "~>"
60
61
  - !ruby/object:Gem::Version
61
- version: '3.1'
62
+ version: '3.11'
62
63
  type: :development
63
64
  prerelease: false
64
65
  version_requirements: !ruby/object:Gem::Requirement
65
66
  requirements:
66
67
  - - "~>"
67
68
  - !ruby/object:Gem::Version
68
- version: '3.1'
69
+ version: '3.11'
69
70
  - !ruby/object:Gem::Dependency
70
71
  name: simplecov
71
72
  requirement: !ruby/object:Gem::Requirement
72
73
  requirements:
73
74
  - - "~>"
74
75
  - !ruby/object:Gem::Version
75
- version: '0.9'
76
+ version: '0.21'
76
77
  type: :development
77
78
  prerelease: false
78
79
  version_requirements: !ruby/object:Gem::Requirement
79
80
  requirements:
80
81
  - - "~>"
81
82
  - !ruby/object:Gem::Version
82
- version: '0.9'
83
+ version: '0.21'
83
84
  - !ruby/object:Gem::Dependency
84
85
  name: webmock
85
86
  requirement: !ruby/object:Gem::Requirement
86
87
  requirements:
87
88
  - - "~>"
88
89
  - !ruby/object:Gem::Version
89
- version: '1.20'
90
+ version: '3.14'
90
91
  type: :development
91
92
  prerelease: false
92
93
  version_requirements: !ruby/object:Gem::Requirement
93
94
  requirements:
94
95
  - - "~>"
95
96
  - !ruby/object:Gem::Version
96
- version: '1.20'
97
+ version: '3.14'
97
98
  - !ruby/object:Gem::Dependency
98
99
  name: yard
99
100
  requirement: !ruby/object:Gem::Requirement
100
101
  requirements:
101
102
  - - "~>"
102
103
  - !ruby/object:Gem::Version
103
- version: 0.9.12
104
+ version: '0.9'
104
105
  type: :development
105
106
  prerelease: false
106
107
  version_requirements: !ruby/object:Gem::Requirement
107
108
  requirements:
108
109
  - - "~>"
109
110
  - !ruby/object:Gem::Version
110
- version: 0.9.12
111
- description: ''
111
+ version: '0.9'
112
+ description:
112
113
  email:
113
114
  - oshuma@gmail.com
115
+ - jeffdill2@gmail.com
114
116
  executables:
115
117
  - console
116
118
  - setup
@@ -179,7 +181,7 @@ homepage: https://github.com/ammoready/gun_broker
179
181
  licenses:
180
182
  - MIT
181
183
  metadata: {}
182
- post_install_message:
184
+ post_install_message:
183
185
  rdoc_options: []
184
186
  require_paths:
185
187
  - lib
@@ -194,11 +196,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
196
  - !ruby/object:Gem::Version
195
197
  version: '0'
196
198
  requirements: []
197
- rubyforge_project:
198
- rubygems_version: 2.4.6
199
- signing_key:
199
+ rubygems_version: 3.0.9
200
+ signing_key:
200
201
  specification_version: 4
201
- summary: GunBroker.com API Ruby library.
202
+ summary: GunBroker.com API Ruby library
202
203
  test_files:
203
204
  - spec/fixtures/authenticate.json
204
205
  - spec/fixtures/categories.json