unit-hosting 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -9,6 +9,7 @@ gem 'highline', '> 1.6'
9
9
  gem 'progressbar', '>= 0.9.0'
10
10
  gem 'httpclient', '>= 2.1.6.1'
11
11
  gem 'command-line-utils' , '>= 0.0.1'
12
+ gem 'rdoc'
12
13
 
13
14
  # Add dependencies to develop your gem here.
14
15
  # Include everything needed to run rake, tests, features, etc.
data/Rakefile CHANGED
@@ -42,8 +42,8 @@ end
42
42
 
43
43
  task :default => :test
44
44
 
45
- require 'rake/rdoctask'
46
- Rake::RDocTask.new do |rdoc|
45
+ require 'rdoc/task'
46
+ RDoc::Task.new do |rdoc|
47
47
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
48
 
49
49
  rdoc.rdoc_dir = 'rdoc'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.2.0
@@ -3,7 +3,7 @@
3
3
  require "mechanize"
4
4
 
5
5
  module UnitHosting
6
- UHURL = "https://www.unit-hosting.com"
6
+ UHURL = "https://cloud.unit-hosting.com"
7
7
  class Agent < Mechanize
8
8
  def initialize
9
9
  super
@@ -4,10 +4,9 @@ require 'helper'
4
4
  class TestUnitHosting < Test::Unit::TestCase
5
5
  context "Agent" do
6
6
  should "access" do
7
- UnitHosting::Agent.new {|agent|
8
- agent.getr("/")
9
- assert(agent.page.body =~ /ユニットホスティング/,"to top page")
10
- }
7
+ agent = UnitHosting::Agent.new
8
+ agent.getr("/")
9
+ assert(agent.page.body =~ /ユニットホスティング/,"to top page")
11
10
  end
12
11
  end
13
12
  end
