make_resourceful 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ metadata.gz: 22ca8d52e43ead8ff5f40ee8af5d392304d190f6b7313cb33d3c0989930d53c86a09e2aac77c7f83c3ee003e104ea4f8d113b6da09574504514711303547d1e8
4
+ data.tar.gz: 163467a219b321a68f72d136fd13da5b4a8d629f1c2d797ffbc1a4dab47acaf6cb9c6fad7031b0ecba0ee8474b8438bfeb669c097ea543d08210a3d9a8bda36c
5
+ SHA1:
6
+ metadata.gz: a3487669f91061847b76c0e65acbd661632a0e73
7
+ data.tar.gz: b07115117516e9000e70fecf46a54f2f964995e9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -1,7 +1,7 @@
1
1
 
2
2
  class MakeResourcefulTie < Rails::Railtie
3
3
  initializer "my_railtie.configure_rails_initialization" do
4
- require_relative 'resourceful/maker'
4
+ require File.join(File.dirname(__FILE__), 'resourceful/maker')
5
5
  ActionController::Base.extend Resourceful::Maker
6
6
  end
7
7
  end
@@ -51,7 +51,7 @@ module Resourceful
51
51
  # which provides a lot of flexibility
52
52
  # (see the documentation for current_model for details).
53
53
  def current_objects
54
- @current_objects ||= current_model.find(:all)
54
+ @current_objects ||= current_model.all
55
55
  end
56
56
 
57
57
  # Calls current_objects and stores
metadata CHANGED
@@ -1,25 +1,26 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: make_resourceful
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - Hampton Catlin
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-02-23 00:00:00.000000000Z
11
+
12
+ date: 2014-05-06 00:00:00 Z
13
13
  dependencies: []
14
- description: ! ' Take back control of your Controllers. Make them awesome. Make
15
- them sleek. Make them resourceful.
16
14
 
17
- '
15
+ description: " Take back control of your Controllers. Make them awesome. Make them sleek. Make them resourceful.\n"
18
16
  email: hcatlin@gmail.com
19
17
  executables: []
18
+
20
19
  extensions: []
20
+
21
21
  extra_rdoc_files: []
22
- files:
22
+
23
+ files:
23
24
  - lib/make_resourceful.rb
24
25
  - lib/resourceful/base.rb
25
26
  - lib/resourceful/builder.rb
@@ -61,29 +62,31 @@ files:
61
62
  - spec/urls_spec.rb
62
63
  homepage: http://github.com/hcatlin/make_resourceful
63
64
  licenses: []
65
+
66
+ metadata: {}
67
+
64
68
  post_install_message:
65
69
  rdoc_options: []
66
- require_paths:
70
+
71
+ require_paths:
67
72
  - lib
68
- required_ruby_version: !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ! '>='
72
- - !ruby/object:Gem::Version
73
- version: '0'
74
- required_rubygems_version: !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - ! '>='
78
- - !ruby/object:Gem::Version
79
- version: '0'
73
+ required_ruby_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - &id001
76
+ - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: "0"
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - *id001
80
82
  requirements: []
83
+
81
84
  rubyforge_project:
82
- rubygems_version: 1.8.6
85
+ rubygems_version: 2.0.14
83
86
  signing_key:
84
- specification_version: 3
87
+ specification_version: 4
85
88
  summary: An elegant, structured way to build ActionPack Controllers
86
- test_files:
89
+ test_files:
87
90
  - spec/accessors_spec.rb
88
91
  - spec/actions_spec.rb
89
92
  - spec/base_spec.rb
@@ -95,3 +98,4 @@ test_files:
95
98
  - spec/responses_spec.rb
96
99
  - spec/serialize_spec.rb
97
100
  - spec/urls_spec.rb
101
+ has_rdoc: