thor_template 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/starter_project/lib/thor_template.rb +0 -1
- data/lib/starter_project/spec/spec_helper.rb +0 -15
- data/lib/starter_project/thor_template.gemspec +0 -2
- data/lib/templates/Rakefile +2 -18
- data/lib/thor_template/version.rb +1 -1
- data/thor_template.gemspec +0 -1
- metadata +23 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6e75f3cc26519170cd3db8d272fbab47ff21c3
|
4
|
+
data.tar.gz: efefbaaa321464fcfa7082c62fe15ec465824b35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 105acac4359e31536b14411780d4b1dd7ef1fdc7497514b18e7ba4d74d406b573262d681f4055c7efe64e2aaefde6238067229e723589ad3ee6d819312fb21bb
|
7
|
+
data.tar.gz: 04ed64fc2f22c2d2686f83febc0334e6ee333a01204a657d3e35ac9131f1a1b167a007a83fb73297c37a7149616bda7ce3a0c474a7de4e34d998be40c2f8fb58
|
@@ -1,9 +1,3 @@
|
|
1
|
-
# Running specs by default will use VCR.
|
2
|
-
# Can disable via: VCR=0 rake or clean out vcr fixtures via rake clean:vcr.
|
3
|
-
# Using a ENV VCR flag so that both ruby and cli specs always either use
|
4
|
-
# vcr or do not use vcr. It's confusing to only have only ruby use vcr
|
5
|
-
# and cli specs not using vcr and vice versa.
|
6
|
-
ENV['VCR'] ? ENV['VCR'] : ENV['VCR'] = '1'
|
7
1
|
ENV['TEST'] = '1'
|
8
2
|
|
9
3
|
require "codeclimate-test-reporter"
|
@@ -25,13 +19,4 @@ end
|
|
25
19
|
|
26
20
|
RSpec.configure do |c|
|
27
21
|
c.include Helpers
|
28
|
-
c.around(:each) do |example|
|
29
|
-
VCR.use_cassette(example.metadata[:full_description], :serialize_with => :json) do
|
30
|
-
example.run
|
31
|
-
end if ENV['VCR'] == '1'
|
32
|
-
end
|
33
22
|
end
|
34
|
-
|
35
|
-
VCR.configure do |config|
|
36
|
-
config.ignore_hosts 'codeclimate.com'
|
37
|
-
end
|
@@ -19,13 +19,11 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "thor"
|
22
|
-
spec.add_dependency "aws-sdk"
|
23
22
|
spec.add_dependency "hashie"
|
24
23
|
spec.add_dependency "colorize"
|
25
24
|
|
26
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
27
26
|
spec.add_development_dependency "rake"
|
28
|
-
spec.add_development_dependency "thor-vcr"
|
29
27
|
spec.add_development_dependency "guard"
|
30
28
|
spec.add_development_dependency "guard-bundler"
|
31
29
|
spec.add_development_dependency "guard-rspec"
|
data/lib/templates/Rakefile
CHANGED
@@ -1,22 +1,6 @@
|
|
1
|
-
|
1
|
+
require "bundler/gem_tasks"
|
2
2
|
require "rspec/core/rake_task"
|
3
3
|
|
4
4
|
task :default => :spec
|
5
5
|
|
6
|
-
RSpec::Core::RakeTask.new
|
7
|
-
|
8
|
-
namespace :spec do
|
9
|
-
desc "Run acceptance specs, forces AWS calls by cleaning vcr fixtures first, ~/.br/aws.yml needs to be set up"
|
10
|
-
task :acceptance => %w[clean:vcr] do
|
11
|
-
ENV['LIVE'] = "1"
|
12
|
-
Rake::Task["spec"].invoke
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
task :clean => %w[clean:vcr]
|
17
|
-
namespace :clean do
|
18
|
-
desc "clean vcr_cassettes fixtures"
|
19
|
-
task :vcr do
|
20
|
-
FileUtils.rm_rf('spec/fixtures/vcr_cassettes')
|
21
|
-
end
|
22
|
-
end
|
6
|
+
RSpec::Core::RakeTask.new
|
data/thor_template.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
@@ -14,140 +14,126 @@ dependencies:
|
|
14
14
|
name: thor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: aws-sdk
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
24
|
+
- - ">="
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: hashie
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- -
|
31
|
+
- - ">="
|
46
32
|
- !ruby/object:Gem::Version
|
47
33
|
version: '0'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- -
|
38
|
+
- - ">="
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: colorize
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
|
-
- -
|
45
|
+
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
47
|
version: '0'
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- -
|
52
|
+
- - ">="
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: bundler
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- - ~>
|
59
|
+
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
61
|
version: '1.3'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- - ~>
|
66
|
+
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '1.3'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rake
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- -
|
73
|
+
- - ">="
|
88
74
|
- !ruby/object:Gem::Version
|
89
75
|
version: '0'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- -
|
80
|
+
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: thor-vcr
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- -
|
87
|
+
- - ">="
|
102
88
|
- !ruby/object:Gem::Version
|
103
89
|
version: '0'
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- -
|
94
|
+
- - ">="
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '0'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: guard
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- -
|
108
|
+
- - ">="
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: guard-bundler
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
|
-
- -
|
115
|
+
- - ">="
|
130
116
|
- !ruby/object:Gem::Version
|
131
117
|
version: '0'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
|
-
- -
|
122
|
+
- - ">="
|
137
123
|
- !ruby/object:Gem::Version
|
138
124
|
version: '0'
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: guard-rspec
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
142
128
|
requirements:
|
143
|
-
- -
|
129
|
+
- - ">="
|
144
130
|
- !ruby/object:Gem::Version
|
145
131
|
version: '0'
|
146
132
|
type: :development
|
147
133
|
prerelease: false
|
148
134
|
version_requirements: !ruby/object:Gem::Requirement
|
149
135
|
requirements:
|
150
|
-
- -
|
136
|
+
- - ">="
|
151
137
|
- !ruby/object:Gem::Version
|
152
138
|
version: '0'
|
153
139
|
description: Generates starter cli tool project.
|
@@ -158,7 +144,7 @@ executables:
|
|
158
144
|
extensions: []
|
159
145
|
extra_rdoc_files: []
|
160
146
|
files:
|
161
|
-
- .gitignore
|
147
|
+
- ".gitignore"
|
162
148
|
- Gemfile
|
163
149
|
- Guardfile
|
164
150
|
- LICENSE.txt
|
@@ -199,17 +185,17 @@ require_paths:
|
|
199
185
|
- lib
|
200
186
|
required_ruby_version: !ruby/object:Gem::Requirement
|
201
187
|
requirements:
|
202
|
-
- -
|
188
|
+
- - ">="
|
203
189
|
- !ruby/object:Gem::Version
|
204
190
|
version: '0'
|
205
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
192
|
requirements:
|
207
|
-
- -
|
193
|
+
- - ">="
|
208
194
|
- !ruby/object:Gem::Version
|
209
195
|
version: '0'
|
210
196
|
requirements: []
|
211
197
|
rubyforge_project:
|
212
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.4.5
|
213
199
|
signing_key:
|
214
200
|
specification_version: 4
|
215
201
|
summary: Generates starter cli tool project.
|
@@ -217,4 +203,3 @@ test_files:
|
|
217
203
|
- spec/lib/cli_spec.rb
|
218
204
|
- spec/lib/generator_spec.rb
|
219
205
|
- spec/spec_helper.rb
|
220
|
-
has_rdoc:
|