webistrano_cli 0.0.6 → 0.0.7
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 +4 -4
- data/Gemfile.lock +32 -22
- data/lib/webistrano_cli/her_middlewares.rb +5 -5
- data/lib/webistrano_cli/models.rb +1 -1
- data/lib/webistrano_cli/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 504d2181a96b47eb5339bbf7a206349a01434fda
|
|
4
|
+
data.tar.gz: 14d7dc2fa00e36de4e2dfa264cb8b26de4db972d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41f09ae73a0c2d19c1434d8b6cae3601855cefd096d4c9c0d2174cbe5f0a1d13c3fd29d1417b0d38ab22124f78a944b06f6748f33d9962cdbbbbfeb451733423
|
|
7
|
+
data.tar.gz: 68935cb7f0599ee9fc17ccc69a875896b92983aa15e9b2fb09ecbed6924902a85592c0e22e56b8854799b5b572945886d082f941fb6d420f7888d426d5685242
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
webistrano_cli (0.0.
|
|
4
|
+
webistrano_cli (0.0.7)
|
|
5
5
|
faraday_middleware (~> 0.9.0)
|
|
6
6
|
her (~> 0.6.2)
|
|
7
7
|
highline (~> 1.6.18)
|
|
@@ -12,26 +12,30 @@ PATH
|
|
|
12
12
|
GEM
|
|
13
13
|
remote: http://rubygems.org/
|
|
14
14
|
specs:
|
|
15
|
-
activemodel (
|
|
16
|
-
activesupport (=
|
|
17
|
-
builder (~> 3.
|
|
18
|
-
activesupport (
|
|
19
|
-
i18n (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
activemodel (4.0.0)
|
|
16
|
+
activesupport (= 4.0.0)
|
|
17
|
+
builder (~> 3.1.0)
|
|
18
|
+
activesupport (4.0.0)
|
|
19
|
+
i18n (~> 0.6, >= 0.6.4)
|
|
20
|
+
minitest (~> 4.2)
|
|
21
|
+
multi_json (~> 1.3)
|
|
22
|
+
thread_safe (~> 0.1)
|
|
23
|
+
tzinfo (~> 0.3.37)
|
|
24
|
+
atomic (1.1.14)
|
|
25
|
+
builder (3.1.4)
|
|
26
|
+
domain_name (0.5.13)
|
|
23
27
|
unf (>= 0.0.5, < 1.0.0)
|
|
24
|
-
faraday (0.8.
|
|
25
|
-
multipart-post (~> 1.
|
|
28
|
+
faraday (0.8.8)
|
|
29
|
+
multipart-post (~> 1.2.0)
|
|
26
30
|
faraday_middleware (0.9.0)
|
|
27
31
|
faraday (>= 0.7.4, < 0.9)
|
|
28
|
-
her (0.6.
|
|
32
|
+
her (0.6.8)
|
|
29
33
|
activemodel (>= 3.0.0)
|
|
30
34
|
activesupport (>= 3.0.0)
|
|
31
35
|
faraday (~> 0.8)
|
|
32
36
|
multi_json (~> 1.7)
|
|
33
|
-
highline (1.6.
|
|
34
|
-
i18n (0.6.
|
|
37
|
+
highline (1.6.19)
|
|
38
|
+
i18n (0.6.5)
|
|
35
39
|
mechanize (2.6.0)
|
|
36
40
|
domain_name (~> 0.5, >= 0.5.1)
|
|
37
41
|
mime-types (~> 1.17, >= 1.17.2)
|
|
@@ -40,17 +44,23 @@ GEM
|
|
|
40
44
|
nokogiri (~> 1.4)
|
|
41
45
|
ntlm-http (~> 0.1, >= 0.1.1)
|
|
42
46
|
webrobots (>= 0.0.9, < 0.2)
|
|
43
|
-
mime-types (1.
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
mime-types (1.25)
|
|
48
|
+
mini_portile (0.5.1)
|
|
49
|
+
minitest (4.7.5)
|
|
50
|
+
multi_json (1.8.0)
|
|
51
|
+
multi_xml (0.5.5)
|
|
46
52
|
multipart-post (1.2.0)
|
|
47
|
-
net-http-digest_auth (1.
|
|
48
|
-
net-http-persistent (2.
|
|
49
|
-
nokogiri (1.
|
|
53
|
+
net-http-digest_auth (1.4)
|
|
54
|
+
net-http-persistent (2.9)
|
|
55
|
+
nokogiri (1.6.0)
|
|
56
|
+
mini_portile (~> 0.5.0)
|
|
50
57
|
ntlm-http (0.1.1)
|
|
51
58
|
rake (0.9.2)
|
|
52
|
-
slop (3.4.
|
|
53
|
-
|
|
59
|
+
slop (3.4.6)
|
|
60
|
+
thread_safe (0.1.3)
|
|
61
|
+
atomic
|
|
62
|
+
tzinfo (0.3.37)
|
|
63
|
+
unf (0.1.2)
|
|
54
64
|
unf_ext
|
|
55
65
|
unf_ext (0.0.6)
|
|
56
66
|
webrobots (0.1.1)
|
|
@@ -3,11 +3,11 @@ require 'her'
|
|
|
3
3
|
require 'faraday_middleware'
|
|
4
4
|
require 'multi_xml'
|
|
5
5
|
|
|
6
|
-
# hack multi_xml parser
|
|
7
|
-
MultiXml.send(:remove_const, 'DISALLOWED_XML_TYPES')
|
|
8
|
-
MultiXml.const_set('DISALLOWED_XML_TYPES', [])
|
|
9
|
-
|
|
10
6
|
class HerXmlParser < Faraday::Response::ParseXml
|
|
7
|
+
define_parser do |body|
|
|
8
|
+
::MultiXml.parse(body, {disallowed_types: => []})
|
|
9
|
+
end
|
|
10
|
+
|
|
11
11
|
def process_response(env)
|
|
12
12
|
case env[:status]
|
|
13
13
|
when 200
|
|
@@ -55,4 +55,4 @@ module Her
|
|
|
55
55
|
self.find{|p| p.send(field) =~ Regexp.new(value)}
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
|
-
end
|
|
58
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webistrano_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- chytreg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -149,9 +149,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
149
149
|
version: '0'
|
|
150
150
|
requirements: []
|
|
151
151
|
rubyforge_project: webistrano_cli
|
|
152
|
-
rubygems_version: 2.0.
|
|
152
|
+
rubygems_version: 2.0.2
|
|
153
153
|
signing_key:
|
|
154
154
|
specification_version: 4
|
|
155
155
|
summary: Allow to deploy projects from webistrano via console
|
|
156
156
|
test_files: []
|
|
157
|
-
has_rdoc:
|