luban-rack 0.2.5 → 0.2.6

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: b3810feaae645b48a468ad39daadf3e7004570dc
4
- data.tar.gz: 37ddf036e17fff8f1abbf36c88af4f8ebce84df9
3
+ metadata.gz: e4dbb78382653dc3a7bd7810fd9a229f56c1ee88
4
+ data.tar.gz: 8c13742326db0c9346587c867a1914f2d9ccafc7
5
5
  SHA512:
6
- metadata.gz: b5fc088b15c6b1569f498c2e0e62e20ba396b0de19187f23d61816f3e4861df060173eb55f9537910d9014bb37550da2a954e8545be481e3e6df6cb3bb329457
7
- data.tar.gz: 13fcbd3f8fb022da6d94350bea985d1b31f31777028ab11dfd567e9c91c540289cf8768a2f3d8f554ed19a33f88bdc6737f889a272858d9620c3692b2d0a43e1
6
+ metadata.gz: 6130e86d0ec042a4345e8f0d96f17e1430c1287dd6345e0b28538a4c58e73c8c8e9d38450ad67b4a3c8e9a3d1e34e935224c1e33279c0fa7bc97e143e471381b
7
+ data.tar.gz: 26f6b502fa09122af638e19c47389e36b15168311a389474d7ca2104fd9dd280208785a3628a6d5c0a6a5c851c860eee215e3f896088d54788f5c7de94a7ab74
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.6 (Sept 04, 2016)
4
+
5
+ Bug fixes:
6
+ * Overloaded #shell_command_prefix method in all worker classes
7
+ *
8
+
3
9
  ## Version 0.2.5 (Sept 01, 2016)
4
10
 
5
11
  Minor enhancements:
@@ -75,4 +81,4 @@ New features:
75
81
 
76
82
  New features:
77
83
  * Initialized Luban deployment application for Rack
78
- * Added support for web server Thin
84
+ * Added support for web server Thin
@@ -4,6 +4,13 @@ module Luban
4
4
  class Rack < Luban::Deployment::Application
5
5
  using Luban::CLI::CoreRefinements
6
6
 
7
+ module Common
8
+ def shell_command_prefix
9
+ @shell_command_prefix ||=
10
+ has_gemfile? ? (super << "#{bundle_executable} exec") : super
11
+ end
12
+ end
13
+
7
14
  module Parameters
8
15
  extend Luban::Deployment::Parameters::Base
9
16
 
@@ -3,6 +3,7 @@ module Luban
3
3
  module Applications
4
4
  class Rack
5
5
  class Configurator < Luban::Deployment::Application::Configurator
6
+ include Common
6
7
  include Paths
7
8
  include Parameters
8
9
  include WebServer
@@ -3,6 +3,7 @@ module Luban
3
3
  module Applications
4
4
  class Rack
5
5
  class Controller < Luban::Deployment::Application::Controller
6
+ include Common
6
7
  include Paths
7
8
  include Parameters
8
9
  include WebServer
@@ -3,6 +3,8 @@ module Luban
3
3
  module Applications
4
4
  class Rack
5
5
  class Publisher < Luban::Deployment::Application::Publisher
6
+ include Common
7
+
6
8
  protected
7
9
 
8
10
  def init
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Applications
4
4
  class Rack
5
- VERSION = '0.2.5'
5
+ VERSION = '0.2.6'
6
6
  end
7
7
  end
8
8
  end
@@ -19,14 +19,6 @@ module Luban
19
19
 
20
20
  def current_web_server; web_server[:name]; end
21
21
 
22
- def shell_command_prefix
23
- @shell_command_prefix ||= if has_gemfile?
24
- super << "#{bundle_executable} exec"
25
- else
26
- super
27
- end
28
- end
29
-
30
22
  protected
31
23
 
32
24
  def init
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-01 00:00:00.000000000 Z
11
+ date: 2016-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban