mafia 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,8 +48,8 @@ module Mafia
48
48
  copy_file("Rakefile", "#{name}/Rakefile")
49
49
  end
50
50
 
51
- def copy_gemfile
52
- copy_file("Gemfile", "#{name}/Gemfile")
51
+ def create_gemfile
52
+ template("Gemfile.tt", "#{name}/Gemfile")
53
53
  end
54
54
 
55
55
  def copy_readme
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in <%= name %>.gemspec
4
+ gemspec
@@ -1,3 +1,3 @@
1
1
  module Mafia
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,46 +1,35 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mafia
3
- version: !ruby/object:Gem::Version
4
- hash: 17
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.8
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 7
10
- version: 0.0.7
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - George Drummond
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-10-16 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-10-21 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: thor
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70250260234120 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *70250260234120
34
25
  description: Generator to create sinatra apps that are also gems
35
- email:
26
+ email:
36
27
  - george@accountsapp.com
37
- executables:
28
+ executables:
38
29
  - mafia
39
30
  extensions: []
40
-
41
31
  extra_rdoc_files: []
42
-
43
- files:
32
+ files:
44
33
  - .gitignore
45
34
  - Gemfile
46
35
  - LICENSE
@@ -48,7 +37,7 @@ files:
48
37
  - Rakefile
49
38
  - bin/mafia
50
39
  - lib/mafia.rb
51
- - lib/mafia/templates/Gemfile
40
+ - lib/mafia/templates/Gemfile.tt
52
41
  - lib/mafia/templates/LICENSE.tt
53
42
  - lib/mafia/templates/README.md.tt
54
43
  - lib/mafia/templates/Rakefile
@@ -61,36 +50,26 @@ files:
61
50
  - mafia.gemspec
62
51
  homepage: http://github.com/georgedrummond/mafia
63
52
  licenses: []
64
-
65
53
  post_install_message:
66
54
  rdoc_options: []
67
-
68
- require_paths:
55
+ require_paths:
69
56
  - lib
70
- required_ruby_version: !ruby/object:Gem::Requirement
57
+ required_ruby_version: !ruby/object:Gem::Requirement
71
58
  none: false
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
- version: "0"
79
- required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
64
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
88
69
  requirements: []
89
-
90
70
  rubyforge_project: mafia
91
- rubygems_version: 1.8.10
71
+ rubygems_version: 1.8.11
92
72
  signing_key:
93
73
  specification_version: 3
94
74
  summary: Generator to create sinatra apps that are also gems
95
75
  test_files: []
96
-
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- # Specify your gem's dependencies in rackgem.gemspec
4
- gemspec