ruby_gallery 0.2.7 → 0.2.9
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/.project +12 -0
- data/Gemfile.lock +14 -19
- data/VERSION +2 -1
- data/app/helpers/ruby_gallery/ruby_gallery_helper.rb +1 -1
- data/app/models/album_photo.rb +1 -1
- data/ruby_gallery-0.2.8.gem +0 -0
- data/ruby_gallery.gemspec +5 -3
- metadata +6 -4
data/.project
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>ruby_gallery</name>
|
|
4
|
+
<comment></comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
</buildSpec>
|
|
9
|
+
<natures>
|
|
10
|
+
<nature>com.aptana.projects.webnature</nature>
|
|
11
|
+
</natures>
|
|
12
|
+
</projectDescription>
|
data/Gemfile.lock
CHANGED
|
@@ -23,13 +23,11 @@ GEM
|
|
|
23
23
|
i18n (= 0.6.1)
|
|
24
24
|
multi_json (~> 1.0)
|
|
25
25
|
arel (3.0.2)
|
|
26
|
-
bourbon (3.
|
|
26
|
+
bourbon (3.1.8)
|
|
27
27
|
sass (>= 3.2.0)
|
|
28
28
|
thor
|
|
29
|
-
bourne (1.4.0)
|
|
30
|
-
mocha (~> 0.13.2)
|
|
31
29
|
builder (3.0.4)
|
|
32
|
-
chunky_png (1.2.
|
|
30
|
+
chunky_png (1.2.8)
|
|
33
31
|
climate_control (0.0.3)
|
|
34
32
|
activesupport (>= 3.0)
|
|
35
33
|
cocaine (0.5.1)
|
|
@@ -43,7 +41,7 @@ GEM
|
|
|
43
41
|
erubis (2.7.0)
|
|
44
42
|
fssm (0.2.10)
|
|
45
43
|
git (1.2.5)
|
|
46
|
-
hike (1.2.
|
|
44
|
+
hike (1.2.3)
|
|
47
45
|
i18n (0.6.1)
|
|
48
46
|
jeweler (1.8.4)
|
|
49
47
|
bundler (~> 1.0)
|
|
@@ -54,12 +52,9 @@ GEM
|
|
|
54
52
|
jquery-fileupload-rails (0.4.1)
|
|
55
53
|
actionpack (>= 3.1)
|
|
56
54
|
railties (>= 3.1)
|
|
57
|
-
json (1.
|
|
58
|
-
metaclass (0.0.1)
|
|
55
|
+
json (1.8.0)
|
|
59
56
|
mime-types (1.23)
|
|
60
|
-
|
|
61
|
-
metaclass (~> 0.0.1)
|
|
62
|
-
multi_json (1.7.1)
|
|
57
|
+
multi_json (1.7.6)
|
|
63
58
|
paperclip (3.0.4)
|
|
64
59
|
activemodel (>= 3.0.0)
|
|
65
60
|
activerecord (>= 3.0.0)
|
|
@@ -80,28 +75,28 @@ GEM
|
|
|
80
75
|
rake (>= 0.8.7)
|
|
81
76
|
rdoc (~> 3.4)
|
|
82
77
|
thor (>= 0.14.6, < 2.0)
|
|
83
|
-
rake (10.0.
|
|
78
|
+
rake (10.0.4)
|
|
84
79
|
rdoc (3.12.2)
|
|
85
80
|
json (~> 1.4)
|
|
86
|
-
sass (3.2.
|
|
87
|
-
shoulda (3.
|
|
81
|
+
sass (3.2.9)
|
|
82
|
+
shoulda (3.5.0)
|
|
88
83
|
shoulda-context (~> 1.0, >= 1.0.1)
|
|
89
|
-
shoulda-matchers (
|
|
90
|
-
shoulda-context (1.
|
|
91
|
-
shoulda-matchers (
|
|
84
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
|
85
|
+
shoulda-context (1.1.2)
|
|
86
|
+
shoulda-matchers (2.2.0)
|
|
92
87
|
activesupport (>= 3.0.0)
|
|
93
|
-
bourne (~> 1.3)
|
|
94
88
|
sprockets (2.2.2)
|
|
95
89
|
hike (~> 1.2)
|
|
96
90
|
multi_json (~> 1.0)
|
|
97
91
|
rack (~> 1.0)
|
|
98
92
|
tilt (~> 1.1, != 1.3.0)
|
|
99
|
-
thor (0.
|
|
100
|
-
tilt (1.
|
|
93
|
+
thor (0.18.1)
|
|
94
|
+
tilt (1.4.1)
|
|
101
95
|
tzinfo (0.3.37)
|
|
102
96
|
|
|
103
97
|
PLATFORMS
|
|
104
98
|
ruby
|
|
99
|
+
x86-mingw32
|
|
105
100
|
|
|
106
101
|
DEPENDENCIES
|
|
107
102
|
bourbon
|
data/VERSION
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.9
|
|
2
|
+
|
data/app/models/album_photo.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
class AlbumPhoto < ActiveRecord::Base
|
|
2
2
|
attr_accessible :photo
|
|
3
3
|
belongs_to :album_photoable, polymorphic: true
|
|
4
|
-
has_attached_file :photo, :styles => { :medium => "300x300>", :thumb => "100x100>" }
|
|
4
|
+
has_attached_file :photo, :styles => { :medium => "300x300>", :thumb => "100x100>" }, url: "/system/:attachment/:id/:style/:filename"
|
|
5
5
|
end
|
|
File without changes
|
data/ruby_gallery.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "ruby_gallery"
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.9"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Peter Dang"]
|
|
12
|
-
s.date = "2013-
|
|
12
|
+
s.date = "2013-06-14"
|
|
13
13
|
s.description = "Upload image use gallery"
|
|
14
14
|
s.email = "peter@rubify.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.files = [
|
|
20
20
|
".DS_Store",
|
|
21
21
|
".document",
|
|
22
|
+
".project",
|
|
22
23
|
"Gemfile",
|
|
23
24
|
"Gemfile.lock",
|
|
24
25
|
"LICENSE.txt",
|
|
@@ -64,6 +65,7 @@ Gem::Specification.new do |s|
|
|
|
64
65
|
"lib/generators/ruby_gallery/ruby_gallery_generator.rb",
|
|
65
66
|
"lib/ruby_gallery.rb",
|
|
66
67
|
"lib/ruby_gallery/attachments_controller.rb",
|
|
68
|
+
"ruby_gallery-0.2.8.gem",
|
|
67
69
|
"ruby_gallery.gemspec",
|
|
68
70
|
"test/helper.rb",
|
|
69
71
|
"test/test_ruby_gallery.rb"
|
|
@@ -71,7 +73,7 @@ Gem::Specification.new do |s|
|
|
|
71
73
|
s.homepage = "http://github.com/dangluan/ruby_gallery"
|
|
72
74
|
s.licenses = ["MIT"]
|
|
73
75
|
s.require_paths = ["lib"]
|
|
74
|
-
s.rubygems_version = "1.8.
|
|
76
|
+
s.rubygems_version = "1.8.25"
|
|
75
77
|
s.summary = "Help to create gallery"
|
|
76
78
|
|
|
77
79
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_gallery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.9
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bourbon
|
|
@@ -149,6 +149,7 @@ extra_rdoc_files:
|
|
|
149
149
|
files:
|
|
150
150
|
- .DS_Store
|
|
151
151
|
- .document
|
|
152
|
+
- .project
|
|
152
153
|
- Gemfile
|
|
153
154
|
- Gemfile.lock
|
|
154
155
|
- LICENSE.txt
|
|
@@ -194,6 +195,7 @@ files:
|
|
|
194
195
|
- lib/generators/ruby_gallery/ruby_gallery_generator.rb
|
|
195
196
|
- lib/ruby_gallery.rb
|
|
196
197
|
- lib/ruby_gallery/attachments_controller.rb
|
|
198
|
+
- ruby_gallery-0.2.8.gem
|
|
197
199
|
- ruby_gallery.gemspec
|
|
198
200
|
- test/helper.rb
|
|
199
201
|
- test/test_ruby_gallery.rb
|
|
@@ -212,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
212
214
|
version: '0'
|
|
213
215
|
segments:
|
|
214
216
|
- 0
|
|
215
|
-
hash:
|
|
217
|
+
hash: -1721970248506103662
|
|
216
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
219
|
none: false
|
|
218
220
|
requirements:
|
|
@@ -221,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
221
223
|
version: '0'
|
|
222
224
|
requirements: []
|
|
223
225
|
rubyforge_project:
|
|
224
|
-
rubygems_version: 1.8.
|
|
226
|
+
rubygems_version: 1.8.25
|
|
225
227
|
signing_key:
|
|
226
228
|
specification_version: 3
|
|
227
229
|
summary: Help to create gallery
|