attachment_magick 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -10,4 +10,5 @@ tmp/
10
10
  coverage/
11
11
  ._*
12
12
  *.gem
13
- .rvmrc
13
+ .rvmrc
14
+ vendor/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attachment_magick (0.3.3)
4
+ attachment_magick (0.3.4)
5
5
  dragonfly (>= 0.9.10)
6
6
  jquery-rails (>= 0.2.7)
7
7
  marcosinger-auto_html (>= 1.3.6)
@@ -14,6 +14,8 @@ if defined? Mongoid::Document
14
14
 
15
15
  mongo_yml_path = Rails.env.test? ? "#{File.expand_path('../../../../test/dummy/config', __FILE__)}" : "config"
16
16
  yaml_file = YAML.load_file(File.join(mongo_yml_path, 'mongoid.yml'))[Rails.env]
17
+ path = File.join(mongo_yml_path, 'mongoid.yml')
18
+ yaml_file = YAML.load(ERB.new(File.new(path).read).result)[Rails.env]
17
19
 
18
20
  app.datastore = Dragonfly::DataStorage::MongoDataStore.new
19
21
  app.datastore.configure do |c|
@@ -25,4 +27,4 @@ if defined? Mongoid::Document
25
27
  end
26
28
 
27
29
  app.define_macro_on_include(Mongoid::Document, :image_accessor)
28
- end
30
+ end
@@ -1,3 +1,3 @@
1
1
  module AttachmentMagick
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attachment_magick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-05-15 00:00:00.000000000 Z
14
+ date: 2012-07-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: dragonfly
18
- requirement: &2153159200 !ruby/object:Gem::Requirement
18
+ requirement: &2161479760 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 0.9.10
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2153159200
26
+ version_requirements: *2161479760
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack-cache
29
- requirement: &2153158160 !ruby/object:Gem::Requirement
29
+ requirement: &2161478640 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '1.1'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2153158160
37
+ version_requirements: *2161478640
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: jquery-rails
40
- requirement: &2153157300 !ruby/object:Gem::Requirement
40
+ requirement: &2161477880 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 0.2.7
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *2153157300
48
+ version_requirements: *2161477880
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: marcosinger-auto_html
51
- requirement: &2153156620 !ruby/object:Gem::Requirement
51
+ requirement: &2161477120 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 1.3.6
57
57
  type: :runtime
58
58
  prerelease: false
59
- version_requirements: *2153156620
59
+ version_requirements: *2161477120
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: marcosinger-css_parser
62
- requirement: &2153155960 !ruby/object:Gem::Requirement
62
+ requirement: &2161475440 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: 1.3.0
68
68
  type: :runtime
69
69
  prerelease: false
70
- version_requirements: *2153155960
70
+ version_requirements: *2161475440
71
71
  description:
72
72
  email:
73
73
  - markaum@gmail.com