thor-addons 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d918c16d4d58145d245a8db7eb58f645a9c16fcd
4
- data.tar.gz: d48486ba3af0b9087bbe1c589c9efb6f5b0fc37e
3
+ metadata.gz: 823a3001351110a2e13396c42de0450a29bb715e
4
+ data.tar.gz: b2271ad7c3d0984426354c2668626fd15feab155
5
5
  SHA512:
6
- metadata.gz: 51afa1d907291d600c091af2a3bcebb2476150171084861983a701aad154435472ff68c90bf7902a61b4f4be2d936aaf7b72cf87150b0e423b16eec4c0d3f006
7
- data.tar.gz: ea79d855bcaf8a1d9b07ae3829f0df651a87bd9eceb083c05f18ef7e7b5677c8b5238f0f21ba327669c73d12b6f25d281b8894864a0e7f8952b294bd786464bf
6
+ metadata.gz: a4550e2a28fa23e26f8adb39773a671ef9133765f214f61f01e0b4850f3a7d499cfd5e51e0ba590de1928c5129d6117d773d8380754458a2097c312a8a49e85a
7
+ data.tar.gz: 07db6721c767a1078a86ff8c8905793058b4277f633dd87d1e81ad68f5c493360c48ce00cac2cf3cd3d23cbeb6805dc8d1b9ea0dfd516876b048f895190af829
data/.gitignore ADDED
@@ -0,0 +1,6 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ Gemfile.lock
5
+ .idea
6
+ .*.swp
data/.travis.yml CHANGED
@@ -1,4 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.3
4
- - 2.3.1
3
+ - 2.3.3
4
+ - 2.3.1
5
+ notifications:
6
+ email: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ 0.1.2 (05/08/2017)
2
+
3
+ BUG FIXES:
4
+
5
+ * Fix parse configuration file #1 ([#2](https://github.com/eredi93/thor-addons/pull/2))
6
+
7
+ 0.1.1 (03/08/2017)
8
+
9
+ IMPROVEMENTS:
10
+
11
+ * ENV aliases
12
+
13
+ 0.1.0 (02/08/2017)
14
+
15
+ * initial commit
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  # Thor Add-ons
2
2
 
3
- [![Build Status](https://travis-ci.org/eredi93/thor-addons.svg?branch=master)
3
+ [![Build Status](https://travis-ci.org/eredi93/thor-addons.svg?branch=master)](https://travis-ci.org/eredi93/thor-addons)
4
+ [![Gem Version](https://badge.fury.io/rb/thor-addons.svg)](http://badge.fury.io/rb/thor-addons)
5
+
4
6
  Extend [Thor](https://github.com/erikhuda/thor) with useful Add-ons
@@ -83,7 +83,9 @@ module ThorAddons
83
83
  end
84
84
  end
85
85
 
86
- ::Thor::CoreExt::HashWithIndifferentAccess.new(data["global"].merge(command_options))
86
+ global = data["global"] || {}
87
+
88
+ ::Thor::CoreExt::HashWithIndifferentAccess.new(global.merge(command_options))
87
89
  end
88
90
 
89
91
  def add_defaults(hash)
@@ -1,3 +1,3 @@
1
1
  module ThorAddons
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-addons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacopo Scrinzi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-03 00:00:00.000000000 Z
11
+ date: 2017-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -73,10 +73,11 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".gitignore"
76
77
  - ".travis.yml"
78
+ - CHANGELOG.md
77
79
  - Dockerfile
78
80
  - Gemfile
79
- - Gemfile.lock
80
81
  - README.md
81
82
  - Rakefile
82
83
  - lib/thor_addons.rb
data/Gemfile.lock DELETED
@@ -1,37 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- thor-addons (0.1.1)
5
- thor (~> 0.19)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- diff-lcs (1.3)
11
- rake (12.0.0)
12
- rspec (3.6.0)
13
- rspec-core (~> 3.6.0)
14
- rspec-expectations (~> 3.6.0)
15
- rspec-mocks (~> 3.6.0)
16
- rspec-core (3.6.0)
17
- rspec-support (~> 3.6.0)
18
- rspec-expectations (3.6.0)
19
- diff-lcs (>= 1.2.0, < 2.0)
20
- rspec-support (~> 3.6.0)
21
- rspec-mocks (3.6.0)
22
- diff-lcs (>= 1.2.0, < 2.0)
23
- rspec-support (~> 3.6.0)
24
- rspec-support (3.6.0)
25
- thor (0.19.4)
26
-
27
- PLATFORMS
28
- ruby
29
-
30
- DEPENDENCIES
31
- bundler
32
- rake
33
- rspec
34
- thor-addons!
35
-
36
- BUNDLED WITH
37
- 1.14.6