ruby-station 0.1.3 → 0.1.4.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/History.txt +21 -0
  2. data/Rakefile +8 -5
  3. data/bin/ruby-station +14 -11
  4. data/config.rb +10 -5
  5. data/controller/applications.rb +18 -25
  6. data/model/application.rb +35 -1
  7. data/model/init.rb +1 -1
  8. data/ruby-station.gemspec +39 -25
  9. data/runtime/VERSION +1 -1
  10. data/runtime/lib/ruby-station.rb +0 -2
  11. data/runtime/ruby-station-runtime-0.0.5.gem +0 -0
  12. data/runtime/ruby-station-runtime.gemspec +26 -0
  13. data/sample.config.yaml +3 -1
  14. data/tests/README +10 -7
  15. data/tests/Rakefile +11 -0
  16. data/tests/console.rb +11 -0
  17. data/tests/data/conf_dir/config.yaml +4 -2
  18. data/tests/data/hello/hello-ruby-station.gemspec +34 -0
  19. data/tests/data/hello/main.rb +15 -0
  20. data/tests/data/hello/pkg/hello-ruby-station-0.3.1.gem +0 -0
  21. data/tests/data/hello/pkg/hello-ruby-station-0.3.2.gem +0 -0
  22. data/tests/development/config.yaml +9 -0
  23. data/tests/features/install_file.feature +3 -3
  24. data/tests/features/list.feature +5 -6
  25. data/tests/features/reinstall.feature +10 -0
  26. data/tests/features/step_definitions/application_steps.rb +56 -9
  27. data/tests/features/step_definitions/{curelity_steps.rb → culerity_steps.rb} +8 -2
  28. data/tests/features/support/env.rb +1 -1
  29. data/tests/features/uninstall.feature +6 -7
  30. data/tests/features/upgrade.feature +8 -6
  31. data/tests/spec/application.rb +51 -0
  32. data/tests/spec/gem_manager.rb +22 -10
  33. data/tests/spec/servant.rb +33 -0
  34. data/tests/test_helper.rb +7 -11
  35. data/util/gem_manager.rb +63 -24
  36. data/view/applications/uninstall.xhtml +1 -1
  37. data/view/index.xhtml +1 -1
  38. metadata +54 -16
  39. data/ChangeLog +0 -3
  40. data/runtime/lib/ruby-station/helper/rails.rb +0 -64
  41. data/runtime/lib/ruby-station/helper.rb +0 -5
  42. data/runtime/ruby-station-runtime-0.0.4.gem +0 -0
@@ -1,26 +1,73 @@
1
- Given /^I have '(.*) (.*)'$/ do |name, version|
2
- GemManager.installed?(name, version)
1
+ def find_app(name, version)
2
+ Application.first(:name => name, :version => version)
3
+ end
4
+
5
+ def install_hello(name, version)
6
+ raise "wrong gem name" unless name == "hello-ruby-station"
7
+ Application.install(:file, hello_gem_path(version))
8
+ end
9
+
10
+ def data_dir_of(name, version)
11
+ File.expand_path("#{name}-#{version}", Conf.data_dir)
12
+ end
13
+
14
+ def test_txt_path(name, version)
15
+ File.expand_path("test.txt", data_dir_of(name, version))
16
+ end
17
+
18
+ Given /^I have '(.*) (.*)'( and its data)?$/ do |name, version, data|
19
+ unless find_app(name, version)
20
+ install_hello(name, version)
21
+ end
22
+ if data
23
+ File.open(test_txt_path(name, version), "w"){|f|
24
+ # Note: content of test data file should be unique
25
+ f.puts version
26
+ }
27
+ end
3
28
  end
4
29
 
5
30
  Given /^I do not have '(.*) (.*)'$/ do |name, version|
6
- if GemManager.installed?(name, version)
7
- GemManager.uninstall(name, version)
31
+ if app = find_app(name, version)
32
+ app.uninstall
8
33
  end
9
34
  end
10
35
 
11
36
  When /^I install '(.*) (.*)'$/ do |name, version|
12
- pending
37
+ install_hello(name, version)
13
38
  end
14
39
 
15
40
  Then /^I should (?:still )?have '(.*) (.*)'$/ do |name, version|
16
- GemManager.installed?(name, version).should be_true
41
+ app = find_app(name, version)
42
+ Ramaze::Log.error Application.all if app.nil?
43
+ app.should_not be_nil
17
44
  end
