beef-has_assets 0.7.4 → 0.7.5
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/VERSION +1 -1
- data/app/views/admin/flickrs/index.js.rjs +3 -2
- data/beef-has_assets.gemspec +6 -6
- metadata +18 -6
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.5
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
page.replace_html 'flickr-image-container', :partial => 'admin/flickrs/photo', :collection => @flickr_result
|
|
2
|
-
page.insert_html :bottom, 'flickr-image-container',
|
|
3
|
-
page.insert_html :bottom, 'flickr-
|
|
2
|
+
page.insert_html :bottom, 'flickr-image-container', '<div id="flickr-pagination"></div>'
|
|
3
|
+
page.insert_html :bottom, 'flickr-pagination', link_to_remote( '< Previous', :url => admin_flickrs_path(:page => @flickr_result.page - 1), :method => :get) unless @flickr_result.page == 1
|
|
4
|
+
page.insert_html :bottom, 'flickr-pagination', link_to_remote( 'Next >', :url => admin_flickrs_path(:page => @flickr_result.page + 1), :method => :get) unless @flickr_result.page == @flickr_result.pages
|
data/beef-has_assets.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{beef-has_assets}
|
|
8
|
-
s.version = "0.7.
|
|
8
|
+
s.version = "0.7.5"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Steve England"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-07-07}
|
|
13
13
|
s.email = %q{steve@wearebeef.co.uk}
|
|
14
14
|
s.extra_rdoc_files = [
|
|
15
15
|
"LICENSE",
|
|
@@ -72,18 +72,18 @@ Gem::Specification.new do |s|
|
|
|
72
72
|
s.homepage = %q{http://github.com/beef/assets}
|
|
73
73
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
74
74
|
s.require_paths = ["lib"]
|
|
75
|
-
s.rubygems_version = %q{1.3.
|
|
75
|
+
s.rubygems_version = %q{1.3.7}
|
|
76
76
|
s.summary = %q{Rails Engine. Adds uploadable assets to a model and admin area for files}
|
|
77
77
|
s.test_files = [
|
|
78
|
-
"test/
|
|
79
|
-
"test/
|
|
78
|
+
"test/has_assets_test.rb",
|
|
79
|
+
"test/test_helper.rb"
|
|
80
80
|
]
|
|
81
81
|
|
|
82
82
|
if s.respond_to? :specification_version then
|
|
83
83
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
84
84
|
s.specification_version = 3
|
|
85
85
|
|
|
86
|
-
if Gem::Version.new(Gem::
|
|
86
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
87
87
|
else
|
|
88
88
|
end
|
|
89
89
|
else
|
metadata
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beef-has_assets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 9
|
|
5
|
+
prerelease: false
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 7
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.7.5
|
|
5
11
|
platform: ruby
|
|
6
12
|
authors:
|
|
7
13
|
- Steve England
|
|
@@ -9,7 +15,7 @@ autorequire:
|
|
|
9
15
|
bindir: bin
|
|
10
16
|
cert_chain: []
|
|
11
17
|
|
|
12
|
-
date: 2010-
|
|
18
|
+
date: 2010-07-07 00:00:00 +01:00
|
|
13
19
|
default_executable:
|
|
14
20
|
dependencies: []
|
|
15
21
|
|
|
@@ -85,24 +91,30 @@ rdoc_options:
|
|
|
85
91
|
require_paths:
|
|
86
92
|
- lib
|
|
87
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
|
+
none: false
|
|
88
95
|
requirements:
|
|
89
96
|
- - ">="
|
|
90
97
|
- !ruby/object:Gem::Version
|
|
98
|
+
hash: 3
|
|
99
|
+
segments:
|
|
100
|
+
- 0
|
|
91
101
|
version: "0"
|
|
92
|
-
version:
|
|
93
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
|
+
none: false
|
|
94
104
|
requirements:
|
|
95
105
|
- - ">="
|
|
96
106
|
- !ruby/object:Gem::Version
|
|
107
|
+
hash: 3
|
|
108
|
+
segments:
|
|
109
|
+
- 0
|
|
97
110
|
version: "0"
|
|
98
|
-
version:
|
|
99
111
|
requirements: []
|
|
100
112
|
|
|
101
113
|
rubyforge_project:
|
|
102
|
-
rubygems_version: 1.3.
|
|
114
|
+
rubygems_version: 1.3.7
|
|
103
115
|
signing_key:
|
|
104
116
|
specification_version: 3
|
|
105
117
|
summary: Rails Engine. Adds uploadable assets to a model and admin area for files
|
|
106
118
|
test_files:
|
|
107
|
-
- test/test_helper.rb
|
|
108
119
|
- test/has_assets_test.rb
|
|
120
|
+
- test/test_helper.rb
|