attachment_magick 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,11 +1,11 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "rails", "3.0.3"
3
+ gem "rails", "3.0.7"
4
4
  gem "capybara", ">= 0.4.0"
5
5
  gem "sqlite3-ruby", :require => "sqlite3"
6
6
 
7
- gem 'mongoid', '>=2.0.0.rc.6'
8
- gem 'bson_ext', '>= 1.2.0'
7
+ gem "mongoid", "~> 2.0"
8
+ gem "bson_ext", "~> 1.3"
9
9
  gem 'nokogiri'
10
10
  gem 'hpricot'
11
11
  gem 'colorific'
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attachment_magick (0.2.1)
5
- dragonfly (>= 0.8.1)
4
+ attachment_magick (0.2.3)
5
+ dragonfly (>= 0.9.0)
6
6
  jquery-rails (>= 0.2.7)
7
7
  marcosinger-auto_html (>= 1.3.4)
8
8
  rack-cache (>= 1.0)
@@ -11,32 +11,32 @@ GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
13
  abstract (1.0.0)
14
- actionmailer (3.0.3)
15
- actionpack (= 3.0.3)
16
- mail (~> 2.2.9)
17
- actionpack (3.0.3)
18
- activemodel (= 3.0.3)
19
- activesupport (= 3.0.3)
14
+ actionmailer (3.0.7)
15
+ actionpack (= 3.0.7)
16
+ mail (~> 2.2.15)
17
+ actionpack (3.0.7)
18
+ activemodel (= 3.0.7)
19
+ activesupport (= 3.0.7)
20
20
  builder (~> 2.1.2)
21
21
  erubis (~> 2.6.6)
22
- i18n (~> 0.4)
22
+ i18n (~> 0.5.0)
23
23
  rack (~> 1.2.1)
24
- rack-mount (~> 0.6.13)
25
- rack-test (~> 0.5.6)
24
+ rack-mount (~> 0.6.14)
25
+ rack-test (~> 0.5.7)
26
26
  tzinfo (~> 0.3.23)
27
- activemodel (3.0.3)
28
- activesupport (= 3.0.3)
27
+ activemodel (3.0.7)
28
+ activesupport (= 3.0.7)
29
29
  builder (~> 2.1.2)
30
- i18n (~> 0.4)
31
- activerecord (3.0.3)
32
- activemodel (= 3.0.3)
33
- activesupport (= 3.0.3)
30
+ i18n (~> 0.5.0)
31
+ activerecord (3.0.7)
32
+ activemodel (= 3.0.7)
33
+ activesupport (= 3.0.7)
34
34
  arel (~> 2.0.2)
35
35
  tzinfo (~> 0.3.23)
36
- activeresource (3.0.3)
37
- activemodel (= 3.0.3)
38
- activesupport (= 3.0.3)
39
- activesupport (3.0.3)
36
+ activeresource (3.0.7)
37
+ activemodel (= 3.0.7)
38
+ activesupport (= 3.0.7)
39
+ activesupport (3.0.7)
40
40
  archive-tar-minitar (0.5.2)
41
41
  arel (2.0.9)
42
42
  bson (1.3.0)
@@ -59,7 +59,8 @@ GEM
59
59
  ruby-progressbar (>= 0.0.9)
60
60
  columnize (0.3.2)
61
61
  culerity (0.2.15)
62
- dragonfly (0.8.2)
62
+ dragonfly (0.9.0)
63
+ rack
63
64
  rack
64
65
  erubis (2.6.6)
65
66
  abstract (>= 1.0.0)
@@ -67,20 +68,21 @@ GEM
67
68
  rake (>= 0.8.7)
68
69
  hpricot (0.8.4)
69
70
  i18n (0.5.0)
70
- jquery-rails (0.2.7)
71
+ jquery-rails (1.0)
71
72
  rails (~> 3.0)
72
- thor (~> 0.14.4)
73
+ thor (~> 0.14)
73
74
  json_pure (1.5.1)
74
75
  linecache19 (0.5.12)
75
76
  ruby_core_source (>= 0.1.4)
76
- mail (2.2.15)
77
+ mail (2.2.19)
77
78
  activesupport (>= 2.3.6)
78
79
  i18n (>= 0.4.0)
79
80
  mime-types (~> 1.16)
80
81
  treetop (~> 1.4.8)
81
- marcosinger-auto_html (1.3.4)
82
+ marcosinger-auto_html (1.3.5)
83
+ hpricot (>= 0.8.4)
82
84
  mime-types (1.16)
83
- minitest (2.0.2)
85
+ minitest (2.1.0)
84
86
  mongo (1.3.0)
85
87
  bson (>= 1.3.0)
86
88
  mongoid (2.0.1)
@@ -91,23 +93,23 @@ GEM
91
93
  nokogiri (1.4.4)
92
94
  polyglot (0.3.1)
93
95
  rack (1.2.2)
94
- rack-cache (1.0)
96
+ rack-cache (1.0.1)
95
97
  rack (>= 0.4)
96
98
  rack-mount (0.6.14)
97
99
  rack (>= 1.0.0)
98
100
  rack-test (0.5.7)
99
101
  rack (>= 1.0)
100
- rails (3.0.3)
101
- actionmailer (= 3.0.3)
102
- actionpack (= 3.0.3)
103
- activerecord (= 3.0.3)
104
- activeresource (= 3.0.3)
105
- activesupport (= 3.0.3)
102
+ rails (3.0.7)
103
+ actionmailer (= 3.0.7)
104
+ actionpack (= 3.0.7)
105
+ activerecord (= 3.0.7)
106
+ activeresource (= 3.0.7)
107
+ activesupport (= 3.0.7)
106
108
  bundler (~> 1.0)
