somatics3-generators 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -14,6 +14,9 @@ begin
14
14
  gem.rdoc_options += FileList['lib/**/templates/*'].to_a.collect{|f| "--exclude=#{f}" }
15
15
  # gem.rdoc_options << "--exclude='lib/**/templates/*'"
16
16
  gem.rubyforge_project = 'somatics3'
17
+ gem.add_dependency 'will_paginate', "~> 3.0.pre2"
18
+ gem.add_dependency 'prawn', "0.6.3"
19
+ gem.add_dependency 'json'
17
20
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
18
21
  end
19
22
  Jeweler::RubyforgeTasks.new do |rubyforge|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -1,4 +1,4 @@
1
- class <%= controller_plural_name.camelize %>Controller < ApplicationController
1
+ class <%= controller_class_name %>Controller < ApplicationController
2
2
  # Be sure to include AuthenticationSystem in Application Controller instead
3
3
  include <%= model_class_name %>AuthenticatedSystem
4
4
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{somatics3-generators}
8
- s.version = "0.0.6"
8
+ s.version = "0.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Benjamin Wong"]
@@ -219,9 +219,18 @@ Gem::Specification.new do |s|
219
219
  s.specification_version = 3
220
220
 
221
221
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
222
+ s.add_runtime_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
223
+ s.add_runtime_dependency(%q<prawn>, ["= 0.6.3"])
224
+ s.add_runtime_dependency(%q<json>, [">= 0"])
222
225
  else
226
+ s.add_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
227
+ s.add_dependency(%q<prawn>, ["= 0.6.3"])
228
+ s.add_dependency(%q<json>, [">= 0"])
223
229
  end
224
230
  else
231
+ s.add_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
232
+ s.add_dependency(%q<prawn>, ["= 0.6.3"])
233
+ s.add_dependency(%q<json>, [">= 0"])
225
234
  end
226
235
  end
227
236
 
@@ -9,8 +9,6 @@ gem 'prawn', :version => '0.6.3'
9
9
  gem 'somatics3-generators'
10
10
  gem 'json'
11
11
 
12
- rake "gems:install", :sudo => true
13
-
14
12
  plugin 'action_mailer_optional_tls',
15
13
  :git => 'git://github.com/collectiveidea/action_mailer_optional_tls.git'
16
14
  plugin 'faster_csv',
@@ -96,6 +94,9 @@ environment 'config.autoload_paths += %W(#{config.root}/lib)'
96
94
  generate "somatics:authenticated user"
97
95
  generate "somatics:authenticated_controller admin/user --model=User"
98
96
 
97
+ rake "db:create"
98
+ rake "db:migrate"
99
+
99
100
  run %(rails runner "User.create(:name => 'Admin', :login => 'admin', :password => 'somatics', :password_confirmation => 'somatics', :email => 'admin@admin.com')") if yes?(%(Create Default Admin User (username:admin, password:somatics)?))
100
101
 
101
102
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: somatics3-generators
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Wong
@@ -17,8 +17,53 @@ cert_chain: []
17
17
 
18
18
  date: 2010-09-16 00:00:00 +08:00
19
19
  default_executable:
20
- dependencies: []
21
-
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: will_paginate
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: -1876988247
30
+ segments:
31
+ - 3
32
+ - 0
33
+ - pre2
34
+ version: 3.0.pre2
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: prawn
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - "="
44
+ - !ruby/object:Gem::Version
45
+ hash: 1
46
+ segments:
47
+ - 0
48
+ - 6
49
+ - 3
50
+ version: 0.6.3
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: json
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 3
62
+ segments:
63
+ - 0
64
+ version: "0"
65
+ type: :runtime
66
+ version_requirements: *id003
22
67
  description: Somatics 3 generators is used to generate a resource with skeleton admin panel
23
68
  email: tkwong@inspiresynergy.com
24
69
  executables: