spree_banner 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +1 -1
  2. data/app/models/spree/banner.rb +1 -1
  3. metadata +69 -95
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  SpreeBanner
2
2
  ===================
3
3
 
4
- Add banner for Spree Commerce Shop
4
+ Add banner for Spree Commerce Shop [compatible with Amazon S3]
5
5
 
6
6
 
7
7
  Basic Installation
@@ -21,7 +21,7 @@ module Spree
21
21
  scope :enable, lambda { |category| {:conditions => {:enabled => true, :category => category}} }
22
22
 
23
23
  # Load S3 settings
24
- if (Rails.root.join('config', 's3.yml'))
24
+ if (!YAML.load_file(Rails.root.join('config', 's3.yml'))[Rails.env].blank?)
25
25
  S3_OPTIONS = {
26
26
  :storage => 's3',
27
27
  :s3_credentials => Rails.root.join('config', 's3.yml')
metadata CHANGED
@@ -1,103 +1,88 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: spree_banner
3
- version: !ruby/object:Gem::Version
4
- hash: 17
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.4
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 3
10
- version: 1.0.3
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Damiano Giacomello
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-16 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-04-16 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: spree_core
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70220669461800 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: spree_auth
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70220669461800
25
+ - !ruby/object:Gem::Dependency
26
+ name: spree_auth
27
+ requirement: &70220669460000 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
46
33
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: formtastic
50
34
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70220669460000
36
+ - !ruby/object:Gem::Dependency
37
+ name: formtastic
38
+ requirement: &70220669458240 !ruby/object:Gem::Requirement
52
39
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
60
44
  type: :runtime
61
- version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- name: paperclip
64
45
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70220669458240
47
+ - !ruby/object:Gem::Dependency
48
+ name: paperclip
49
+ requirement: &70220669455100 !ruby/object:Gem::Requirement
66
50
  none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 27
71
- segments:
72
- - 2
73
- - 5
74
- - 0
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
75
54
  version: 2.5.0
76
55
  type: :runtime
77
- version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: rspec-rails
80
56
  prerelease: false
81
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70220669455100
58
+ - !ruby/object:Gem::Dependency
59
+ name: aws-sdk
60
+ requirement: &70220669454120 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 1.3.4
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70220669454120
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-rails
71
+ requirement: &70220669453340 !ruby/object:Gem::Requirement
82
72
  none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
90
77
  type: :development
91
- version_requirements: *id005
78
+ prerelease: false
79
+ version_requirements: *70220669453340
92
80
  description:
93
81
  email: damiano.giacomello@diginess.it
94
82
  executables: []
95
-
96
83
  extensions: []
97
-
98
84
  extra_rdoc_files: []
99
-
100
- files:
85
+ files:
101
86
  - README.md
102
87
  - LICENSE
103
88
  - lib/generators/spree_banner/install/install_generator.rb
@@ -122,38 +107,27 @@ files:
122
107
  - config/routes.rb
123
108
  homepage:
124
109
  licenses: []
125
-
126
110
  post_install_message:
127
111
  rdoc_options: []
128
-
129
- require_paths:
112
+ require_paths:
130
113
  - lib
131
- required_ruby_version: !ruby/object:Gem::Requirement
114
+ required_ruby_version: !ruby/object:Gem::Requirement
132
115
  none: false
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- hash: 57
137
- segments:
138
- - 1
139
- - 8
140
- - 7
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
141
119
  version: 1.8.7
142
- required_rubygems_version: !ruby/object:Gem::Requirement
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
121
  none: false
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- hash: 3
148
- segments:
149
- - 0
150
- version: "0"
151
- requirements:
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ requirements:
152
127
  - none
153
128
  rubyforge_project:
154
- rubygems_version: 1.8.21
129
+ rubygems_version: 1.8.10
155
130
  signing_key:
156
131
  specification_version: 3
157
132
  summary: Extension to manage banner for you Spree Shop
158
133
  test_files: []
159
-