107
- railties (= 3.0.3)
108
- railties (3.0.3)
109
- actionpack (= 3.0.3)
110
- activesupport (= 3.0.3)
109
+ railties (= 3.0.7)
110
+ railties (3.0.7)
111
+ actionpack (= 3.0.7)
112
+ activesupport (= 3.0.7)
111
113
  rake (>= 0.8.7)
112
114
  thor (~> 0.14.4)
113
115
  rake (0.8.7)
@@ -119,11 +121,11 @@ GEM
119
121
  columnize (>= 0.3.1)
120
122
  linecache19 (>= 0.5.11)
121
123
  ruby-debug-base19 (>= 0.11.19)
122
- ruby-progressbar (0.0.9)
124
+ ruby-progressbar (0.0.10)
123
125
  ruby_core_source (0.1.5)
124
126
  archive-tar-minitar (>= 0.5.2)
125
127
  rubyzip (0.9.4)
126
- selenium-webdriver (0.1.4)
128
+ selenium-webdriver (0.2.0)
127
129
  childprocess (>= 0.1.7)
128
130
  ffi (>= 1.0.7)
129
131
  json_pure
@@ -137,9 +139,9 @@ GEM
137
139
  thor (0.14.6)
138
140
  treetop (1.4.9)
139
141
  polyglot (>= 0.3.1)
140
- tzinfo (0.3.26)
142
+ tzinfo (0.3.27)
141
143
  will_paginate (3.0.pre2)
142
- xpath (0.1.3)
144
+ xpath (0.1.4)
143
145
  nokogiri (~> 1.3)
144
146
 
145
147
  PLATFORMS
@@ -147,14 +149,14 @@ PLATFORMS
147
149
 
148
150
  DEPENDENCIES
149
151
  attachment_magick!
150
- bson_ext (>= 1.2.0)
152
+ bson_ext (~> 1.3)
151
153
  capybara (>= 0.4.0)
152
154
  colorific
153
155
  hpricot
154
156
  mime-types (>= 1.16)
155
- mongoid (>= 2.0.0.rc.6)
157
+ mongoid (~> 2.0)
156
158
  nokogiri
157
- rails (= 3.0.3)
159
+ rails (= 3.0.7)
158
160
  ruby-debug19
159
161
  simplecov
160
162
  sqlite3-ruby
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
- == AttachmentMagick
1
+ == Attachment Magick
2
2
 
3
- Attachment Magick is a gem to upload images and videos(vimeo) using swfupload.
3
+ Attachment Magick is a gem to upload images and videos(vimeo and youtube) using swfupload.
4
4
  Supports Mongoid and ActiveRecord.
5
5
 
6
6
  == Installation
@@ -16,7 +16,7 @@ After the gem installation, run the generator
16
16
 
17
17
  The generator will install swfupload (js and css files) and will create some routes.
18
18
 
19
- And if you using ActiveRecord, run this too
19
+ And if you are using ActiveRecord, run this too
20
20
 
21
21
  rails g attachment_magick:migration
22
22
 
@@ -91,4 +91,12 @@ For customize your list for images
91
91
  attachment_magick do
92
92
  grid_1 "100x100"
93
93
  end
94
- end
94
+ end
95
+
96
+ == Credits
97
+
98
+ Author: [Marco Singer](http://github.com/marcosinger)
99
+ Contributors: [Lucas Renan](http://github.com/lucasrenan), [Carlos Brando](http://github.com/carlosbrando)
100
+
101
+ == See in RubyGems.org
102
+ (http://rubygems.org/gems/attachment_magick)
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency 'dragonfly', '>= 0.8.1'
21
+ s.add_dependency 'dragonfly', '>= 0.9.0'
22
22
  s.add_dependency 'rack-cache', '>= 1.0'
23
23
  s.add_dependency 'jquery-rails', '>= 0.2.7'
24
24
  s.add_dependency 'marcosinger-auto_html', '>= 1.3.4'
@@ -1,5 +1,4 @@
1
1
  require "attachment_magick/configuration/configuration"
2
- require "attachment_magick/dragonfly/init"
3
2
  require "attachment_magick/dsl"
4
3
  require 'attachment_magick/railtie'
5
4
  require 'active_support/concern'
@@ -6,5 +6,9 @@ module AttachmentMagick
6
6
  initializer 'attachment_magick.helper' do |app|
7
7
  ActionView::Base.send :include, AttachmentMagickHelper
8
8
  end
9
+
10
+ initializer 'attachment_magick_dragonfly' do |app|
11
+ require "attachment_magick/dragonfly/init"
12
+ end
9
13
  end
10
14
  end
@@ -1,3 +1,3 @@
1
1
  module AttachmentMagick
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -16,7 +16,7 @@ module Dummy
16
16
 
17
17
  config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails application)
18
18
 
19
- config.middleware.insert_after 'Rack::Lock', 'Dragonfly::Middleware', :images, '/media'
19
+ config.middleware.insert 0, 'Dragonfly::Middleware', :images
20
20
  config.middleware.insert_before 'Dragonfly::Middleware', 'Rack::Cache', {
21
21
  :verbose => true,
22
22
  :metastore => "file:#{Rails.root}/tmp/dragonfly/cache/meta",
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: attachment_magick
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.2
5
+ version: 0.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Marco Ant\xC3\xB4nio Singer"
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-04-09 00:00:00 -03:00
14
+ date: 2011-05-11 00:00:00 -03:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -22,7 +22,7 @@ dependencies:
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: 0.8.1
25
+ version: 0.9.0
26
26
  type: :runtime
27
27
  version_requirements: *id001
28
28
  - !ruby/object:Gem::Dependency