rrails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Changes.md CHANGED
@@ -1,3 +1,8 @@
1
+ v0.3.1 2012-10-13 18:08:39 +0900
2
+ ------------------------------------------------------------------------
3
+ - FIX: PAGE_SIZE constants define constants outside RemoteRails::Server namespace.
4
+ - update doc.
5
+
1
6
  v0.3.0 2012-10-13 14:58:02 +0900
2
7
  ------------------------------------------------------------------------
3
8
  - FIX: some command that run under 0.1 sec is not output anything .
data/README.rdoc CHANGED
@@ -17,6 +17,18 @@ remote run rails/rake command.
17
17
  rails command is too slow. and rake command is too slow under rails environment.
18
18
  So, rrails can run rails/rake commands by preloaded daemon.
19
19
 
20
+ rails-sh is very good solution for this issue. But
21
+ * it can't run "rake -T"
22
+ * it can't use zsh's histroy.
23
+
24
+ So I wrote rrails.
25
+
26
+ == Problem
27
+
28
+ rrails can't work folloing commands:
29
+ * rake (console|dbconsole): please use rails-sh
30
+ * rake server
31
+
20
32
  == SEE ALSO
21
33
 
22
34
  * guard-rrails: https://github.com/walf443/guard-rrails
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/lib/rrails/server.rb CHANGED
@@ -7,8 +7,6 @@ require 'shellwords'
7
7
 
8
8
  # FIXME: rails command require APP_PATH constants.
9
9
  APP_PATH = File.expand_path('./config/application')
10
- PAGE_SIZE = 4096
11
-
12
10
  module RemoteRails
13
11
  # server to run rails/rake command.
14
12
  #
@@ -17,6 +15,8 @@ module RemoteRails
17
15
  # server.start
18
16
  #
19
17
  class Server
18
+ PAGE_SIZE = 4096
19
+
20
20
  def initialize(options={})
21
21
  @rails_env = options[:rails_env] || "development"
22
22
  @app_path = File.expand_path('./config/application')
data/rrails.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rrails"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Keiji, Yoshimi"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -132,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  segments:
134
134
  - 0
135
- hash: 4058162433151782274
135
+ hash: -2945796966926352412
136
136
  required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  none: false
138
138
  requirements: