bwapi 7.1.1.pre.323 → 7.1.1.pre.329
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.travis.yml +2 -1
- data/lib/bwapi/client.rb +6 -5
- data/lib/bwapi/client/logout.rb +0 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NGQ2MTVjOGU1NzY4YjQ5NDg0ODhlMDFlNWZhYTliY2VmMTlmOTYwOA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZDRmNTYzNmU2M2FkNTg5ODQ4YTRiNGUxZGVlOWJiN2M0ZTUxZDRmMA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Y2Y2N2UyOTU3ODA0OTg2YTBjZDIzMWY5YjIyY2VlZmIyN2Y0ZjkyMzViZjgz
|
|
10
|
+
N2JmYThmYTE0MmY1ODE2YmQ0YTAxYWIzMTE3MjFkYTQ0ZTc0MGVjYmEzMTQ2
|
|
11
|
+
Yjg5ZjM5YjExNWMxN2YyYzM4OTNlNjI3NDJmMTBhZThmY2JlNzk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZGNkNjlhNGZjMGJkZDQ2ZWI1NTJkNGRmNDc1MmMwOTUyZjE4ZGJhOTE2Mzc3
|
|
14
|
+
YTIxMDliMGI5MzAxZmI3YjBiNzUxYzdmOTcwOWI2MGJkYjNmZjBlMGJiNDVk
|
|
15
|
+
MGJkMDdjZTc2MGU3YmRiYjFmOGYwNTJiODJkOGZhOTEwMjljNTg=
|
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,6 @@ deploy:
|
|
|
25
24
|
secure: g7xKyeiMs2o1HLokzOWCiLKxmTaEmuQDB0he9kxFhjqMLbRQHu1pVL0uE2bD0K/zq8Ebb+OPchVmej/6s5Be97AOK5d1wGdBAhXISwlxPoXxLJ6zU5DF1vjF3YCZK197z81ATcGcocsD2eYXZ4NzJcI+FW3kzO6QQhfHfUUeHvM=
|
|
26
25
|
gem: bwapi
|
|
27
26
|
on:
|
|
27
|
+
branch: master
|
|
28
|
+
branch: staging
|
|
28
29
|
repo: jonathanchrisp/bwapi
|
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