attachment_magic 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ module AttachmentMagic # :nodoc:
23
23
 
24
24
  # Used as the base path that #public_filename strips off full_filename to create the public path
25
25
  def base_path
26
- @base_path ||= Rails.root.join('public')
26
+ @base_path ||= Rails.root.join('public').to_s
27
27
  end
28
28
 
29
29
  # The attachment ID used in the full path of a file
@@ -1,3 +1,3 @@
1
1
  module AttachmentMagic
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attachment_magic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
4
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- version: 0.1.0
5
+ version: 0.1.1
11
6
  platform: ruby
12
7
  authors:
13
8
  - Thomas von Deyen
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-08-09 00:00:00 +02:00
13
+ date: 2011-10-24 00:00:00 +02:00
19
14
  default_executable:
20
15
  dependencies:
21
16
  - !ruby/object:Gem::Dependency
@@ -26,18 +21,9 @@ dependencies:
26
21
  requirements:
27
22
  - - <
28
23
  - !ruby/object:Gem::Version
29
- hash: 5
30
- segments:
31
- - 3
32
- - 1
33
24
  version: "3.1"
34
25
  - - ">="
35
26
  - !ruby/object:Gem::Version
36
- hash: 9
37
- segments:
38
- - 3
39
- - 0
40
- - 7
41
27
  version: 3.0.7
42
28
  type: :runtime
43
29
  version_requirements: *id001
@@ -49,11 +35,6 @@ dependencies:
49
35
  requirements:
50
36
  - - ~>
51
37
  - !ruby/object:Gem::Version
52
- hash: 31
53
- segments:
54
- - 0
55
- - 1
56
- - 2
57
38
  version: 0.1.2
58
39
  type: :runtime
59
40
  version_requirements: *id002
@@ -88,18 +69,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
69
  requirements:
89
70
  - - ">="
90
71
  - !ruby/object:Gem::Version
91
- hash: 3
92
- segments:
93
- - 0
94
72
  version: "0"
95
73
  required_rubygems_version: !ruby/object:Gem::Requirement
96
74
  none: false
97
75
  requirements:
98
76
  - - ">="
99
77
  - !ruby/object:Gem::Version
100
- hash: 3
101
- segments:
102
- - 0
103
78
  version: "0"
104
79
  requirements: []
105
80