do 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/README.md +38 -25
- data/Rakefile +7 -10
- data/bin/doit +1 -25
- data/do.gemspec +0 -2
- data/lib/do/cli.rb +14 -0
- data/lib/do/commands.rb +71 -90
- data/lib/do/common.rb +47 -16
- data/lib/do/parser.rb +38 -0
- data/lib/do/server.rb +26 -19
- data/lib/do/tasks.rb +66 -0
- data/lib/do/utils.rb +30 -7
- data/lib/do/version.rb +1 -1
- data/lib/do.rb +6 -20
- data/spec/cli_spec.rb +22 -0
- data/spec/commands_spec.rb +157 -0
- data/spec/parser_spec.rb +76 -0
- data/spec/server_spec.rb +2 -4
- data/spec/spec_helper.rb +10 -9
- data/spec/tasks_spec.rb +154 -0
- data/spec/utils_spec.rb +36 -0
- metadata +25 -51
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: do
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
4
|
+
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
7
|
+
- 1
|
8
8
|
- 0
|
9
|
-
|
10
|
-
version: 0.0.3
|
9
|
+
version: 0.1.0
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Davide D'Agostino
|
@@ -15,71 +14,37 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-08-
|
17
|
+
date: 2011-08-14 00:00:00 +02:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
21
|
+
name: net-ssh
|
22
22
|
prerelease: false
|
23
|
-
type: :runtime
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - ~>
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 63
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 9
|
33
|
-
- 2
|
34
|
-
version: 0.9.2
|
35
|
-
name: rake
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
prerelease: false
|
39
|
-
type: :runtime
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 3
|
46
27
|
segments:
|
47
28
|
- 2
|
48
29
|
- 1
|
49
30
|
- 4
|
50
31
|
version: 2.1.4
|
51
|
-
|
52
|
-
version_requirements: *
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
53
34
|
- !ruby/object:Gem::Dependency
|
35
|
+
name: net-sftp
|
54
36
|
prerelease: false
|
55
|
-
|
56
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
58
38
|
requirements:
|
59
39
|
- - ~>
|
60
40
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 5
|
62
41
|
segments:
|
63
42
|
- 2
|
64
43
|
- 0
|
65
44
|
- 5
|
66
45
|
version: 2.0.5
|
67
|
-
|
68
|
-
version_requirements: *
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
prerelease: false
|
71
|
-
type: :development
|
72
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 3
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
version: "0"
|
81
|
-
name: rspec
|
82
|
-
version_requirements: *id004
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
83
48
|
description: DO is a thin framework useful to manage remote servers through ssh.
|
84
49
|
email:
|
85
50
|
- d.dagostino@lipsiasoft.com
|
@@ -98,14 +63,22 @@ files:
|
|
98
63
|
- bin/doit
|
99
64
|
- do.gemspec
|
100
65
|
- lib/do.rb
|
66
|
+
- lib/do/cli.rb
|
101
67
|
- lib/do/commands.rb
|
102
68
|
- lib/do/common.rb
|
69
|
+
- lib/do/parser.rb
|
103
70
|
- lib/do/server.rb
|
71
|
+
- lib/do/tasks.rb
|
104
72
|
- lib/do/utils.rb
|
105
73
|
- lib/do/version.rb
|
74
|
+
- spec/cli_spec.rb
|
75
|
+
- spec/commands_spec.rb
|
106
76
|
- spec/fixtures/sample
|
77
|
+
- spec/parser_spec.rb
|
107
78
|
- spec/server_spec.rb
|
108
79
|
- spec/spec_helper.rb
|
80
|
+
- spec/tasks_spec.rb
|
81
|
+
- spec/utils_spec.rb
|
109
82
|
has_rdoc: true
|
110
83
|
homepage: https://github.com/daddye/do
|
111
84
|
licenses: []
|
@@ -119,31 +92,32 @@ rdoc_options: []
|
|
119
92
|
require_paths:
|
120
93
|
- lib
|
121
94
|
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
95
|
requirements:
|
124
96
|
- - ">="
|
125
97
|
- !ruby/object:Gem::Version
|
126
|
-
hash: 3
|
127
98
|
segments:
|
128
99
|
- 0
|
129
100
|
version: "0"
|
130
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
-
none: false
|
132
102
|
requirements:
|
133
103
|
- - ">="
|
134
104
|
- !ruby/object:Gem::Version
|
135
|
-
hash: 3
|
136
105
|
segments:
|
137
106
|
- 0
|
138
107
|
version: "0"
|
139
108
|
requirements: []
|
140
109
|
|
141
110
|
rubyforge_project:
|
142
|
-
rubygems_version: 1.6
|
111
|
+
rubygems_version: 1.3.6
|
143
112
|
signing_key:
|
144
113
|
specification_version: 3
|
145
114
|
summary: DO is a thin framework useful to manage remote servers through ssh.
|
146
115
|
test_files:
|
116
|
+
- spec/cli_spec.rb
|
117
|
+
- spec/commands_spec.rb
|
147
118
|
- spec/fixtures/sample
|
119
|
+
- spec/parser_spec.rb
|
148
120
|
- spec/server_spec.rb
|
149
121
|
- spec/spec_helper.rb
|
122
|
+
- spec/tasks_spec.rb
|
123
|
+
- spec/utils_spec.rb
|