capistrano-rails-console 2.2.0 → 2.2.1

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: 0df54d91a48b5d934aa71cbbf86c1e03ccc63cea
4
- data.tar.gz: 2d5121c9f848ec46d1c2f84288e94c5b4497b7fe
3
+ metadata.gz: d7404979bb4616004d00d875008d7460760043a0
4
+ data.tar.gz: e76336834556c70b41b4d5aa909cec35b94d5182
5
5
  SHA512:
6
- metadata.gz: 70ab8adf895e517fab318f9b15c61ab0a2093d2ebf39edb78aa83dfa0510a028a17e338ec4d232ade7bbac5fc25b11dc8ba28be8d054193ec0b3b44ba9b3ef05
7
- data.tar.gz: b03a4a58fd28ae4ca5b646584bc420bb8ce6e03c0daf33a37e65ff429a92573f1c41824be17be6cc8a808f521cb036d689cebc13ee69d3e33a63d88d260decdd
6
+ metadata.gz: efd50ba6c2783e8e11b5ef4ff182a0abf357c00ad1ae82d3e5293988aed78fbad977dd210ff11398119173ab7b8eded2eeb17564b2afca91d73c439e6377f66a
7
+ data.tar.gz: 8c63c4d7dc1e59d7241a5453cf93693eae8d6ff4f2ba17427a714576432e3adcfcd87a991dc6fd4cdf175bddf5019d4d42b9d6776e34a82eda3b22d76cc309b6
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.2.1 (2017-09-04)
4
+ ### Feature
5
+ - [add rails:db alias to rails:dbconsole](https://github.com/ydkn/capistrano-rails-console/pull/32)
6
+
3
7
  ## 2.2.0 (2016-10-25)
4
8
  ### Feature
5
9
  - support for rbenv and chruby
data/README.md CHANGED
@@ -29,6 +29,11 @@ Or install it yourself as:
29
29
 
30
30
  ## Usage
31
31
 
32
+ You should ensure there is a `rails` binstub in the `current/bin` directory on the server otherwise
33
+ this gem won't work (because rails itself won't work).
34
+ If you experience any problems please verify that manually running `rails console` on the server does work.
35
+ If it doesn't you are deploying your rails application wrong (check [#18](https://github.com/ydkn/capistrano-rails-console/issues/18) or [#26](https://github.com/ydkn/capistrano-rails-console/issues/26) for details)!
36
+
32
37
  Require in `Capfile` to use the default task:
33
38
 
34
39
  ```ruby
@@ -46,6 +51,7 @@ You can also start a sandbox session:
46
51
  Or run a dbconsole:
47
52
 
48
53
  $ cap production rails:dbconsole
54
+ $ cap production rails:db
49
55
 
50
56
  ## Options
51
57
 
@@ -37,4 +37,6 @@ namespace :rails do
37
37
  end
38
38
  end
39
39
  end
40
+
41
+ task db: :dbconsole
40
42
  end
@@ -5,7 +5,7 @@ module Capistrano
5
5
  # Console
6
6
  module Console
7
7
  # Gem version
8
- VERSION = '2.2.0'
8
+ VERSION = '2.2.1'
9
9
  end
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rails-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-25 00:00:00.000000000 Z
11
+ date: 2017-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.5.1
113
+ rubygems_version: 2.6.13
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Remote rails console for capistrano