bwapi 7.1.1.pre.329 → 7.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NGQ2MTVjOGU1NzY4YjQ5NDg0ODhlMDFlNWZhYTliY2VmMTlmOTYwOA==
5
- data.tar.gz: !binary |-
6
- ZDRmNTYzNmU2M2FkNTg5ODQ4YTRiNGUxZGVlOWJiN2M0ZTUxZDRmMA==
2
+ SHA1:
3
+ metadata.gz: bfc6d0c9564cdb820a3e97c10d46a9d01e9b6f9d
4
+ data.tar.gz: 18a5d742857fb9b3f5879a6654eccf596889ccc8
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- Y2Y2N2UyOTU3ODA0OTg2YTBjZDIzMWY5YjIyY2VlZmIyN2Y0ZjkyMzViZjgz
10
- N2JmYThmYTE0MmY1ODE2YmQ0YTAxYWIzMTE3MjFkYTQ0ZTc0MGVjYmEzMTQ2
11
- Yjg5ZjM5YjExNWMxN2YyYzM4OTNlNjI3NDJmMTBhZThmY2JlNzk=
12
- data.tar.gz: !binary |-
13
- ZGNkNjlhNGZjMGJkZDQ2ZWI1NTJkNGRmNDc1MmMwOTUyZjE4ZGJhOTE2Mzc3
14
- YTIxMDliMGI5MzAxZmI3YjBiNzUxYzdmOTcwOWI2MGJkYjNmZjBlMGJiNDVk
15
- MGJkMDdjZTc2MGU3YmRiYjFmOGYwNTJiODJkOGZhOTEwMjljNTg=
6
+ metadata.gz: e02a51c4b96bbd16ec7d708b028de459ecb3c94316084bf1242a0b76972fd6f50205c51693367de103039d8c75716a5f95d248787a1fbba317dd9fb82aef2471
7
+ data.tar.gz: 9f3a0a842b26c1c62d84ab957051c394d452cb9e4b0bb6ffe63e95b25351bdcbf6f747e0b3a95479b1b1e663c79b5dceb0b1f7436487d98ab27fb1b85187b4ed
data/.travis.yml CHANGED
@@ -10,6 +10,7 @@ rvm:
10
10
  matrix:
11
11
  allow_failures:
12
12
  - rvm: ruby-head
13
+ - rvm: 2.1.0
13
14
 
14
15
  before_script:
15
16
  - chmod 600 spec/fixtures/.netrc
@@ -24,6 +25,4 @@ deploy:
24
25
  secure: g7xKyeiMs2o1HLokzOWCiLKxmTaEmuQDB0he9kxFhjqMLbRQHu1pVL0uE2bD0K/zq8Ebb+OPchVmej/6s5Be97AOK5d1wGdBAhXISwlxPoXxLJ6zU5DF1vjF3YCZK197z81ATcGcocsD2eYXZ4NzJcI+FW3kzO6QQhfHfUUeHvM=
25
26
  gem: bwapi
26
27
  on:
27
- branch: master
28
- branch: staging
29
28
  repo: jonathanchrisp/bwapi
data/lib/bwapi/client.rb CHANGED
@@ -29,13 +29,12 @@ module BWAPI
29
29
  attr_accessor(*Configuration::OPTION_KEYS)
30
30
 
31
31
  def initialize(opts = {})
32
- opts = BWAPI.options.merge(opts)
33
- Configuration::OPTION_KEYS.each { |k| send("#{k}=", opts[k]) }
34
- netrc_credentials opts[:netrc]
35
- end
32
+ opts = BWAPI.options.merge opts
33
+ Configuration::OPTION_KEYS.each do |k|
34
+ send "#{k}=", opts[k]
35
+ end
36
36
 
37
- def destroy
38
- Configuration::OPTION_KEYS.each { |k| send("#{k}=", nil) }
37
+ netrc_credentials opts[:netrc]
39
38
  end
40
39
 
41
40
  include BWAPI::Authentication
@@ -12,6 +12,10 @@ module BWAPI
12
12
  ensure
13
13
  self.access_token = nil
14
14
  self.refresh_token = nil
15
+ self.username = nil
16
+ self.password = nil
17
+ self.client_id = nil
18
+ self.grant_type = nil
15
19
  self.expires_in = nil
16
20
  end
