static-shell-templates 0.0.1 → 0.0.2

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: ca91969fa6198bcbb7c23b35cdce42b83f772a2f
4
- data.tar.gz: 792a224dea52fa5233d40b47dbaa2cfa4fd89010
3
+ metadata.gz: 0aa09d54fb9670714b482cf8c06111ff5b6c3184
4
+ data.tar.gz: 2d9cb9936e9ae7b5917c8c62f9abb84836ca3e9c
5
5
  SHA512:
6
- metadata.gz: 12dda5a90c69c7e4121e4c858eab9424702b03189d51badb2c73ef67ac064f3bd164d0181be247a32dd9e20068d34da7ab17527f0f6dc3d9e647f6f3a87268bf
7
- data.tar.gz: 817f30b3095cb22ef6df6a09d3c3544036ef9c164bd0ce135e760818e7fafac045ab75b3514e4a582a2f681f06a340b4a1593a64eac6aae7f143e72337d5d450
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
- .PHONY: test bootstrap
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
@@ -1,6 +1,7 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
  require 'rubocop/rake_task'
4
+ require 'bump/tasks'
4
5
 
5
6
  RuboCop::RakeTask.new(:rubocop) do |task|
6
7
  task.formatters = ['fuubar']
@@ -1,3 +1,3 @@
1
1
  module StaticShellTemplates
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -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 = 'static shell templates'
12
- spec.description = 'static shell templates'
13
- spec.homepage = ''
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
@@ -16,3 +16,11 @@ build:
16
16
  - script:
17
17
  name: E2E
18
18
  code: make test
19
+ deploy:
20
+ steps:
21
+ - script:
22
+ name: Set credentials
23
+ code: make credentials
24
+ - script:
25
+ name: Release
26
+ code: make release
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.1
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
- description: static shell templates
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: static shell templates
284
+ summary: Reuse shell snippets
265
285
  test_files:
266
286
  - spec/spec_helper.rb
267
287
  - spec/static_shell_templates/include_spec.rb