remoting 0.3.5 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.7
|
@@ -1,13 +1,14 @@
|
|
1
1
|
module Remoting
|
2
2
|
module Generators
|
3
3
|
class InstallGenerator < Rails::Generators::Base
|
4
|
-
class_option :host, :
|
5
|
-
class_option :user, :
|
4
|
+
class_option :host, :default => "remote"
|
5
|
+
class_option :user, :default => "ror"
|
6
6
|
|
7
7
|
def create_remote_yml
|
8
8
|
appname = Rails.application.class.to_s.split("::").first.underscore
|
9
|
-
|
10
|
-
|
9
|
+
host = options[:host]
|
10
|
+
user = options[:user]
|
11
|
+
|
11
12
|
stub = <<-STUB
|
12
13
|
remote:
|
13
14
|
login: #{user}@#{host}
|
@@ -2,7 +2,7 @@ module Remoting
|
|
2
2
|
class RecipeGenerator < Rails::Generators::Base
|
3
3
|
source_root File.expand_path('../../../../recipes', __FILE__)
|
4
4
|
|
5
|
-
argument :names, :
|
5
|
+
argument :names, :type => :array, :required => true, :banner => "RECIPE1 RECIPE2 ..."
|
6
6
|
|
7
7
|
def install_recipe
|
8
8
|
names.each {|name|
|
data/remoting.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remoting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
segments:
|
116
116
|
- 0
|
117
|
-
hash: -
|
117
|
+
hash: -3092453819790204631
|
118
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
119
|
none: false
|
120
120
|
requirements:
|