inherited_resources 1.1.pre → 1.1.0

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.
@@ -1,5 +1,4 @@
1
1
  require 'responders'
2
- I18n.load_path.unshift File.expand_path(File.join(File.dirname(__FILE__), 'inherited_resources', 'locales', 'en.yml'))
3
2
 
4
3
  module InheritedResources
5
4
  ACTIONS = [ :index, :show, :new, :edit, :create, :update, :destroy ] unless self.const_defined?(:ACTIONS)
@@ -1,3 +1,3 @@
1
1
  module InheritedResources
2
- VERSION = '1.1.pre'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
data/test/test_helper.rb CHANGED
@@ -17,13 +17,9 @@ require 'mocha'
17
17
  ENV["RAILS_ENV"] = "test"
18
18
  RAILS_ROOT = "anywhere"
19
19
 
20
- gem "activesupport", "3.0.0.beta"
21
20
  require "active_support"
22
-
23
- gem "activemodel", "3.0.0.beta"
24
21
  require "active_model"
25
22
 
26
- gem "actionpack", "3.0.0.beta"
27
23
  require "action_controller"
28
24
  require "action_dispatch/middleware/flash"
29
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inherited_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.pre
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jos\xC3\xA9 Valim"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-06 00:00:00 +01:00
12
+ date: 2010-02-07 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -56,7 +56,6 @@ files:
56
56
  - lib/inherited_resources/blank_slate.rb
57
57
  - lib/inherited_resources/class_methods.rb
58
58
  - lib/inherited_resources/dsl.rb
59
- - lib/inherited_resources/locales/en.yml
60
59
  - lib/inherited_resources/polymorphic_helpers.rb
61
60
  - lib/inherited_resources/responder.rb
62
61
  - lib/inherited_resources/singleton_helpers.rb
@@ -79,9 +78,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
78
  version:
80
79
  required_rubygems_version: !ruby/object:Gem::Requirement
81
80
  requirements:
82
- - - ">"
81
+ - - ">="
83
82
  - !ruby/object:Gem::Version
84
- version: 1.3.1
83
+ version: "0"
85
84
  version:
86
85
  requirements: []
87
86
 
@@ -1,10 +0,0 @@
1
- en:
2
- flash:
3
- actions:
4
- create:
5
- notice: '{{resource_name}} was successfully created.'
6
- update:
7
- notice: '{{resource_name}} was successfully updated.'
8
- destroy:
9
- notice: '{{resource_name}} was successfully destroyed.'
10
- alert: '{{resource_name}} could not be destroyed.'