17
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.1.pre.329
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp
@@ -17,7 +17,7 @@ dependencies:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.14.1
20
- - - ! '>='
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.14.1
23
23
  type: :development
@@ -27,7 +27,7 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: 2.14.1
30
- - - ! '>='
30
+ - - '>='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.14.1
33
33
  - !ruby/object:Gem::Dependency
@@ -37,7 +37,7 @@ dependencies:
37
37
  - - ~>
38
38
  - !ruby/object:Gem::Version
39
39
  version: 0.21.0
40
- - - ! '>='
40
+ - - '>='
41
41
  - !ruby/object:Gem::Version
42
42
  version: 0.21.0
43
43
  type: :development
@@ -47,7 +47,7 @@ dependencies:
47
47
  - - ~>
48
48
  - !ruby/object:Gem::Version
49
49
  version: 0.21.0
50
- - - ! '>='
50
+ - - '>='
51
51
  - !ruby/object:Gem::Version
52
52
  version: 0.21.0
53
53
  - !ruby/object:Gem::Dependency
@@ -71,7 +71,7 @@ dependencies:
71
71
  - - ~>
72
72
  - !ruby/object:Gem::Version
73
73
  version: 0.9.0
74
- - - ! '>='
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.9.0
77
77
  type: :runtime
@@ -81,7 +81,7 @@ dependencies:
81
81
  - - ~>
82
82
  - !ruby/object:Gem::Version
83
83
  version: 0.9.0
84
- - - ! '>='
84
+ - - '>='
85
85
  - !ruby/object:Gem::Version
86
86
  version: 0.9.0
87
87
  - !ruby/object:Gem::Dependency
@@ -91,7 +91,7 @@ dependencies:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
93
  version: 0.9.0
94
- - - ! '>='
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.9.0
97
97
  type: :runtime
@@ -101,7 +101,7 @@ dependencies:
101
101
  - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: 0.9.0
104
- - - ! '>='
104
+ - - '>='
105
105
  - !ruby/object:Gem::Version
106
106
  version: 0.9.0
107
107
  - !ruby/object:Gem::Dependency
@@ -111,7 +111,7 @@ dependencies:
111
111
  - - ~>
112
112
  - !ruby/object:Gem::Version
113
113
  version: 2.1.1
114
- - - ! '>='
114
+ - - '>='
115
115
  - !ruby/object:Gem::Version
116
116
  version: 2.1.1
117
117
  type: :runtime
@@ -121,7 +121,7 @@ dependencies:
121
121
  - - ~>
122
122
  - !ruby/object:Gem::Version
123
123
  version: 2.1.1
124
- - - ! '>='
124
+ - - '>='
125
125
  - !ruby/object:Gem::Version
126
126
  version: 2.1.1
127
127
  - !ruby/object:Gem::Dependency
@@ -131,7 +131,7 @@ dependencies:
131
131
  - - ~>
132
132
  - !ruby/object:Gem::Version
133
133
  version: 0.7.7
134
- - - ! '>='
134
+ - - '>='
135
135
  - !ruby/object:Gem::Version
136
136
  version: 0.7.7
137
137
  type: :runtime
@@ -141,7 +141,7 @@ dependencies:
141
141
  - - ~>
142
142
  - !ruby/object:Gem::Version
143
143
  version: 0.7.7
144
- - - ! '>='
144
+ - - '>='
145
145
  - !ruby/object:Gem::Version
146
146
  version: 0.7.7
147
147
  description: A Ruby wrapper for the Brandwatch API
@@ -254,14 +254,14 @@ require_paths:
254
254
  - lib
255
255
  required_ruby_version: !ruby/object:Gem::Requirement
256
256
  requirements:
257
- - - ! '>='
257
+ - - '>='
258
258
  - !ruby/object:Gem::Version
259
259
  version: 1.9.2
260
260
  required_rubygems_version: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - ! '>'
262
+ - - '>='
263
263
  - !ruby/object:Gem::Version
264
- version: 1.3.1
264
+ version: '0'
265
265
  requirements: []
266
266
  rubyforge_project:
267
267
  rubygems_version: 2.2.2
@@ -274,3 +274,4 @@ test_files:
274
274
  - spec/bwapi_spec.rb
275
275
  - spec/fixtures/.netrc
276
276
  - spec/helper.rb
277
+ has_rdoc: