rails-sh 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.6
1
+ 1.1.7
data/bin/rails-sh CHANGED
@@ -1,5 +1,16 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ puts <<BANNER.gsub("%", "\e[46m \e[0m")
4
+
5
+ .%%%%%....%%%%...%%%%%%..%%.......%%%%............%%%%...%%..%%.
6
+ .%%..%%..%%..%%....%%....%%......%%..............%%......%%..%%.
7
+ .%%%%%...%%%%%%....%%....%%.......%%%%...%%%%%%...%%%%...%%%%%%.
8
+ .%%..%%..%%..%%....%%....%%..........%%..............%%..%%..%%.
9
+ .%%..%%..%%..%%..%%%%%%..%%%%%%...%%%%............%%%%...%%..%%.
10
+ ................................................................
11
+
12
+ BANNER
13
+
3
14
  ENV["RAILS_ENV"] ||= ARGV.shift
4
15
 
5
16
  APP_PATH = File.expand_path('./config/application')
@@ -61,7 +61,7 @@ end
61
61
 
62
62
  Command.define 'restart' do
63
63
  puts 'restarting...'
64
- exec File.expand_path($0)
64
+ Process.exec File.expand_path($0)
65
65
  end
66
66
 
67
67
  Command.define 'exit' do
data/rails-sh.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails-sh}
8
- s.version = "1.1.6"
8
+ s.version = "1.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jugyo"]
12
- s.date = %q{2011-01-31}
12
+ s.date = %q{2011-02-02}
13
13
  s.default_executable = %q{rails-sh}
14
14
  s.description = %q{The Rails Shell to execute sub commands of rails quickly.}
15
15
  s.email = %q{jugyo.org@gmail.com}
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 6
9
- version: 1.1.6
8
+ - 7
9
+ version: 1.1.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - jugyo
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-31 00:00:00 +09:00
17
+ date: 2011-02-02 00:00:00 +09:00
18
18
  default_executable: rails-sh
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- hash: -784689252802171875
119
+ hash: 4090799863336466720
120
120
  segments:
121
121
  - 0
122
122
  version: "0"