youthtree-controller-ext 0.1.1 → 0.1.2

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.
@@ -3,7 +3,7 @@ require 'active_support/concern'
3
3
  module YouthTree
4
4
  module ControllerExt
5
5
 
6
- VERSION = "0.1.1".freeze
6
+ VERSION = "0.1.2".freeze
7
7
 
8
8
  mattr_accessor :known_extensions
9
9
  self.known_extensions ||= {}
@@ -13,6 +13,7 @@ module YouthTree
13
13
  Dir[File.join(dir, "*.rb")].each do |f|
14
14
  require f
15
15
  end
16
+ known_extensions[:pseudocephalopod_resource] = YouthTree::ControllerExt::SluggedResourceExt
16
17
  end
17
18
 
18
19
  # Lookup controller extensions.
@@ -1,4 +1,4 @@
1
- YouthTree::ControllerExt.for(:pseudocephalopod_resource) do
1
+ YouthTree::ControllerExt.for(:slugged_resource) do
2
2
 
3
3
  protected
4
4
 
@@ -5,37 +5,35 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{youthtree-controller-ext}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darcy Laycock"]
12
- s.date = %q{2010-08-25}
12
+ s.date = %q{2010-11-26}
13
13
  s.description = %q{Provides uses_controller_extension and a set of common mixins.}
14
14
  s.email = %q{sutto@sutto.net}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.md"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.md",
24
- "Rakefile",
25
- "lib/youth_tree/controller_ext.rb",
26
- "lib/youth_tree/controller_ext/almost_happy_ext.rb",
27
- "lib/youth_tree/controller_ext/authlogic_helpers_ext.rb",
28
- "lib/youth_tree/controller_ext/authorization_helpers_ext.rb",
29
- "lib/youth_tree/controller_ext/pseudocephalopod_resource_ext.rb",
30
- "lib/youth_tree/controller_ext/sidebar_ext.rb",
31
- "lib/youth_tree/controller_ext/ssl_requirement_ext.rb",
32
- "lib/youth_tree/controller_ext/title_estuary_ext.rb",
33
- "lib/youth_tree/controller_ext/translation_ext.rb",
34
- "lib/youthtree-controller-ext.rb",
35
- "youthtree-controller-ext.gemspec"
21
+ "LICENSE",
22
+ "README.md",
23
+ "Rakefile",
24
+ "lib/youth_tree/controller_ext.rb",
25
+ "lib/youth_tree/controller_ext/almost_happy_ext.rb",
26
+ "lib/youth_tree/controller_ext/authlogic_helpers_ext.rb",
27
+ "lib/youth_tree/controller_ext/authorization_helpers_ext.rb",
28
+ "lib/youth_tree/controller_ext/sidebar_ext.rb",
29
+ "lib/youth_tree/controller_ext/slugged_resource_ext.rb",
30
+ "lib/youth_tree/controller_ext/ssl_requirement_ext.rb",
31
+ "lib/youth_tree/controller_ext/title_estuary_ext.rb",
32
+ "lib/youth_tree/controller_ext/translation_ext.rb",
33
+ "lib/youthtree-controller-ext.rb",
34
+ "youthtree-controller-ext.gemspec"
36
35
  ]
37
36
  s.homepage = %q{http://github.com/YouthTree/youthtree-controller-ext}
38
- s.rdoc_options = ["--charset=UTF-8"]
39
37
  s.require_paths = ["lib"]
40
38
  s.rubygems_version = %q{1.3.7}
41
39
  s.summary = %q{Simple controller mixin support for rails 3. Including some common extensions.}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: youthtree-controller-ext
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Darcy Laycock
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-25 00:00:00 +08:00
18
+ date: 2010-11-26 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -46,7 +46,6 @@ extra_rdoc_files:
46
46
  - README.md
47
47
  files:
48
48
  - .document
49
- - .gitignore
50
49
  - LICENSE
51
50
  - README.md
52
51
  - Rakefile
@@ -54,8 +53,8 @@ files:
54
53
  - lib/youth_tree/controller_ext/almost_happy_ext.rb
55
54
  - lib/youth_tree/controller_ext/authlogic_helpers_ext.rb
56
55
  - lib/youth_tree/controller_ext/authorization_helpers_ext.rb
57
- - lib/youth_tree/controller_ext/pseudocephalopod_resource_ext.rb
58
56
  - lib/youth_tree/controller_ext/sidebar_ext.rb
57
+ - lib/youth_tree/controller_ext/slugged_resource_ext.rb
59
58
  - lib/youth_tree/controller_ext/ssl_requirement_ext.rb
60
59
  - lib/youth_tree/controller_ext/title_estuary_ext.rb
61
60
  - lib/youth_tree/controller_ext/translation_ext.rb
@@ -66,8 +65,8 @@ homepage: http://github.com/YouthTree/youthtree-controller-ext
66
65
  licenses: []
67
66
 
68
67
  post_install_message:
69
- rdoc_options:
70
- - --charset=UTF-8
68
+ rdoc_options: []
69
+
71
70
  require_paths:
72
71
  - lib
73
72
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC