benhoskings-hammock 0.2.11.1 → 0.2.11.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.
Files changed (5) hide show
  1. data/History.txt +9 -0
  2. data/Rakefile +1 -1
  3. data/hammock.gemspec +5 -5
  4. data/lib/hammock.rb +1 -1
  5. metadata +3 -3
data/History.txt CHANGED
@@ -1,8 +1,17 @@
1
+ == 0.2.11.2 2009-03-24
2
+ Loosened Rails dependency from ~> 2.2.2 to 2.2.
3
+
4
+
5
+ == 0.2.11.1 2009-03-24
6
+ Fixed 'railslol' typo in Rakefile preventing installation. (lol)
7
+
8
+
1
9
  == 0.2.11 2009-03-23
2
10
  Added hammock include hook to hammock.rb, to sidestep changed ApplicationController load behaviour in Rails 2.3.
3
11
  Added pagination support to the index route.
4
12
  Changed #mdl and #mdl_name implementations to class methods, and re-aliased them as instance methods.
5
13
 
14
+
6
15
  == 0.2.10 2009-03-17
7
16
  Added AR::Base.suggest_scope for narrowing the scope in the suggest action.
8
17
  Changed identifier in AR::Base#concise_inspect from #id to #to_param.
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ $hoe = Hoe.new('hammock', Hammock::VERSION) do |p|
9
9
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
10
10
  p.rubyforge_name = p.name
11
11
  p.extra_deps = [
12
- ['rails','~> 2.2.2'],
12
+ ['rails','~> 2.2'],
13
13
  ['benhoskings-ambitious-activerecord','~> 0.1.3.5'],
14
14
  ]
15
15
  p.extra_dev_deps = [
data/hammock.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{hammock}
5
- s.version = "0.2.11.1"
5
+ s.version = "0.2.11.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ben Hoskings"]
9
- s.date = %q{2009-03-23}
9
+ s.date = %q{2009-03-24}
10
10
  s.description = %q{Hammock is a Rails plugin that eliminates redundant code in a very RESTful manner. It does this in lots in lots of different places, but in one manner: it encourages specification in place of implementation. Hammock enforces RESTful resource access by abstracting actions away from the controller in favour of a clean, model-like callback system. Hammock tackles the hard and soft sides of security at once with a scoping security system on your models. Specify who can verb what resources under what conditions once, and everything else - the actual security, link generation, index filtering - just happens. Hammock inspects your routes and resources to generate a routing tree for each resource. Parent resources in a nested route are handled transparently at every point - record retrieval, creation, and linking. It makes more sense when you see how it works though, so check out the screencast!}
11
11
  s.email = ["ben@hoskings.net"]
12
12
  s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc", "misc/scaffold.txt"]
@@ -24,18 +24,18 @@ Gem::Specification.new do |s|
24
24
  s.specification_version = 2
25
25
 
26
26
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
27
- s.add_runtime_dependency(%q<rails>, ["~> 2.2.2"])
27
+ s.add_runtime_dependency(%q<rails>, ["~> 2.2"])
28
28
  s.add_runtime_dependency(%q<benhoskings-ambitious-activerecord>, ["~> 0.1.3.5"])
29
29
  s.add_development_dependency(%q<newgem>, [">= 1.3.0"])
30
30
  s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
31
31
  else
32
- s.add_dependency(%q<rails>, ["~> 2.2.2"])
32
+ s.add_dependency(%q<rails>, ["~> 2.2"])
33
33
  s.add_dependency(%q<benhoskings-ambitious-activerecord>, ["~> 0.1.3.5"])
34
34
  s.add_dependency(%q<newgem>, [">= 1.3.0"])
35
35
  s.add_dependency(%q<hoe>, [">= 1.8.0"])
36
36
  end
37
37
  else
38
- s.add_dependency(%q<rails>, ["~> 2.2.2"])
38
+ s.add_dependency(%q<rails>, ["~> 2.2"])
39
39
  s.add_dependency(%q<benhoskings-ambitious-activerecord>, ["~> 0.1.3.5"])
40
40
  s.add_dependency(%q<newgem>, [">= 1.3.0"])
41
41
  s.add_dependency(%q<hoe>, [">= 1.8.0"])
data/lib/hammock.rb CHANGED
@@ -8,7 +8,7 @@ Dir.glob("#{File.dirname __FILE__}/hammock/**/*.rb").each {|dep|
8
8
  } if defined?(RAILS_ROOT) # Loading Hammock components under 'rake package' fails.
9
9
 
10
10
  module Hammock
11
- VERSION = '0.2.11.1'
11
+ VERSION = '0.2.11.2'
12
12
 
13
13
  def self.included base # :nodoc:
14
14
  Hammock.constants.map {|constant_name|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benhoskings-hammock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11.1
4
+ version: 0.2.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Hoskings
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-23 00:00:00 -07:00
12
+ date: 2009-03-24 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 2.2.2
23
+ version: "2.2"
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: benhoskings-ambitious-activerecord