boxen-module-maker 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDY2NTJlMDNjNjc2NDU2MTk4OTE1OGU5YThkMDM3ZTMxNjE0ZTQ1Ng==
4
+ NjJmOGMzMWViZTRjMTlhYTkyNTk5ZTM4ZjdiZjRmY2EzNTMzOTgxOQ==
5
5
  data.tar.gz: !binary |-
6
- ZjFmZTQ2OGQ2ZWNlOThmNDJlZDhjZmU4MDJiZWZmOWE5NmNiNjk0ZA==
6
+ Mzg4MjExZmQ2NDI3MzhiMDI3YmNkNTY2ZWM0NDkyNGZiMjJmZThhNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGYzMDQ0Y2M4ODZmMDVjOTNkYjc0NmRhN2I2NTUwNTk1YTBhMTk2MGQ1MjQx
10
- ZTg5ODFlMThkNTNmYjc4ZmIwYTdmYWY2YWQ2ZGViODI5NmExNDNjMTIxZGUw
11
- OGM0M2ZlMjM2NDJhMTQ4ZTY5OWY4ODkzNGU3ZjA2YTdiMDdmZGQ=
9
+ NWVkZDc4YzFiMzdkOThlOGIyY2Q0MGMyYTExOGQ1ZDNjZmEyN2RhODI3ODE5
10
+ ZDg5YTM1ODljZjMzZmJiZjMxN2JlYzdhZmRmMDRlMmRkMmZjOThlZTU4YzY3
11
+ MzM0N2E1MTA1OTYyYTRmNWNjNDMwOWI0MTMwZmU3YTc2NDZmZjQ=
12
12
  data.tar.gz: !binary |-
13
- YjFkMWI1ZWQ2YWQ4ZDNkYzM4MjBlZTQ3OGVkNTA5YTlmOWIwOGY2Y2EzNjFj
14
- NzJkYjNmN2Y0YTc1YWQ2ZmZmMWFlMmY0N2VlNDIzZmZhZTdjYjY3ZWIzOWYy
15
- M2UxZjQ4NWM3YzVkNjhmMTI1ZWE5M2Q2ZjgxMWQyM2Q1OGI1YTI=
13
+ MjJkZjdiNzAwNzhiYjM3NzQ0YzY4ZTE2ODkwMjRiY2VjNDA0Y2RkODE3MWI1
14
+ YjA4MzhhNTExMWQyYmJiMTM5ODJhNzQ4NjVjZjBkNjVkNWU4MDRhYzVhZWIz
15
+ ZDI4MDBkY2RlYzJiNjI4Y2ZmNzY1NTBiNTVmMmMyMzczNGM1NzI=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- boxen-module-maker (0.0.1)
4
+ boxen-module-maker (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -4,4 +4,10 @@ $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
4
4
 
5
5
  require 'boxen-module-maker'
6
6
 
7
+ ['TERM', 'INT'].each do |signal|
8
+ Signal.trap(signal) do
9
+ exit -1
10
+ end
11
+ end
12
+
7
13
  exit BoxenModuleMaker::Bin.new(ARGV).run
@@ -44,6 +44,7 @@ class BoxenModuleMaker
44
44
  @repo.add_remote('template', 'https://github.com/boxen/puppet-template.git')
45
45
  @repo.remote('template').fetch
46
46
  @repo.checkout('master')
47
+ @repo.remote('template').remove
47
48
 
48
49
  # Remote remove is broken on ruby-git right now...
49
50
  # https://github.com/schacon/ruby-git/pull/42
@@ -2,7 +2,7 @@ module BoxenModuleMaker
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 2
5
+ TINY = 3
6
6
  STRING= [MAJOR, MINOR, TINY].join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxen-module-maker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter M Souter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-15 00:00:00.000000000 Z
11
+ date: 2013-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -46,8 +46,6 @@ files:
46
46
  - lib/boxen-module-maker/version.rb
47
47
  - spec/boxen-module-maker_spec.rb
48
48
  - spec/spec_helper.rb
49
- - test/helper.rb
50
- - test/test_boxen-module-maker.rb
51
49
  homepage: https://github.com/petems/boxen-module-maker
52
50
  licenses:
53
51
  - MIT
@@ -75,5 +73,3 @@ summary: Tool to make new boxen modules easily
75
73
  test_files:
76
74
  - spec/boxen-module-maker_spec.rb
77
75
  - spec/spec_helper.rb
78
- - test/helper.rb
79
- - test/test_boxen-module-maker.rb
@@ -1,18 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- require 'test/unit'
11
- require 'shoulda'
12
-
13
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
- $LOAD_PATH.unshift(File.dirname(__FILE__))
15
- require 'boxen-module-maker'
16
-
17
- class Test::Unit::TestCase
18
- end
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestBoxenModuleMaker < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end