data/unit-hosting.gemspec CHANGED
@@ -4,15 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{unit-hosting}
8
- s.version = "0.1.4"
7
+ s.name = "unit-hosting"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yoshihiro TAKAHARA"]
12
- s.date = %q{2011-03-08}
13
- s.default_executable = %q{unit-hosting}
14
- s.description = %q{This is a command to manage virtual servers on UnitHosting(http://www.unit-hosting.com).}
15
- s.email = %q{y.takahara@gmail.com}
12
+ s.date = "2012-03-02"
13
+ s.description = "This is a command to manage virtual servers on UnitHosting(http://www.unit-hosting.com)."
14
+ s.email = "y.takahara@gmail.com"
16
15
  s.executables = ["unit-hosting"]
17
16
  s.extra_rdoc_files = [
18
17
  "LICENSE.txt",
@@ -21,7 +20,6 @@ Gem::Specification.new do |s|
21
20
  s.files = [
22
21
  ".document",
23
22
  "Gemfile",
24
- "Gemfile.lock",
25
23
  "LICENSE.txt",
26
24
  "README.rdoc",
27
25
  "Rakefile",
@@ -42,11 +40,11 @@ Gem::Specification.new do |s|
42
40
  "test/test_unit-hosting.rb",
43
41
  "unit-hosting.gemspec"
44
42
  ]
45
- s.homepage = %q{http://github.com/tumf/unit-hosting}
43
+ s.homepage = "http://github.com/tumf/unit-hosting"
46
44
  s.licenses = ["MIT"]
47
45
  s.require_paths = ["lib"]
48
- s.rubygems_version = %q{1.6.1}
49
- s.summary = %q{unit-hosting command line tool}
46
+ s.rubygems_version = "1.8.12"
47
+ s.summary = "unit-hosting command line tool"
50
48
  s.test_files = [
51
49
  "test/helper.rb",
52
50
  "test/test_unit-hosting.rb"
@@ -63,6 +61,7 @@ Gem::Specification.new do |s|
63
61
  s.add_runtime_dependency(%q<progressbar>, [">= 0.9.0"])
64
62
  s.add_runtime_dependency(%q<httpclient>, [">= 2.1.6.1"])
65
63
  s.add_runtime_dependency(%q<command-line-utils>, [">= 0.0.1"])
64
+ s.add_runtime_dependency(%q<rdoc>, [">= 0"])
66
65
  s.add_development_dependency(%q<shoulda>, [">= 0"])
67
66
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
68
67
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
@@ -75,6 +74,7 @@ Gem::Specification.new do |s|
75
74
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
76
75
  s.add_dependency(%q<httpclient>, [">= 2.1.6.1"])
77
76
  s.add_dependency(%q<command-line-utils>, [">= 0.0.1"])
77
+ s.add_dependency(%q<rdoc>, [">= 0"])
78
78
  s.add_dependency(%q<shoulda>, [">= 0"])
79
79
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
80
80
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
@@ -88,6 +88,7 @@ Gem::Specification.new do |s|
88
88
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
89
89
  s.add_dependency(%q<httpclient>, [">= 2.1.6.1"])
90
90
  s.add_dependency(%q<command-line-utils>, [">= 0.0.1"])
91
+ s.add_dependency(%q<rdoc>, [">= 0"])
91
92
  s.add_dependency(%q<shoulda>, [">= 0"])
92
93
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
93
94
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unit-hosting
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 4
10
- version: 0.1.4
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yoshihiro TAKAHARA
@@ -15,12 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-08 00:00:00 +09:00
19
- default_executable: unit-hosting
18
+ date: 2012-03-02 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
21
+ prerelease: false
22
22
  type: :runtime
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
26
  - - ">="
@@ -29,12 +29,12 @@ dependencies:
29
29
  segments:
30
30
  - 0
31
31
  version: "0"
32
- requirement: *id001
33
- prerelease: false
32
+ version_requirements: *id001
34
33
  name: mutter
35
34
  - !ruby/object:Gem::Dependency
35
+ prerelease: false
36
36
  type: :runtime
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
38
  none: false
39
39
  requirements:
40
40
  - - ">"
@@ -44,12 +44,12 @@ dependencies:
44
44
  - 0
45
45
  - 1
46
46
  version: "0.1"
47
- requirement: *id002
48
- prerelease: false
47
+ version_requirements: *id002
49
48
  name: keystorage
50
49
  - !ruby/object:Gem::Dependency
50
+ prerelease: false
51
51
  type: :runtime
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
55
  - - ">="
@@ -60,12 +60,12 @@ dependencies:
60
60
  - 0
61
61
  - 0
62
62
  version: 1.0.0
63
- requirement: *id003
64
- prerelease: false
63
+ version_requirements: *id003
65
64
  name: mechanize
66
65
  - !ruby/object:Gem::Dependency
66
+ prerelease: false
67
67
  type: :runtime
68
- version_requirements: &id004 !ruby/object:Gem::Requirement
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
69
  none: false
70
70
  requirements:
71
71
  - - ">"
@@ -75,12 +75,12 @@ dependencies:
75
75
  - 1
76
76
  - 6
77
77
  version: "1.6"
78
- requirement: *id004
79
- prerelease: false
78
+ version_requirements: *id004
80
79
  name: highline
81
80
  - !ruby/object:Gem::Dependency
81
+ prerelease: false
82
82
  type: :runtime
83
- version_requirements: &id005 !ruby/object:Gem::Requirement
83
+ requirement: &id005 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ">="
@@ -91,12 +91,12 @@ dependencies:
91
91
  - 9
92
92
  - 0
93
93
  version: 0.9.0
94
- requirement: *id005
95
- prerelease: false
94
+ version_requirements: *id005
96
95
  name: progressbar
97
96
  - !ruby/object:Gem::Dependency
97
+ prerelease: false
98
98
  type: :runtime
99
- version_requirements: &id006 !ruby/object:Gem::Requirement
99
+ requirement: &id006 !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
102
102
  - - ">="
@@ -108,12 +108,12 @@ dependencies:
108
108
  - 6
109
109
  - 1
110
110
  version: 2.1.6.1
111
- requirement: *id006
112
- prerelease: false
111
+ version_requirements: *id006
113
112
  name: httpclient
114
113
  - !ruby/object:Gem::Dependency
114
+ prerelease: false
115
115
  type: :runtime
116
- version_requirements: &id007 !ruby/object:Gem::Requirement
116
+ requirement: &id007 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ">="
@@ -124,12 +124,12 @@ dependencies:
124
124
  - 0
125
125
  - 1
126
126
  version: 0.0.1
127
- requirement: *id007
128
- prerelease: false
127
+ version_requirements: *id007
129
128
  name: command-line-utils
130
129
  - !ruby/object:Gem::Dependency
131
- type: :development
132
- version_requirements: &id008 !ruby/object:Gem::Requirement
130
+ prerelease: false
131
+ type: :runtime
132
+ requirement: &id008 !ruby/object:Gem::Requirement
133
133
  none: false
134
134
  requirements:
135
135
  - - ">="
@@ -138,12 +138,26 @@ dependencies:
138
138
  segments:
139
139
  - 0
140
140
  version: "0"
141
- requirement: *id008
141
+ version_requirements: *id008
142
+ name: rdoc
143
+ - !ruby/object:Gem::Dependency
142
144
  prerelease: false
145
+ type: :development
146
+ requirement: &id009 !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ hash: 3
152
+ segments:
153
+ - 0
154
+ version: "0"
155
+ version_requirements: *id009
143
156
  name: shoulda
144
157
  - !ruby/object:Gem::Dependency
158
+ prerelease: false
145
159
  type: :development
146
- version_requirements: &id009 !ruby/object:Gem::Requirement
160
+ requirement: &id010 !ruby/object:Gem::Requirement
147
161
  none: false
148
162
  requirements:
149
163
  - - ~>
@@ -154,12 +168,12 @@ dependencies:
154
168
  - 0
155
169
  - 0
156
170
  version: 1.0.0
157
- requirement: *id009
158
- prerelease: false
171
+ version_requirements: *id010
159
172
  name: bundler
160
173
  - !ruby/object:Gem::Dependency
174
+ prerelease: false
161
175
  type: :development
162
- version_requirements: &id010 !ruby/object:Gem::Requirement
176
+ requirement: &id011 !ruby/object:Gem::Requirement
163
177
  none: false
164
178
  requirements:
165
179
  - - ~>
@@ -170,12 +184,12 @@ dependencies:
170
184
  - 5
171
185
  - 2
172
186
  version: 1.5.2
173
- requirement: *id010
174
- prerelease: false
187
+ version_requirements: *id011
175
188
  name: jeweler
176
189
  - !ruby/object:Gem::Dependency
190
+ prerelease: false
177
191
  type: :development
178
- version_requirements: &id011 !ruby/object:Gem::Requirement
192
+ requirement: &id012 !ruby/object:Gem::Requirement
179
193
  none: false
180
194
  requirements:
181
195
  - - ">="
@@ -184,8 +198,7 @@ dependencies:
184
198
  segments:
185
199
  - 0
186
200
  version: "0"
187
- requirement: *id011
188
- prerelease: false
201
+ version_requirements: *id012
189
202
  name: rcov
190
203
  description: This is a command to manage virtual servers on UnitHosting(http://www.unit-hosting.com).
191
204
  email: y.takahara@gmail.com
@@ -199,7 +212,6 @@ extra_rdoc_files:
199
212
  files:
200
213
  - .document
201
214
  - Gemfile
202
- - Gemfile.lock
203
215
  - LICENSE.txt
204
216
  - README.rdoc
205
217
  - Rakefile
@@ -219,7 +231,6 @@ files:
219
231
  - test/helper.rb
220
232
  - test/test_unit-hosting.rb
221
233
  - unit-hosting.gemspec
222
- has_rdoc: true
223
234
  homepage: http://github.com/tumf/unit-hosting
224
235
  licenses:
225
236
  - MIT
@@ -249,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
260
  requirements: []
250
261
 
251
262
  rubyforge_project:
252
- rubygems_version: 1.6.1
263
+ rubygems_version: 1.8.12
253
264
  signing_key:
254
265
  specification_version: 3
255
266
  summary: unit-hosting command line tool
data/Gemfile.lock DELETED
@@ -1,36 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- command-line-utils (0.0.6)
5
- git (1.2.5)
6
- highline (1.6.1)
7
- httpclient (2.1.6.1)
8
- jeweler (1.5.2)
9
- bundler (~> 1.0.0)
10
- git (>= 1.2.5)
11
- rake
12
- keystorage (0.4.3)
13
- mechanize (1.0.0)
14
- nokogiri (>= 1.2.1)
15
- mutter (0.5.3)
16
- nokogiri (1.4.4)
17
- progressbar (0.9.0)
18
- rake (0.8.7)
19
- rcov (0.9.9)
20
- shoulda (2.11.3)
21
-
22
- PLATFORMS
23
- ruby
24
-
25
- DEPENDENCIES
26
- bundler (~> 1.0.0)
27
- command-line-utils (>= 0.0.1)
28
- highline (> 1.6)
29
- httpclient (>= 2.1.6.1)
30
- jeweler (~> 1.5.2)
31
- keystorage (> 0.1)
32
- mechanize (>= 1.0.0)
33
- mutter
34
- progressbar (>= 0.9.0)
35
- rcov
36
- shoulda