18
45
 
19
46
  Then /^I should not have '(.*) (.*)'$/ do |name, version|
20
- GemManager.installed?(name, version).should be_false
47
+ find_app(name, version).should be_nil
48
+ end
49
+
50
+ def files_of(dir)
51
+ Dir["#{dir}/**"].map{|path| path.sub(dir, "")}
52
+ end
53
+
54
+ Then /^data files of '(.*) (.*)' should exist$/ do |name, version|
55
+ Dir.entries(data_dir_of(name, version)).should_not be_empty
21
56
  end
22
57
 
23
- Then /^data files of 'hello 0\.2\.0' is same as data files of 'hello 0\.1\.0'$/ do
24
- pending
58
+ Then /^data files of '(.*) (.*)' should not exist$/ do |name, version|
59
+ File.exist?(data_dir_of(name, version)).should be_false
25
60
  end
26
61
 
62
+ Then /^data files of '(.*) (.*)' is same as '(.*) (.*)'/ do |n1, v1, n2, v2|
63
+ files1 = files_of(data_dir_of(n1, v1)).sort
64
+ files2 = files_of(data_dir_of(n2, v2)).sort
65
+ files1.should == files2
66
+
67
+ files1.each do |rel_path|
68
+ path1 = File.join(data_dir_of(n1, v1), rel_path)
69
+ path2 = File.join(data_dir_of(n2, v2), rel_path)
70
+
71
+ File.read(path1).should == File.read(path2)
72
+ end
73
+ end
@@ -1,6 +1,7 @@
1
+ require 'timeout' # for culerity's bug on 1.9
1
2
  require 'tempfile'
3
+ gem 'culerity', '>= 0.2.3'
2
4
  require 'culerity'
3
- require __DIR__('../../test_helper.rb')
4
5
 
5
6
  Before do
6
7
  # TODO: start ramaze app in 7001, in test environment
@@ -27,6 +28,11 @@ at_exit do
27
28
  #Process.kill(6, $rails_server.pid.to_i) if $rails_server
28
29
  end
29
30
 
31
+ When /I press the uninstall button of '(.*) (.*)'/ do |name, version|
32
+ $browser.cell(:id, "uninstall-#{name}-#{version}").link(:text, //).click
33
+ assert_successful_response
34
+ end
35
+
30
36
  When /I press '(.*)'/ do |value|
31
37
  $browser.button(:value, value).click
32
38
  assert_successful_response
@@ -86,7 +92,7 @@ Then /I should see '(.*)'/ do |text|
86
92
  begin
87
93
  div.html
88
94
  rescue
89
- #puts $browser.html
95
+ puts $browser.html
90
96
  raise("div with '#{text}' not found")
91
97
  end
92
98
  end
@@ -6,7 +6,7 @@ gem 'rack-test', '>= 0.5.0'
6
6
  gem 'webrat', '>= 0.5.3'
7
7
 
8
8
  require 'ramaze'
9
- Ramaze.options.started = true
9
+ #Ramaze.options.started = true
10
10
  require __DIR__("../../test_helper.rb")
11
11
  load TESTS_DIR/"../bin/ruby-station"
12
12
 
@@ -4,10 +4,9 @@ Feature: Uninstall
4
4
  I want to uninstall an unused application
5
5
 
6
6
  Scenario: Uninstall a gem
7
- Given I visit the index page
8
- When I press the uninstall link
9
- # Given I visit the calculator page
10
- # And I fill in '50' for 'first'
11
- # And I fill in '70' for 'second'
12
- # When I press 'Add'
13
- # Then I should see 'Answer: 120'
7
+ Given I have 'hello-ruby-station 0.3.1' and its data
8
+ And I visit the index page
9
+ When I press the uninstall button of 'hello-ruby-station 0.3.1'
10
+ And I wait while the spinner is shown
11
+ Then I should not have 'hello-ruby-station 0.3.1'
12
+ And data files of 'hello-ruby-station 0.3.1' should not exist
@@ -3,9 +3,11 @@ Feature: Upgrade
3
3
  As an application user
4
4
  I want to install the new version
5
5
 
6
- Scenario: Upgrade a gem
7
- Given I have 'hello 0.1.0'
8
- And I do not have 'hello 0.2.0'
9
- When I install 'hello 0.2.0'
10
- Then I should still have 'hello 0.1.0'
11
- And data files of 'hello 0.2.0' is same as data files of 'hello 0.1.0'
6
+ Scenario: Upgrading a gem
7
+ Given I have 'hello-ruby-station 0.3.0' and its data
8
+ And I have 'hello-ruby-station 0.3.1' and its data
9
+ And I do not have 'hello-ruby-station 0.3.2'
10
+ When I install 'hello-ruby-station 0.3.2'
11
+ Then I should still have 'hello-ruby-station 0.3.0'
12
+ And I should still have 'hello-ruby-station 0.3.1'
13
+ And data files of 'hello-ruby-station 0.3.2' is same as 'hello-ruby-station 0.3.1'
@@ -0,0 +1,51 @@
1
+ require 'ramaze'
2
+ require __DIR__("../test_helper.rb")
3
+ require TESTS_DIR/"../config.rb"
4
+ require TESTS_DIR/"../model/init.rb"
5
+ require TESTS_DIR/"../util/servant.rb"
6
+
7
+ def install_hello(version)
8
+ Application.install(:file, hello_gem_path(version))
9
+ hello_app(version)
10
+ end
11
+
12
+ def hello_app(version)
13
+ Application.first(:name => "hello-ruby-station",
14
+ :version => version)
15
+ end
16
+
17
+ describe Application do
18
+ it "should be created by GemManager" do
19
+ app = install_hello("0.3.2")
20
+
21
+ app.should_not be_nil
22
+ app.port.should be_kind_of(Integer)
23
+ app.pid.should be_nil
24
+
25
+ Application.all(:name => "hello-ruby-station",
26
+ :version => "0.3.2").size.should == 1
27
+ end
28
+
29
+ it "should be removed by GemManager" do
30
+ install_hello("0.3.2") unless hello_app("0.3.2")
31
+ hello_app("0.3.2").uninstall
32
+
33
+ hello_app("0.3.2").should be_nil
34
+ GemManager.installed?("hello-ruby-station", "0.3.2").should be_false
35
+ end
36
+
37
+ it "should start an app" do
38
+ app = hello_app("0.3.2") || install_hello("0.3.2")
39
+
40
+ app.start
41
+ app.pid.should_not be_nil
42
+ end
43
+
44
+ it "should stop an app" do
45
+ app = hello_app("0.3.2") || install_hello("0.3.2")
46
+
47
+ app.stop
48
+ app.pid.should be_nil
49
+ end
50
+ end
51
+
@@ -1,27 +1,39 @@
1
- require "#{File.dirname(__FILE__)}/../test_helper.rb"
1
+ require 'ramaze'
2
+ require __DIR__("../test_helper.rb")
3
+ require TESTS_DIR/"../config.rb"
2
4
  require TESTS_DIR/"../util/gem_manager.rb"
3
5
 
4
- # helpers
6
+ def data_dir_of(name, version)
7
+ File.expand_path("#{name}-#{version}", TESTS_DIR/"tmp/data/")
8
+ end
5
9
 
6
10
  describe GemManager do
7
11
  it "should install a gem via file" do
8
- path = TESTS_DIR/"data/hello/pkg/hello-0.2.0.gem"
9
- result, name, version = GemManager.install_file(path)
12
+ result, name, version = GemManager.install_file(hello_gem_path("0.3.2"))
10
13
 
11
14
  result.should be_instance_of(String)
12
- name.should == "hello"
13
- version.should == "0.2.0"
15
+ name.should == "hello-ruby-station"
16
+ version.should == "0.3.2"
14
17
 
15
- GemManager.installed?("hello", "0.2.0").should be_true
18
+ GemManager.installed?("hello-ruby-station", "0.3.2").should be_true
19
+ File.exist?(data_dir_of("hello-ruby-station", "0.3.2")).should be_true
16
20
  end
17
21
 
18
22
  it "should install a gem via network" do
19
- pending
23
+ result, name, version = GemManager.install_gem("hello-ruby-station")
24
+
25
+ result.should be_instance_of(String)
26
+ name.should == "hello-ruby-station"
27
+ version.should == "0.3.0"
28
+
29
+ GemManager.installed?("hello-ruby-station", "0.3.0").should be_true
30
+ File.exist?(data_dir_of("hello-ruby-station", "0.3.2")).should be_true
20
31
  end
21
32
 
22
33
  it "should uninstall a gem" do
23
- GemManager.uninstall("hello", "0.2.0")
34
+ GemManager.uninstall("hello-ruby-station", "0.3.2")
24
35
 
25
- GemManager.installed?("hello", "0.2.0").should be_false
36
+ GemManager.installed?("hello-ruby-station", "0.3.2").should be_false
37
+ File.exist?(data_dir_of("hello-ruby-station", "0.3.2")).should be_false
26
38
  end
27
39
  end
@@ -0,0 +1,33 @@
1
+ require 'ramaze'
2
+ require __DIR__("../../util/servant.rb")
3
+
4
+ describe Servant do
5
+ def sleeper_cmd(seconds)
6
+ "ruby -e '#{seconds}.times{ sleep 1 }'"
7
+ end
8
+
9
+ context "when starting a process" do
10
+ it "should return the process-id" do
11
+ pid = Servant.watch(sleeper_cmd(5))
12
+ pid.should be_kind_of(Integer)
13
+ end
14
+
15
+ it "should call the block on termination" do
16
+ value = nil
17
+ pid = Servant.watch(sleeper_cmd(1)){
18
+ value = "done"
19
+ }
20
+ sleep 2
21
+ value.should == "done"
22
+ end
23
+ end
24
+
25
+ it "should kill a process" do
26
+ prev = Time.now
27
+ pid = Servant.watch(sleeper_cmd(10))
28
+ sleep 2
29
+ Servant.kill(pid)
30
+ (Time.now - prev).should < 10
31
+ end
32
+ end
33
+
data/tests/test_helper.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require 'fileutils'
2
2
  require 'ramaze'
3
- Ramaze.options.started = true
4
3
 
5
4
  TESTS_DIR = __DIR__
6
5
  def TESTS_DIR./(*paths)
@@ -9,19 +8,16 @@ end
9
8
 
10
9
  def clear_tmp(tmp_dir)
11
10
  if File.exist?(tmp_dir)
12
- puts "removing all files under #{tmp_dir}..."
13
- puts "are you sure? [just push enter if so]"
14
- if STDIN.gets.chomp.empty?
15
- FileUtils.rm_r(tmp_dir)
16
- else
17
- raise "user chose not to clear the temporary directory"
18
- end
11
+ puts "removing all files under #{tmp_dir}... [Ctrl-C to stop it]"
12
+ sleep 2
13
+ FileUtils.rm_r(tmp_dir)
19
14
  else
20
15
  Dir.mkdir(tmp_dir)
21
16
  end
22
17
  end
23
18
 
24
- clear_tmp(TESTS_DIR/"tmp/")
25
- require TESTS_DIR/"../config.rb"
26
- Conf.init TESTS_DIR/"data/conf_dir"
19
+ def hello_gem_path(version)
20
+ TESTS_DIR/"data/hello/pkg/hello-ruby-station-#{version}.gem"
21
+ end
27
22
 
23
+ clear_tmp(TESTS_DIR/"tmp/")
data/util/gem_manager.rb CHANGED
@@ -1,4 +1,9 @@
1
+ require 'fileutils'
2
+ require 'open3'
3
+
1
4
  module GemManager
5
+ class InstallFailed < StandardError; end
6
+
2
7
  def self.installed?(gemname, version)
3
8
  gem_path = File.join(Conf.gem_dir, "gems", "#{gemname}-#{version}")
4
9
  exists = File.exist?(gem_path)
@@ -8,10 +13,16 @@ module GemManager
8
13
  end
9
14
 
10
15
  def self.install_file(path)
16
+ symlinked = false
11
17
  begin
12
18
  # make symlink
13
- newpath = "/tmp/#{File.basename(path, ".gem")}.gem"
14
- File.symlink(path, newpath)
19
+ if path !~ /.gem\z/
20
+ newpath = "/tmp/#{File.basename(path, ".gem")}.gem"
21
+ File.symlink(path, newpath)
22
+ symlinked = true
23
+ else
24
+ newpath = path
25
+ end
15
26
 
16
27
  # install
17
28
  cmd = [
@@ -20,48 +31,68 @@ module GemManager
20
31
  "-n", Conf.gem_bin_dir,
21
32
  Conf.gem_install_option
22
33
  ].join(" ")
23
- Ramaze::Log.info cmd
24
-
25
- # execute
26
- result = `#{cmd}`
27
34
 
28
- # make data dir
35
+ out, _ = gem_install(cmd)
29
36
  spec = YAML.load(`gem spec #{path}`)
30
- data_dir = File.join(Conf.data_dir, "#{spec.name}-#{spec.version}")
31
- unless File.directory?(data_dir)
32
- Dir.mkdir(data_dir)
33
- Ramaze::Log.info "made data dir for the gem: #{data_dir}"
34
- end
37
+ name, version = spec.name, spec.version.to_s
38
+ make_data_dir(name, version)
35
39
 
36
- [result, spec.name, spec.version.to_s]
40
+ [out, name, version]
37
41
  ensure
38
- File.unlink(newpath)
42
+ File.unlink(newpath) if symlinked
39
43
  end
40
44
  end
41
45
 
42
46
  def self.install_gem(name)
43
- # install
44
47
  cmd = [
45
48
  Conf.gem_command, "install", name,
46
49
  "-i", Conf.gem_dir,
47
50
  "-n", Conf.gem_bin_dir,
48
51
  Conf.gem_install_option
49
52
  ].join(" ")
50
- Ramaze::Log.info cmd
51
53
 
52
- # execute
53
- result = `#{cmd}`
54
+ out, version = gem_install(cmd, name)
55
+ make_data_dir(name, version)
56
+
57
+ [out, name, version]
58
+ end
54
59
 
55
- # make data dir
56
- raise "installation failed" unless result =~ /installed #{name}-(.*)/
57
- version = $1
60
+ def self.gem_install(cmd, name=nil)
61
+ Ramaze::Log.info cmd
62
+ out, err = Open3.popen3(cmd){|i, o, e|
63
+ [o.read, e.read]
64
+ }
65
+
66
+ name_pattern = name ? "#{name}-" : ""
67
+ if out !~ /Successfully installed #{name_pattern}(.*)/
68
+ Ramaze::Log.error "gem install failed: #{err}"
69
+ raise InstallFailed.new(err)
70
+ end
71
+
72
+ return out, $1
73
+ end
74
+
75
+ def self.make_data_dir(name, version)
58
76
  data_dir = File.join(Conf.data_dir, "#{name}-#{version}")
59
77
  unless File.directory?(data_dir)
60
- Dir.mkdir(data_dir)
61
- Ramaze::Log.info "made data dir for the gem: #{data_dir}"
78
+ if prev_ver = previous_version(name, version)
79
+ prev_dir = File.join(Conf.data_dir, "#{name}-#{prev_ver}")
80
+ FileUtils.cp_r(prev_dir, data_dir)
81
+ Ramaze::Log.info "copied data of #{version} for the gem: #{data_dir}"
82
+ else
83
+ Dir.mkdir(data_dir)
84
+ Ramaze::Log.info "made data dir for the gem: #{data_dir}"
85
+ end
62
86
  end
87
+ end
88
+
89
+ def self.previous_version(name, version)
90
+ specs_dir = File.join(Conf.gem_dir, "specifications")
91
+ index = Gem::SourceIndex.new.load_gems_in(specs_dir)
63
92
 
64
- [result, name, version]
93
+ req = Gem::Requirement.create("< #{version}")
94
+ prev_spec = index.find_name(name, req).last
95
+ return prev_spec ? prev_spec.version.to_s : nil
65
96
  end
66
97
 
67
98
  def self.uninstall(name, version)
@@ -73,6 +104,14 @@ module GemManager
73
104
  ].join(" ")
74
105
  Ramaze::Log.info cmd
75
106
 
107
+ GemManager.remove_data_dir(name, version)
108
+
76
109
  `#{cmd}`
77
110
  end
111
+
112
+ def self.remove_data_dir(name, version)
113
+ data_dir = File.join(Conf.data_dir, "#{name}-#{version}")
114
+ Ramaze::Log.info "removing application data in #{data_dir}"
115
+ FileUtils.rm_r(data_dir)
116
+ end
78
117
  end
@@ -4,7 +4,7 @@
4
4
  <p>uninstalling #{@app.full_name} ..</p>
5
5
 
6
6
  <pre id="result">
7
- <img src='/spinner.gif'>
7
+ <img id="spinner" src='/spinner.gif'>
8
8
  </pre>
9
9
 
10
10
  <a href='/'>back</a>
data/view/index.xhtml CHANGED
@@ -35,7 +35,7 @@
35
35
  ON</a> / OFF
36
36
  </td>
37
37
  <?r end ?>
38
- <td>
38
+ <td id="uninstall-#{h app.name}-#{h app.version}">
39
39
  #{Applications.a("-", :uninstall, app.id)}
40
40
  </td>
41
41
  </tr>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-station
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yutaka HARA
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-03 00:00:00 +09:00
12
+ date: 2009-10-18 00:00:00 +09:00
13
13
  default_executable: ruby-station
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -18,7 +18,7 @@ dependencies:
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ">="
21
+ - - "="
22
22
  - !ruby/object:Gem::Version
23
23
  version: "2009.07"
24
24
  version:
@@ -28,7 +28,7 @@ dependencies:
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.10.1
34
34
  version:
@@ -38,7 +38,7 @@ dependencies:
38
38
  version_requirement:
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
41
+ - - "="
42
42
  - !ruby/object:Gem::Version
43
43
  version: 0.10.0
44
44
  version:
@@ -48,9 +48,9 @@ dependencies:
48
48
  version_requirement:
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
51
+ - - "="
52
52
  - !ruby/object:Gem::Version
53
- version: 1.2.8
53
+ version: 1.2.9
54
54
  version:
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: cucumber
@@ -58,9 +58,39 @@ dependencies:
58
58
  version_requirement:
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - "="
62
62
  - !ruby/object:Gem::Version
63
- version: 0.3.101
63
+ version: 0.4.2
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: rack-test
67
+ type: :development
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "="
72
+ - !ruby/object:Gem::Version
73
+ version: 0.5.0
74
+ version:
75
+ - !ruby/object:Gem::Dependency
76
+ name: webrat
77
+ type: :development
78
+ version_requirement:
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "="
82
+ - !ruby/object:Gem::Version
83
+ version: 0.5.3
84
+ version:
85
+ - !ruby/object:Gem::Dependency
86
+ name: culerity
87
+ type: :development
88
+ version_requirement:
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "="
92
+ - !ruby/object:Gem::Version
93
+ version: 0.2.3
64
94
  version:
65
95
  description: Create, Distribute, and Install Ruby applications easily
66
96
  email: yutaka.hara/at/gmail.com
@@ -68,11 +98,11 @@ executables:
68
98
  - ruby-station
69
99
  extensions: []
70
100
 
71
- extra_rdoc_files:
72
- - ChangeLog
101
+ extra_rdoc_files: []
102
+
73
103
  files:
74
104
  - .gitignore
75
- - ChangeLog
105
+ - History.txt
76
106
  - Rakefile
77
107
  - VERSION
78
108
  - bin/ruby-station
@@ -93,22 +123,30 @@ files:
93
123
  - runtime/Rakefile
94
124
  - runtime/VERSION
95
125
  - runtime/lib/ruby-station.rb
96
- - runtime/lib/ruby-station/helper.rb
97
- - runtime/lib/ruby-station/helper/rails.rb
98
- - runtime/ruby-station-runtime-0.0.4.gem
126
+ - runtime/ruby-station-runtime-0.0.5.gem
127
+ - runtime/ruby-station-runtime.gemspec
99
128
  - sample.config.yaml
100
129
  - tests/README
101
130
  - tests/Rakefile
131
+ - tests/console.rb
102
132
  - tests/data/conf_dir/config.yaml
133
+ - tests/data/hello/hello-ruby-station.gemspec
134
+ - tests/data/hello/main.rb
135
+ - tests/data/hello/pkg/hello-ruby-station-0.3.1.gem
136
+ - tests/data/hello/pkg/hello-ruby-station-0.3.2.gem
137
+ - tests/development/config.yaml
103
138
  - tests/features/install_file.feature
104
139
  - tests/features/install_name.feature
105
140
  - tests/features/list.feature
141
+ - tests/features/reinstall.feature
106
142
  - tests/features/step_definitions/application_steps.rb
107
- - tests/features/step_definitions/curelity_steps.rb
143
+ - tests/features/step_definitions/culerity_steps.rb
108
144
  - tests/features/support/env.rb
109
145
  - tests/features/uninstall.feature
110
146
  - tests/features/upgrade.feature
147
+ - tests/spec/application.rb
111
148
  - tests/spec/gem_manager.rb
149
+ - tests/spec/servant.rb
112
150
  - tests/test_helper.rb
113
151
  - util/gem_manager.rb
114
152
  - util/servant.rb
data/ChangeLog DELETED
@@ -1,3 +0,0 @@
1
- 2009-08-20 Yutaka HARA <yhara(at)kmc.gr.jp>
2
-
3
- * new: :debug in config.yaml