capistrano-rails-console 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e6425b5f673bacdcbde270b1efb12dbac6e2e4a
4
- data.tar.gz: 1d0193f843ca115cb8c6921a30b6cf13e70b1888
3
+ metadata.gz: 9160f5605b1a062e73f71dbcf4c26b456051c61b
4
+ data.tar.gz: 586339286e41d0b55c67bf75d97f33ab70996d3f
5
5
  SHA512:
6
- metadata.gz: 020e54ad51acdb54bbbc08955e992eca357f3cd1a1f7ac93a380d500dab1e9ce35831104cdb56de9a20dcfaf39c9bbfcca728b4fdb3654536f79eb39b7f2fb6f
7
- data.tar.gz: a4932e2bdc2176b657fb6d1f2bf470926c847c37ebc42420a84c748719607c324a78e9b1e4dedee8513cce954d2403bf059cdcce1857ca0e2a5f86f563bcac1b
6
+ metadata.gz: b5f7c22eedff6e3dbdf1443a129faa6a829a0b294c81d7bd8e8c5ebba0db32a9803bfe0effdf5b3f50122857b039da3a042e829f73e4b9c23fc3319c762b8667
7
+ data.tar.gz: 4d0252c719a5c3e388adcee3c53e2904a93e958f2d205750e9bc3f583c1a488c4a3d0036248c7e478ee4aa1e6dc1bb0c3688c987742f90a6381e57bcd415a079
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "capistrano-rails-console"
8
8
  spec.version = Capistrano::Rails::Console::VERSION
9
9
  spec.authors = ["Florian Schwab"]
10
- spec.email = ["schwab@fsserv.de"]
10
+ spec.email = ["me@ydkn.de"]
11
11
  spec.description = %q{Remote rails console for capistrano}
12
12
  spec.summary = %q{Remote rails console for capistrano}
13
13
  spec.homepage = "https://github.com/ydkn/capistrano-rails-console"
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.3'
24
24
  spec.add_development_dependency 'rake'
25
+ spec.add_development_dependency 'yard'
25
26
  end
@@ -1 +1 @@
1
- load File.expand_path("../tasks/remote.cap", __FILE__)
1
+ load File.expand_path('../tasks/remote.cap', __FILE__)
@@ -2,6 +2,10 @@ def rvm_loaded?
2
2
  Gem::Specification::find_all_by_name('capistrano-rvm').any?
3
3
  end
4
4
 
5
+ def rbenv_loaded?
6
+ Gem::Specification::find_all_by_name('capistrano-rbenv').any?
7
+ end
8
+
5
9
  def bundler_loaded?
6
10
  Gem::Specification::find_all_by_name('capistrano-bundler').any?
7
11
  end
@@ -20,10 +24,11 @@ namespace :rails do
20
24
 
21
25
  command = []
22
26
  command << "#{fetch(:rvm_path)}/bin/rvm #{fetch(:rvm_ruby_version)} do" if rvm_loaded?
27
+ command << "#{ fetch :rbenv_prefix } " if rbenv_loaded?
23
28
  command << "bundle exec" if bundler_loaded?
24
29
  command << "rails console #{fetch(:rails_env)}"
25
30
 
26
- exec %Q(ssh #{app_server.user}@#{app_server.hostname} -p #{app_server.port || 22} -t "cd #{current_path} && #{command.join(' ')}")
31
+ exec %Q(ssh #{app_server.netssh_options[:user]}@#{app_server.hostname} -p #{app_server.port || 22} -t "cd #{current_path} && #{command.join(' ')}")
27
32
  end
28
33
 
29
34
  end
@@ -1,7 +1,11 @@
1
+ # Capistrano
1
2
  module Capistrano
3
+ # Rails
2
4
  module Rails
5
+ # Console
3
6
  module Console
4
- VERSION = '0.1.1'
7
+ # gem version
8
+ VERSION = '0.2.0'
5
9
  end
6
10
  end
7
11
  end
metadata CHANGED
@@ -1,65 +1,79 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rails-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-11 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  description: Remote rails console for capistrano
56
70
  email:
57
- - schwab@fsserv.de
71
+ - me@ydkn.de
58
72
  executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
62
- - .gitignore
76
+ - ".gitignore"
63
77
  - Gemfile
64
78
  - LICENSE.txt
65
79
  - README.md
@@ -80,18 +94,19 @@ require_paths:
80
94
  - lib
81
95
  required_ruby_version: !ruby/object:Gem::Requirement
82
96
  requirements:
83
- - - '>='
97
+ - - ">="
84
98
  - !ruby/object:Gem::Version
85
99
  version: '0'
86
100
  required_rubygems_version: !ruby/object:Gem::Requirement
87
101
  requirements:
88
- - - '>='
102
+ - - ">="
89
103
  - !ruby/object:Gem::Version
90
104
  version: '0'
91
105
  requirements: []
92
106
  rubyforge_project:
93
- rubygems_version: 2.0.3
107
+ rubygems_version: 2.2.2
94
108
  signing_key:
95
109
  specification_version: 4
96
110
  summary: Remote rails console for capistrano
97
111
  test_files: []
112
+ has_rdoc: