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 +4 -4
- data/.gitignore +6 -0
- data/.travis.yml +4 -2
- data/CHANGELOG.md +15 -0
- data/README.md +3 -1
- data/lib/thor_addons/options.rb +3 -1
- data/lib/thor_addons/version.rb +1 -1
- metadata +4 -3
- data/Gemfile.lock +0 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 823a3001351110a2e13396c42de0450a29bb715e
|
|
4
|
+
data.tar.gz: b2271ad7c3d0984426354c2668626fd15feab155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a4550e2a28fa23e26f8adb39773a671ef9133765f214f61f01e0b4850f3a7d499cfd5e51e0ba590de1928c5129d6117d773d8380754458a2097c312a8a49e85a
|
|
7
|
+
data.tar.gz: 07db6721c767a1078a86ff8c8905793058b4277f633dd87d1e81ad68f5c493360c48ce00cac2cf3cd3d23cbeb6805dc8d1b9ea0dfd516876b048f895190af829
|
data/.gitignore
ADDED
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# Thor Add-ons
|
|
2
2
|
|
|
3
|
-
[
|
|
3
|
+
[](https://travis-ci.org/eredi93/thor-addons)
|
|
4
|
+
[](http://badge.fury.io/rb/thor-addons)
|
|
5
|
+
|
|
4
6
|
Extend [Thor](https://github.com/erikhuda/thor) with useful Add-ons
|
data/lib/thor_addons/options.rb
CHANGED
|
@@ -83,7 +83,9 @@ module ThorAddons
|
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
|
|
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)
|
data/lib/thor_addons/version.rb
CHANGED
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.
|
|
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-
|
|
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
|