capistrano-rails-console 2.1.1 → 2.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: b4a18379dbfa0f26403bc23d27434ba0e5ba84ef
4
- data.tar.gz: 87bb31acbab1af5fc72fd093f6acbcfe8a4c7811
3
+ metadata.gz: 0df54d91a48b5d934aa71cbbf86c1e03ccc63cea
4
+ data.tar.gz: 2d5121c9f848ec46d1c2f84288e94c5b4497b7fe
5
5
  SHA512:
6
- metadata.gz: 56e24798c84e11624906091d55a70ae4b1b2966d4deec7ac3e5c196b002b4275d99286b94debd0a4517d38349f9af65d32300aada34e54d0c392453c8a608380
7
- data.tar.gz: 0d5f696b2cda5fce61cc33dc1a1a9a40d718e3d0036be3d4e37c9b1d26288ca42a84fac0e3b1c817a584fcba9b4732e14e70091fc2a136969b2de83551db3ffd
6
+ metadata.gz: 70ab8adf895e517fab318f9b15c61ab0a2093d2ebf39edb78aa83dfa0510a028a17e338ec4d232ade7bbac5fc25b11dc8ba28be8d054193ec0b3b44ba9b3ef05
7
+ data.tar.gz: b03a4a58fd28ae4ca5b646584bc420bb8ce6e03c0daf33a37e65ff429a92573f1c41824be17be6cc8a808f521cb036d689cebc13ee69d3e33a63d88d260decdd
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.2.0 (2016-10-25)
4
+ ### Feature
5
+ - support for rbenv and chruby
6
+
3
7
  ## 2.1.1 (2016-10-04)
4
8
  ### Feature
5
9
  - use password from database.yml for dbconsole
@@ -1,7 +1,10 @@
1
1
  namespace :load do
2
2
  task :defaults do
3
- # Add rails to rvm_map_bins
4
- set :rvm_map_bins, fetch(:rvm_map_bins, []).push(:rails)
3
+ # Add rails to RVM, Rbenv and Chruby bins
4
+ %i{rvm_map_bins rbenv_map_bins chruby_map_bins}.each do |bins_var|
5
+ bins = fetch(bins_var, [])
6
+ set bins_var, bins.push('rails') unless bins.include?('rails')
7
+ end
5
8
 
6
9
  # Default values
7
10
  set :console_env, -> { fetch(:rails_env, fetch(:stage, 'production')) }
@@ -5,7 +5,7 @@ module Capistrano
5
5
  # Console
6
6
  module Console
7
7
  # Gem version
8
- VERSION = '2.1.1'
8
+ VERSION = '2.2.0'
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.1.1
4
+ version: 2.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: 2016-10-04 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano