gemstrap 0.0.3 → 0.0.4

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWY2ZjUwNTEzYTc3MTY3OGRiYWUwOTRjNmRiNjk5NDY4YmI3OWZhMg==
4
+ MmU1MTAzYTBmNjhmYTc2NDVhNzdhZmI2YmZmMzQ1M2IxODIyNmZlMw==
5
5
  data.tar.gz: !binary |-
6
- YWQ1YjFjMjJlZDFjYTlmNjA5M2I4YWM4ZTdkYTU0M2FmNDBjN2NjMQ==
6
+ MmFhZGNiNTMyNWIwNjAzN2YzYmU2NmZmYjQ0YWYwYjQ5ZWQ1NjYxYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmI5ZWFkOWVjYjNhM2ZlMDNjYTA4OGJkZTZjNDlkNDFiZjVmZTNlZTkyOWI2
10
- MDM4NjlkNTBiZThjZjE0OGVkOTliMmYyMmFjOTk5YTkxOGM1ZTc2YTE5YzEy
11
- NTcyMTMxMmZkNzhiM2RkYzljYmEyNDBjMmJjMTliNDliYTIwZmI=
9
+ Mjk4MDA2OTFmZTA2ZTk3Mzg1YWJhNTFhNjdjMGQ4ZGUxYTNlYzk5NDUyYzI0
10
+ NjhmNDE2ZWE0ZGI4YjcxNjk1NTMzOTdmY2QyNjA2ZWRlZjYyZjcwNGVkMjk4
11
+ Yzk4YTIyMWM3NTA1YTkyNDkwMzY3YzUyM2Q1MTJlZDY5NGYzNjI=
12
12
  data.tar.gz: !binary |-
13
- OWRlMDVjYWQ1NzEwM2YwODc5OTM3ZmY1NDVmZjQ4NzMyNTA0ZjAwZmU2NzI0
14
- YjY0MjIzNWIyMjE2YzNiYmVkNmIyM2ZiOWU0MzI5ZWQwZTBjN2FmZTQ3NmY3
15
- ZTdkYjk5M2FiYTEwMDQ2ZjIyZjQ3MDU2YWVlZTAyMDdhMzZjY2Q=
13
+ ZDM0MTY2MGU2NmMwZTkxZTI4YjY1MTc2MWJkZmM0OWMzOWFhYzAzZTVjZjI4
14
+ NmM3MzgxZmU4MDNhMWY3ZWYyMTVkNTBhYjkzNWQyYzM3YTBlOTZhZWQ5YWMx
15
+ NTE0NjYxZTk0Njc5N2I5OTI1YmI1Njc2N2ZhNmIxY2I4YzVjM2U=
@@ -57,9 +57,11 @@ module Gemstrap
57
57
  end
58
58
 
59
59
  def generate_root_files
60
- %w(.gitignore Rakefile Gemfile).each do |file|
60
+ %w(Rakefile Gemfile).each do |file|
61
61
  copy_template(templates.join(file), path.join(file))
62
62
  end
63
+ copy_template(templates.join('gitignore'), path.join('.gitignore'))
64
+
63
65
  generate_file(path.join('README.md'), render_template('README.md.erb'))
64
66
  generate_file(path.join("#{gem_name}.gemspec"), render_template('gemspec.erb'))
65
67
  end
@@ -0,0 +1,34 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /lib/bundler/man/
26
+
27
+ # for a library or gem, you might want to ignore these files since the code is
28
+ # intended to run in multiple environments; otherwise, check them in:
29
+ # Gemfile.lock
30
+ # .ruby-version
31
+ # .ruby-gemset
32
+
33
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
34
+ .rvmrc
@@ -1,3 +1,3 @@
1
1
  module Gemstrap
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Dieb Martins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-01 00:00:00.000000000 Z
11
+ date: 2014-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -57,6 +57,7 @@ files:
57
57
  - lib/gemstrap/template/README.md.erb
58
58
  - lib/gemstrap/template/Rakefile
59
59
  - lib/gemstrap/template/gemspec.erb
60
+ - lib/gemstrap/template/gitignore
60
61
  - lib/gemstrap/template/lib/gem_name/version.rb.erb
61
62
  - lib/gemstrap/template/lib/root.rb.erb
62
63
  - lib/gemstrap/version.rb