bbc_redux 0.4.12 → 0.4.13

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: 3a33a64c0edbfba997b08e484c91ad09c242a226
4
- data.tar.gz: f0fc18b56057c753231598756f36cec047892ead
3
+ metadata.gz: b6773a56dc197cbb82714f31334032b155212659
4
+ data.tar.gz: b158c1ae44442b88a5875ed97da8c77e6e6fe22f
5
5
  SHA512:
6
- metadata.gz: 287d60134e175381f81c4d25c28ca9d078f240ff60907cd6ecabe4bd4050229051aa51e413628b3a4ab00731d601367dbfb611f399ae5799865027c848cbcbed
7
- data.tar.gz: abbe9a05c31836398e7da770d2161a3a2130f060d27f20793aa2a4eedae49897e94665479d81ca2ea7d77c951e457c20848b6fe2e608fa0c4e5d65be54c2006b
6
+ metadata.gz: 364321185dff29c24eed4bda2784872edf670c8e42d7254b837bfeee5c26c211b6b32e4e9f83ad2be46fa9fe2eae1461354e67cf474219a964547d00ec439b4f
7
+ data.tar.gz: 30a07748d6b3c85c3c8049dd387f9e0e006386002c171e6bccf0259c28b4793972ef349225d7d47664db8765e422b25b0e9aa73561e283c8f65185ea237c6990
data/bbc_redux.gemspec CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  $: << File.join( File.dirname(__FILE__), 'lib' )
4
4
 
5
- require 'rake'
6
5
  require 'bbc/redux/version'
7
6
 
8
7
  Gem::Specification.new do |gem|
@@ -31,18 +30,18 @@ Gem::Specification.new do |gem|
31
30
 
32
31
  gem.executables << 'bbc-redux'
33
32
 
34
- gem.files = FileList[
33
+ gem.files = [
35
34
  'AUTHORS',
36
35
  'COPYING',
37
36
  'Gemfile',
38
37
  'README.md',
39
38
  'Rakefile',
40
39
  'bbc_redux.gemspec',
41
- 'bin/*',
42
- 'lib/**/*'
43
- ]
40
+ Dir.glob('bin/*').to_a,
41
+ Dir.glob('lib/**/*').to_a
42
+ ].flatten
44
43
 
45
- gem.test_files = FileList[ 'spec/**/*' ]
44
+ gem.test_files = Dir.glob('spec/**/*').to_a
46
45
 
47
46
  gem.require_paths = [ 'lib' ]
48
47
 
@@ -323,7 +323,7 @@ module BBC
323
323
  params = params.select { |_,v| v.class != Array }
324
324
 
325
325
  resp = http.post(url, {
326
- :body => params.merge(:token => token),
326
+ :body => params.merge(:token => token).delete_if {|k,v| v.nil?},
327
327
  :followlocation => true,
328
328
  })
329
329
 
@@ -3,7 +3,7 @@ module BBC
3
3
 
4
4
  # Library version
5
5
 
6
- VERSION = '0.4.12'
6
+ VERSION = '0.4.13'
7
7
 
8
8
  end
9
9
  end
@@ -56,7 +56,6 @@ describe BBC::Redux::Client do
56
56
  :body => {
57
57
  :username => 'foo',
58
58
  :password => 'bar',
59
- :token => nil,
60
59
  },
61
60
  :followlocation => true
62
61
  }).and_return(resp)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbc_redux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.12
4
+ version: 0.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - JamesHarrison
@@ -10,160 +10,160 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-07-13 00:00:00.000000000 Z
13
+ date: 2017-06-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '>='
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: '0'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rspec
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rspec-its
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: simplecov
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: 0.8.2
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: 0.8.2
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: yard
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: multi_json
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - '>='
89
+ - - ">="
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - '>='
96
+ - - ">="
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: nokogiri
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - '>='
103
+ - - ">="
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - '>='
110
+ - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: representable
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - '>='
117
+ - - ">="
118
118
  - !ruby/object:Gem::Version
119
119
  version: '2.4'
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - '>='
124
+ - - ">="
125
125
  - !ruby/object:Gem::Version
126
126
  version: '2.4'
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: terminal-table
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - '>='
131
+ - - ">="
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - '>='
138
+ - - ">="
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: typhoeus
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - '>='
145
+ - - ">="
146
146
  - !ruby/object:Gem::Version
147
147
  version: 0.6.8
148
148
  type: :runtime
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - '>='
152
+ - - ">="
153
153
  - !ruby/object:Gem::Version
154
154
  version: 0.6.8
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: virtus
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - '>='
159
+ - - ">="
160
160
  - !ruby/object:Gem::Version
161
161
  version: 0.5.0
162
162
  type: :runtime
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - '>='
166
+ - - ">="
167
167
  - !ruby/object:Gem::Version
168
168
  version: 0.5.0
169
169
  description: A gem to help navigate the BBC Redux API
@@ -222,17 +222,17 @@ require_paths:
222
222
  - lib
223
223
  required_ruby_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
- - - '>='
225
+ - - ">="
226
226
  - !ruby/object:Gem::Version
227
227
  version: '0'
228
228
  required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  requirements:
230
- - - '>='
230
+ - - ">="
231
231
  - !ruby/object:Gem::Version
232
232
  version: '0'
233
233
  requirements: []
234
234
  rubyforge_project:
235
- rubygems_version: 2.0.14
235
+ rubygems_version: 2.6.11
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: '["A Ruby client for BBC Redux", "A gem to help navigate the BBC Redux API"]'
@@ -253,4 +253,3 @@ test_files:
253
253
  - spec/fixtures/user.json
254
254
  - spec/integration/bbc_redux_spec.rb
255
255
  - spec/spec_helper.rb
256
- has_rdoc: