luban 0.6.5 → 0.6.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: 3f5385cce19de66d6ae2ca1b7f4651f33881931b
4
- data.tar.gz: 5c9b6a5c98b86c9bdd7ac2819d14efd5efcb0679
3
+ metadata.gz: a417d4a92ea8a9f0d9b14b2f448e8471d66650a2
4
+ data.tar.gz: f362a94f11454579846f9288b87757022fd3b2f6
5
5
  SHA512:
6
- metadata.gz: 252e997fc1e0e70acd918045ac5b941c8c21a60a14deb9656da1ed0b91be752d1d7f5b6b0fdb3fc83932e7db4badffedf689f93facf18d04b030fbab11efb715
7
- data.tar.gz: 8484026d33e2de99c9de5c61cbdabf9d48e2fb0e2b13750a38f53f396dec4d5ae7e134764d3ec9e687efc2e29f5147d92d5e30d458b519cc379d516759c94e9f
6
+ metadata.gz: b342062f582d1f037926279b0a5a8da8ec3e7086b2fa4f50c53ef1a8b667b9d006841241ea8958697bd02dcf289afd75760aa06c604574c6faab2a35f023b605
7
+ data.tar.gz: 757fcdddf336eeac8da076bf7e2b94daf14088d35542304dc0d4c93fe453acdf8b68adec379b4bd609820d3d86c0cccfe50b228dd4ca270e37e1b01b81960f4d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.6.6 (Jul 27, 2016)
4
+
5
+ Bug fixes:
6
+ * Refactored #default_templates_path to fix an inheritance issue
7
+
3
8
  ## Version 0.6.5 (Jul 27, 2016)
4
9
 
5
10
  New features:
@@ -216,10 +216,11 @@ module Luban
216
216
  locally ? result.first[:__return__] : result
217
217
  end
218
218
 
219
- def default_templates_path(base_path = nil)
220
- return @default_templates_path if base_path.nil?
219
+ def default_templates_path; nil; end
220
+
221
+ def base_templates_path(base_path)
221
222
  path = Pathname.new(base_path).dirname.join('templates')
222
- @default_templates_path ||= path.exist? ? path.realpath : nil
223
+ path.exist? ? path.realpath : nil
223
224
  end
224
225
 
225
226
  def default_templates
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.6.5"
3
+ VERSION = "0.6.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-26 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban-cli