beef-has_assets 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -2
- data/VERSION +1 -1
- data/app/helpers/admin/assets_helper.rb +1 -1
- data/has_assets.gemspec +1 -7
- data/rails/init.rb +0 -1
- metadata +4 -24
data/Rakefile
CHANGED
@@ -9,8 +9,6 @@ begin
|
|
9
9
|
gem.email = "steve@wearebeef.co.uk"
|
10
10
|
gem.homepage = "http://github.com/beef/assets"
|
11
11
|
gem.authors = ["Steve England"]
|
12
|
-
gem.add_dependency( "flickr-fu")
|
13
|
-
gem.add_dependency( "mime-types")
|
14
12
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
13
|
end
|
16
14
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.5
|
@@ -33,7 +33,7 @@ module Admin::AssetsHelper
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def flickr_select
|
36
|
-
return unless File.exists?("#{RAILS_ROOT}/config/flickr.yml")
|
36
|
+
return unless defined?(Flickr) and File.exists?("#{RAILS_ROOT}/config/flickr.yml")
|
37
37
|
flickr = Flickr.new("#{RAILS_ROOT}/config/flickr.yml")
|
38
38
|
flickr_params = { :per_page => '12', :page => params[:page], :user_id => Settings.flickr_user_id, :sort => 'date-taken-desc', :tag_mode => 'all' }
|
39
39
|
flickr_params[:tags] = params[:tags] unless params[:tags].blank?
|
data/has_assets.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{has_assets}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.5"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Steve England"]
|
@@ -74,14 +74,8 @@ Gem::Specification.new do |s|
|
|
74
74
|
s.specification_version = 3
|
75
75
|
|
76
76
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
77
|
-
s.add_runtime_dependency(%q<flickr-fu>, [">= 0"])
|
78
|
-
s.add_runtime_dependency(%q<mime-types>, [">= 0"])
|
79
77
|
else
|
80
|
-
s.add_dependency(%q<flickr-fu>, [">= 0"])
|
81
|
-
s.add_dependency(%q<mime-types>, [">= 0"])
|
82
78
|
end
|
83
79
|
else
|
84
|
-
s.add_dependency(%q<flickr-fu>, [">= 0"])
|
85
|
-
s.add_dependency(%q<mime-types>, [">= 0"])
|
86
80
|
end
|
87
81
|
end
|
data/rails/init.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beef-has_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve England
|
@@ -11,27 +11,8 @@ cert_chain: []
|
|
11
11
|
|
12
12
|
date: 2009-09-07 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
name: flickr-fu
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: "0"
|
24
|
-
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: mime-types
|
27
|
-
type: :runtime
|
28
|
-
version_requirement:
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: "0"
|
34
|
-
version:
|
14
|
+
dependencies: []
|
15
|
+
|
35
16
|
description:
|
36
17
|
email: steve@wearebeef.co.uk
|
37
18
|
executables: []
|
@@ -89,7 +70,6 @@ files:
|
|
89
70
|
- test/test_helper.rb
|
90
71
|
has_rdoc: false
|
91
72
|
homepage: http://github.com/beef/assets
|
92
|
-
licenses:
|
93
73
|
post_install_message:
|
94
74
|
rdoc_options:
|
95
75
|
- --charset=UTF-8
|
@@ -110,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
90
|
requirements: []
|
111
91
|
|
112
92
|
rubyforge_project:
|
113
|
-
rubygems_version: 1.
|
93
|
+
rubygems_version: 1.2.0
|
114
94
|
signing_key:
|
115
95
|
specification_version: 3
|
116
96
|
summary: Rails Engine. Adds uploadable assets to a model and admin area for files
|