rails_templater 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/CHANGELOG +3 -0
- data/lib/rails_templater/templater.rb +1 -1
- data/lib/rails_templater/version.rb +1 -1
- data/rails_templater.gemspec +3 -5
- metadata +7 -23
data/.gitignore
CHANGED
data/CHANGELOG
CHANGED
@@ -35,7 +35,7 @@ module RailsTemplater
|
|
35
35
|
['snippet', 'template'].each do |type|
|
36
36
|
|
37
37
|
define_method "#{type}_path" do |group|
|
38
|
-
File.expand_path("#{type
|
38
|
+
File.expand_path("#{type}s/#{group}", @template_framework_path)
|
39
39
|
end
|
40
40
|
|
41
41
|
define_method "load_#{type}" do |name, group|
|
data/rails_templater.gemspec
CHANGED
@@ -14,14 +14,12 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.required_rubygems_version = ">= 1.3.6"
|
15
15
|
s.rubyforge_project = "rails_templater"
|
16
16
|
|
17
|
-
s.add_dependency "rails", "~> 3.0
|
18
|
-
s.add_development_dependency "bundler", "
|
17
|
+
s.add_dependency "rails", "~> 3.0"
|
18
|
+
s.add_development_dependency "bundler", "~> 1.0.0"
|
19
|
+
s.add_development_dependency("rspec", ["~> 2.4"])
|
19
20
|
|
20
21
|
s.files = `git ls-files`.split("\n")
|
21
22
|
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
22
23
|
s.require_path = 'lib'
|
23
|
-
|
24
|
-
s.add_dependency("thor", ["~> 0.14.6"])
|
25
24
|
|
26
|
-
s.add_development_dependency("rspec", ["~> 2.4"])
|
27
25
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kevin Faustino
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-02-
|
17
|
+
date: 2011-02-09 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -28,8 +28,7 @@ dependencies:
|
|
28
28
|
segments:
|
29
29
|
- 3
|
30
30
|
- 0
|
31
|
-
|
32
|
-
version: 3.0.3
|
31
|
+
version: "3.0"
|
33
32
|
type: :runtime
|
34
33
|
version_requirements: *id001
|
35
34
|
- !ruby/object:Gem::Dependency
|
@@ -38,7 +37,7 @@ dependencies:
|
|
38
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
38
|
none: false
|
40
39
|
requirements:
|
41
|
-
- -
|
40
|
+
- - ~>
|
42
41
|
- !ruby/object:Gem::Version
|
43
42
|
segments:
|
44
43
|
- 1
|
@@ -47,25 +46,10 @@ dependencies:
|
|
47
46
|
version: 1.0.0
|
48
47
|
type: :development
|
49
48
|
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: thor
|
52
|
-
prerelease: false
|
53
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
|
-
requirements:
|
56
|
-
- - ~>
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
- 14
|
61
|
-
- 6
|
62
|
-
version: 0.14.6
|
63
|
-
type: :runtime
|
64
|
-
version_requirements: *id003
|
65
49
|
- !ruby/object:Gem::Dependency
|
66
50
|
name: rspec
|
67
51
|
prerelease: false
|
68
|
-
requirement: &
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
69
53
|
none: false
|
70
54
|
requirements:
|
71
55
|
- - ~>
|
@@ -75,7 +59,7 @@ dependencies:
|
|
75
59
|
- 4
|
76
60
|
version: "2.4"
|
77
61
|
type: :development
|
78
|
-
version_requirements: *
|
62
|
+
version_requirements: *id003
|
79
63
|
description: Template generator for Ruby on Rails 3 applications
|
80
64
|
email:
|
81
65
|
- kevin.faustino@gmail.com
|