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 CHANGED
@@ -1,2 +1,3 @@
1
+ .bundle
1
2
  Gemfile.lock
2
3
  pkg/*
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 0.2.1 (February 9, 2011)
2
+ * Fixed path-generation not being pluralized in Rails 3.0.4 [tariksin]
3
+
1
4
  0.2.0 (February 6, 2011)
2
5
  * Added 960 Grid System option to Compass (via guilleiguaran)
3
6
  * Added shoulda-context option for TestUnit (via guilleiguaran)
@@ -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.pluralize}/#{group}", @template_framework_path)
38
+ File.expand_path("#{type}s/#{group}", @template_framework_path)
39
39
  end
40
40
 
41
41
  define_method "load_#{type}" do |name, group|
@@ -1,3 +1,3 @@
1
1
  module RailsTemplater
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -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.3"
18
- s.add_development_dependency "bundler", ">= 1.0.0"
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
- - 0
9
- version: 0.2.0
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-06 00:00:00 -05:00
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
- - 3
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: &id004 !ruby/object:Gem::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: *id004
62
+ version_requirements: *id003
79
63
  description: Template generator for Ruby on Rails 3 applications
80
64
  email:
81
65
  - kevin.faustino@gmail.com