bwapi 7.1.1 → 8.0.0.pre.333
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.travis.yml +1 -1
- data/bwapi.gemspec +1 -1
- data/lib/bwapi/client.rb +6 -5
- data/lib/bwapi/client/logout.rb +0 -4
- data/lib/bwapi/version.rb +1 -1
- metadata +17 -18
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjIzYWY0ZjhkZmNiM2Y1ODQxMDEwZDZhNDFlMGYzNDgxMDUyNDUxYw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MDZjN2M0NWUyMzU3NzUzNTdiNDQ5N2NmMzY0NTQ3N2VjZWYyYzQzYQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NTA2M2NmMDlkMzYxZmY2MTMyNmVhMzdlNWU1MjM4OWQ4ZTg0YmI2ZmQxMDVm
|
10
|
+
MGUyMzYxYjE5ZWNkMjkzMzIwN2Q1ZjM2ZTIwMjAxMzlkMmE3N2Y4ZTg5NzY2
|
11
|
+
ZjM5OGJlNTcwNzgwN2VkZDFmZGE4ZmE4MDkwNjMzMzlkN2U0NGE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YTg2MGNiYWRhNjA0MWRjOThjZTA5YTVmYTQyYzAzNGUxMWViYjM5ZWY5NGU5
|
14
|
+
MjI5MGQ0ZTdhMGE5YTJjMTYwOGM0YmNhNTVmZjI5MDczYzE0MzJiYTgyMTRj
|
15
|
+
NGY0MzdmNDc4ZjdiYmFlZWIzMTEzNWVmNGNiNGRkMmJjMzliZTQ=
|
data/.travis.yml
CHANGED
@@ -10,7 +10,6 @@ rvm:
|
|
10
10
|
matrix:
|
11
11
|
allow_failures:
|
12
12
|
- rvm: ruby-head
|
13
|
-
- rvm: 2.1.0
|
14
13
|
|
15
14
|
before_script:
|
16
15
|
- chmod 600 spec/fixtures/.netrc
|
@@ -25,4 +24,5 @@ deploy:
|
|
25
24
|
secure: g7xKyeiMs2o1HLokzOWCiLKxmTaEmuQDB0he9kxFhjqMLbRQHu1pVL0uE2bD0K/zq8Ebb+OPchVmej/6s5Be97AOK5d1wGdBAhXISwlxPoXxLJ6zU5DF1vjF3YCZK197z81ATcGcocsD2eYXZ4NzJcI+FW3kzO6QQhfHfUUeHvM=
|
26
25
|
gem: bwapi
|
27
26
|
on:
|
27
|
+
branch: master
|
28
28
|
repo: jonathanchrisp/bwapi
|
data/bwapi.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = 'bwapi'
|
7
7
|
s.version = BWAPI::VERSION
|
8
8
|
s.version = BWAPI::VERSION + ".pre.#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS']
|
9
|
-
s.date = '2014-05-
|
9
|
+
s.date = '2014-05-07'
|
10
10
|
s.summary = 'Brandwatch API Wrapper'
|
11
11
|
s.description = 'A Ruby wrapper for the Brandwatch API'
|
12
12
|
s.author = 'Jonathan Chrisp'
|
data/lib/bwapi/client.rb
CHANGED
@@ -29,14 +29,15 @@ module BWAPI
|
|
29
29
|
attr_accessor(*Configuration::OPTION_KEYS)
|
30
30
|
|
31
31
|
def initialize(opts = {})
|
32
|
-
opts = BWAPI.options.merge
|
33
|
-
Configuration::OPTION_KEYS.each
|
34
|
-
send "#{k}=", opts[k]
|
35
|
-
end
|
36
|
-
|
32
|
+
opts = BWAPI.options.merge(opts)
|
33
|
+
Configuration::OPTION_KEYS.each { |k| send("#{k}=", opts[k]) }
|
37
34
|
netrc_credentials opts[:netrc]
|
38
35
|
end
|
39
36
|
|
37
|
+
def destroy
|
38
|
+
Configuration::OPTION_KEYS.each { |k| send("#{k}=", nil) }
|
39
|
+
end
|
40
|
+
|
40
41
|
include BWAPI::Authentication
|
41
42
|
include BWAPI::Connection
|
42
43
|
include BWAPI::Request
|
data/lib/bwapi/client/logout.rb
CHANGED
data/lib/bwapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bwapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0.pre.333
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Chrisp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -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:
|
264
|
+
version: 1.3.1
|
265
265
|
requirements: []
|
266
266
|
rubyforge_project:
|
267
267
|
rubygems_version: 2.2.2
|
@@ -274,4 +274,3 @@ test_files:
|
|
274
274
|
- spec/bwapi_spec.rb
|
275
275
|
- spec/fixtures/.netrc
|
276
276
|
- spec/helper.rb
|
277
|
-
has_rdoc:
|