hammock 0.5.5 → 0.5.6
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.
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/hammock.gemspec +2 -2
- data/lib/hammock.rb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
== 0.5.6 2010-01-07
|
|
2
|
+
Fixed Hammock.loaded_from_gem? to work for any gem path, not just `gem env gemdir`.
|
|
3
|
+
|
|
4
|
+
|
|
1
5
|
== 0.5.5 2009-12-14
|
|
2
6
|
Attributes in #ajaxinate link_data render as hashes now, not strings of json hashes, so they're converted to json properly.
|
|
3
7
|
Send record/form/passed attributes in non-GET ajax requests.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.6
|
data/hammock.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{hammock}
|
|
8
|
-
s.version = "0.5.
|
|
8
|
+
s.version = "0.5.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ben Hoskings"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2010-01-07}
|
|
13
13
|
s.description = %q{}
|
|
14
14
|
s.email = %q{ben@hoskings.net}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/hammock.rb
CHANGED
|
@@ -4,7 +4,7 @@ require 'ambition'
|
|
|
4
4
|
require 'ambition/adapters/active_record'
|
|
5
5
|
|
|
6
6
|
module Hammock
|
|
7
|
-
VERSION = '0.5.
|
|
7
|
+
VERSION = '0.5.6'
|
|
8
8
|
IncludeTarget = ActionController::Base
|
|
9
9
|
|
|
10
10
|
def self.included base # :nodoc:
|
|
@@ -13,7 +13,7 @@ module Hammock
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def self.loaded_from_gem?
|
|
16
|
-
File.dirname(__FILE__)[
|
|
16
|
+
File.dirname(__FILE__)[/gems\/hammock-[\d.]+\//]
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
# Trigger a load of every model by trying to access the class we expect in
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hammock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.6
|
|
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:
|
|
12
|
+
date: 2010-01-07 00:00:00 +10:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|