simonmenke-gm 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.
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2009 Simon Menke
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
data/README.textile CHANGED
@@ -1,5 +1,5 @@
1
- h1. GM (gem make)
1
+ h1. GM (GemMake)
2
2
 
3
3
  GM is a gem and gemspec builder for use with github.
4
4
 
5
- For more info/docs go to http://simonmenke.github.com/gm
5
+ For more info/docs go to "http://simonmenke.github.com/gm":http://simonmenke.github.com/gm
@@ -4,6 +4,7 @@ module GM
4
4
  class GenCommand < Command
5
5
 
6
6
  def run
7
+ app.build_gemspec
7
8
  @gen_name = ARGV.shift
8
9
  @gen_options = ARGV
9
10
 
@@ -0,0 +1,17 @@
1
+
2
+ class MitLicenseGenerator < RubiGen::Base
3
+
4
+ def initialize(runtime_args, runtime_options = {})
5
+ super
6
+ @destination_root = '.'
7
+ end
8
+
9
+ def manifest
10
+ record do |m|
11
+ m.directory ''
12
+
13
+ m.template "LICENSE.txt", "LICENSE.txt"
14
+ end
15
+ end
16
+
17
+ end
@@ -0,0 +1,22 @@
1
+ Copyright (c) <%= DateTime.now.year %> <%= configatron.author.name %>
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -1,8 +1,6 @@
1
1
 
2
2
  class RailsGenerator < RubiGen::Base
3
3
 
4
- attr_reader :file_name, :test_case_name
5
-
6
4
  def initialize(runtime_args, runtime_options = {})
7
5
  super
8
6
  @destination_root = '.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simonmenke-gm
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
  - Simon Menke
@@ -65,6 +65,7 @@ files:
65
65
  - lib/gm/configuration_pass_queue.rb
66
66
  - lib/gm/dsl.rb
67
67
  - lib/gm.rb
68
+ - LICENSE.txt
68
69
  - README.textile
69
70
  - gm_generators/bin/bin_generator.rb
70
71
  - gm_generators/bin/templates/bin/bin.rb
@@ -72,6 +73,8 @@ files:
72
73
  - gm_generators/gem/templates/gmfile.yml
73
74
  - gm_generators/gem/templates/lib/module.rb
74
75
  - gm_generators/gem/templates/README.textile
76
+ - gm_generators/mit_license/mit_license_generator.rb
77
+ - gm_generators/mit_license/templates/LICENSE.txt
75
78
  - gm_generators/rails/rails_generator.rb
76
79
  - gm_generators/rails/templates/rails/init.rb
77
80
  - gm_generators/test/templates/test/test_case.rb