static-shell-templates 0.0.1 → 0.0.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/Makefile +14 -1
- data/Rakefile +1 -0
- data/lib/static_shell_templates/version.rb +1 -1
- data/static-shell-templates.gemspec +11 -3
- data/wercker.yml +8 -0
- metadata +24 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0aa09d54fb9670714b482cf8c06111ff5b6c3184
|
|
4
|
+
data.tar.gz: 2d9cb9936e9ae7b5917c8c62f9abb84836ca3e9c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e2db5ca88c46a91fec208ad30bbbc13a67d4a536b38df15d27d1e02175ba75a7d2ef73e0ea9cb1869f826d684aba0ff796a2ad2cca93fcbaacf0f578e5408c3
|
|
7
|
+
data.tar.gz: 827a074cddfdcbd810c91de915cf880aa7f2d6af9a6b5d23e06b5895013990fac5fc96cf86f7de517ea9a827e393556b724df75fe70fe9b18a5267cd295a9e9e
|
data/Makefile
CHANGED
|
@@ -7,4 +7,17 @@ bootstrap:
|
|
|
7
7
|
git clone https://github.com/sstephenson/bats.git
|
|
8
8
|
cd bats && ./install.sh /usr/local
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
release:
|
|
11
|
+
bundle install
|
|
12
|
+
bundle exec rake release
|
|
13
|
+
bundle exec rake bump:minor
|
|
14
|
+
|
|
15
|
+
define RUBYGEMS_CREDENTIALS=
|
|
16
|
+
---
|
|
17
|
+
:rubygems_api_key: ${RUBYGEMS_KEY}
|
|
18
|
+
endef
|
|
19
|
+
credentials:
|
|
20
|
+
@echo "Creating RubyGems credentials"
|
|
21
|
+
$(file > ~/.gem/credentials, ${RUBYGEMS_CREDENTIALS})
|
|
22
|
+
|
|
23
|
+
.PHONY: test bootstrap release credentials
|
data/Rakefile
CHANGED
|
@@ -8,9 +8,16 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = StaticShellTemplates::VERSION
|
|
9
9
|
spec.authors = ['Gonzalo Matheu']
|
|
10
10
|
spec.email = ['gonzalommj@gmail.com']
|
|
11
|
-
spec.summary = '
|
|
12
|
-
spec.description =
|
|
13
|
-
|
|
11
|
+
spec.summary = 'Reuse shell snippets'
|
|
12
|
+
spec.description = <<-EOF
|
|
13
|
+
Tool that allows you to reuse static pieces of shell scripts in
|
|
14
|
+
order to avoid duplication.
|
|
15
|
+
|
|
16
|
+
Esentially, you insert a 'template' tag pointing to a uri containing
|
|
17
|
+
your snippet and after executing static_shell_templates it will be
|
|
18
|
+
replaced with the snippet content.
|
|
19
|
+
EOF
|
|
20
|
+
spec.homepage = 'https://bitbucket.org/gmatheu/static-shell-templates'
|
|
14
21
|
spec.license = 'MIT'
|
|
15
22
|
|
|
16
23
|
spec.files = `git ls-files -z`.split("\x0")
|
|
@@ -32,4 +39,5 @@ Gem::Specification.new do |spec|
|
|
|
32
39
|
spec.add_development_dependency 'guard-rubocop'
|
|
33
40
|
spec.add_development_dependency 'webmock'
|
|
34
41
|
spec.add_development_dependency 'pry-byebug'
|
|
42
|
+
spec.add_development_dependency 'bump'
|
|
35
43
|
end
|
data/wercker.yml
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: static-shell-templates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gonzalo Matheu
|
|
@@ -206,7 +206,27 @@ dependencies:
|
|
|
206
206
|
- - ">="
|
|
207
207
|
- !ruby/object:Gem::Version
|
|
208
208
|
version: '0'
|
|
209
|
-
|
|
209
|
+
- !ruby/object:Gem::Dependency
|
|
210
|
+
name: bump
|
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
|
212
|
+
requirements:
|
|
213
|
+
- - ">="
|
|
214
|
+
- !ruby/object:Gem::Version
|
|
215
|
+
version: '0'
|
|
216
|
+
type: :development
|
|
217
|
+
prerelease: false
|
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
219
|
+
requirements:
|
|
220
|
+
- - ">="
|
|
221
|
+
- !ruby/object:Gem::Version
|
|
222
|
+
version: '0'
|
|
223
|
+
description: |2
|
|
224
|
+
Tool that allows you to reuse static pieces of shell scripts in
|
|
225
|
+
order to avoid duplication.
|
|
226
|
+
|
|
227
|
+
Esentially, you insert a 'template' tag pointing to a uri containing
|
|
228
|
+
your snippet and after executing static_shell_templates it will be
|
|
229
|
+
replaced with the snippet content.
|
|
210
230
|
email:
|
|
211
231
|
- gonzalommj@gmail.com
|
|
212
232
|
executables:
|
|
@@ -238,7 +258,7 @@ files:
|
|
|
238
258
|
- static-shell-templates.gemspec
|
|
239
259
|
- test/simple.bats
|
|
240
260
|
- wercker.yml
|
|
241
|
-
homepage:
|
|
261
|
+
homepage: https://bitbucket.org/gmatheu/static-shell-templates
|
|
242
262
|
licenses:
|
|
243
263
|
- MIT
|
|
244
264
|
metadata: {}
|
|
@@ -261,7 +281,7 @@ rubyforge_project:
|
|
|
261
281
|
rubygems_version: 2.4.8
|
|
262
282
|
signing_key:
|
|
263
283
|
specification_version: 4
|
|
264
|
-
summary:
|
|
284
|
+
summary: Reuse shell snippets
|
|
265
285
|
test_files:
|
|
266
286
|
- spec/spec_helper.rb
|
|
267
287
|
- spec/static_shell_templates/include_spec.rb
|