luban 0.10.6 → 0.10.7

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: b3832b6921e4ce5a0be272a5f432b2444164fd4d
4
- data.tar.gz: 1d1b7192ac66ec12c13d87c90042ec36388b9d86
3
+ metadata.gz: aec3ded5ecfb310a1b91471bc15227b9928e5965
4
+ data.tar.gz: 6bbb2ecfb31d75c609d694c675b6f2b5ebd5848a
5
5
  SHA512:
6
- metadata.gz: 969cd5be48b6ed30e774d8c6044015860566b7072ba9f868e0e53200329d6e3246f2f3fa8f7b4344cfe61d645d6c0f98a1f6a35674a43158d8ec5cc17b664be9
7
- data.tar.gz: 4c16ec6b4b9b21bed1df469147fc125cb2bce6a741fc02728137880e4e9e09f29475fa2c0aaeca27bd2572d09fd847e08dca6c3245130f35122186970203d3bc
6
+ metadata.gz: a7ffa7fb3c20a33e39c0ee20649ee3fcd2489ee0459e928e331e636e4b4d6abb1551784160df196dd621475305ea33e6d1de7334723acdeaeb1a7079be437a74
7
+ data.tar.gz: d874cc08156832c77626eaa88397fa23a9c69dd4ec7440ef273bce6039e411522d34bb5c80bf02f0daae77af2169953ab0ea5e1e5e2a8fcbbab378e878340603
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.10.7 (Nov 25, 2016)
4
+
5
+ Bug fixes:
6
+ * Normalized executable name into proper method name when defining executable for a given package
7
+
3
8
  ## Version 0.10.6 (Nov 24, 2016)
4
9
 
5
10
  Minor enhancements:
@@ -15,7 +15,7 @@ module Luban
15
15
 
16
16
  def define_executable(*names)
17
17
  names.each do |name|
18
- define_method("#{name}_executable") do
18
+ define_method("#{name.gsub('-', '_')}_executable") do
19
19
  if instance_variable_defined?("@#{__method__}")
20
20
  instance_variable_get("@#{__method__}")
21
21
  else
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.10.6"
3
+ VERSION = "0.10.7"
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.10.6
4
+ version: 0.10.7
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-11-24 00:00:00.000000000 Z
11
+ date: 2016-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban-cli