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.5
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, :alias => "h", :default => "host"
5
- class_option :user, :alias => "u", :default => "ror"
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
- user = options[:host]
10
- host = options[:host]
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, :as => :array, :required => true, :banner => "RECIPE1 RECIPE2 ..."
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "remoting"
8
- s.version = "0.3.5"
8
+ s.version = "0.3.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
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.5
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: -4076573650210202870
117
+ hash: -3092453819790204631
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  none: false
120
120
  requirements: