basic_assumption 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/basic_assumption.rb +4 -0
- data/lib/basic_assumption/rails.rb +2 -0
- data/lib/basic_assumption/version.rb +6 -1
- metadata +4 -20
data/lib/basic_assumption.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
if defined?(Rails) && Rails::VERSION::MAJOR == 3
|
2
|
+
require 'basic_assumption/default_assumption/cautious_rails'
|
2
3
|
require 'basic_assumption/default_assumption/rails'
|
4
|
+
require 'basic_assumption/default_assumption/restful_rails'
|
3
5
|
|
4
6
|
module BasicAssumption
|
5
7
|
# Must be required explicitly in Rails 3. Extends ActionController::Base
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: basic_assumption
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 15
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
8
|
+
- 1
|
9
|
+
version: 0.4.1
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Matt Yoho
|
@@ -15,18 +14,16 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-07-
|
17
|
+
date: 2010-07-28 00:00:00 -04:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: bundler
|
23
22
|
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - ">="
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 15
|
30
27
|
segments:
|
31
28
|
- 0
|
32
29
|
- 9
|
@@ -60,15 +57,6 @@ files:
|
|
60
57
|
- lib/basic_assumption/rspec.rb
|
61
58
|
- lib/basic_assumption/version.rb
|
62
59
|
- rails/init.rb
|
63
|
-
- spec/spec_helper.rb
|
64
|
-
- spec/lib/basic_assumption_spec.rb
|
65
|
-
- spec/lib/basic_assumption/configuration_spec.rb
|
66
|
-
- spec/lib/basic_assumption/default_assumption_spec.rb
|
67
|
-
- spec/lib/basic_assumption/default_assumption/base_spec.rb
|
68
|
-
- spec/lib/basic_assumption/default_assumption/cautious_rails_spec.rb
|
69
|
-
- spec/lib/basic_assumption/default_assumption/class_resolver_spec.rb
|
70
|
-
- spec/lib/basic_assumption/default_assumption/rails_spec.rb
|
71
|
-
- spec/lib/basic_assumption/default_assumption/restful_rails_spec.rb
|
72
60
|
has_rdoc: true
|
73
61
|
homepage: http://github.com/mattyoho/basic_assumption
|
74
62
|
licenses: []
|
@@ -79,27 +67,23 @@ rdoc_options:
|
|
79
67
|
require_paths:
|
80
68
|
- lib
|
81
69
|
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
70
|
requirements:
|
84
71
|
- - ">="
|
85
72
|
- !ruby/object:Gem::Version
|
86
|
-
hash: 3
|
87
73
|
segments:
|
88
74
|
- 0
|
89
75
|
version: "0"
|
90
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
77
|
requirements:
|
93
78
|
- - ">="
|
94
79
|
- !ruby/object:Gem::Version
|
95
|
-
hash: 3
|
96
80
|
segments:
|
97
81
|
- 0
|
98
82
|
version: "0"
|
99
83
|
requirements: []
|
100
84
|
|
101
85
|
rubyforge_project:
|
102
|
-
rubygems_version: 1.3.
|
86
|
+
rubygems_version: 1.3.6
|
103
87
|
signing_key:
|
104
88
|
specification_version: 3
|
105
89
|
summary: Allows a simple declarative idiom for accessing resources in controllers and views, cleaning up controller code and removing the need to explicitly reference instance variables inside views. Custom default behavior can be defined in a pluggable manner.
|