spree_watermark 0.50.0 → 0.50.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -7,3 +7,5 @@
7
7
  tmp
8
8
  nbproject
9
9
  *.swp
10
+ pkg/
11
+
data/README.markdown ADDED
@@ -0,0 +1,21 @@
1
+ SpreeWatermark
2
+ ==============
3
+
4
+ This adds a watermarking processor to spree product images.
5
+ When the image is processed by paperclip, it will also be watermarked
6
+ with the watermark images (if it exists) located at `public/images/watermarks/`
7
+ named for the image size (large.png, product.png, small.png, tiny.png).
8
+
9
+ Install
10
+ =======
11
+
12
+ Add `gem 'spree_watermark'` to your gem file and place your watermark images
13
+ in `public/images/watermarks/`
14
+
15
+ Customization
16
+ =============
17
+
18
+ Override `app/models/image_decorator.rb` in your main app and plug in your own `has_attached_file` call.
19
+
20
+
21
+ Copyright (c) 2011 Azimuth Internet Services & Christopher Maujean, released under the New BSD License
@@ -1,7 +1,7 @@
1
1
  # Based on
2
2
  # https://github.com/ng/paperclip-watermarking-app/blob/master/lib/paperclip_processors/watermark.rb
3
3
  # Modified by Laurynas Butkus
4
- # Copied from https://gist.github.com/708077 into rtw_theme by Christopher Maujean
4
+ # Copied from https://gist.github.com/708077 into spree_watermark by Christopher Maujean
5
5
 
6
6
  module Paperclip
7
7
  class Watermark < Processor
@@ -1,20 +1,19 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.platform = Gem::Platform::RUBY
3
3
  s.name = 'spree_watermark'
4
- s.version = '0.50.0'
5
- s.summary = 'adds watermarking to incoming images'
6
- s.description = 'Adds watermarking to incoming images'
4
+ s.version = '0.50.1'
5
+ s.summary = 'adds watermarking to incoming product images'
6
+ s.description = 'Adds watermarking to incoming product images'
7
7
  s.required_ruby_version = '>= 1.9.2'
8
8
  s.author = 'Christopher Maujean'
9
9
  s.email = 'christopher@azimuthonline.com'
10
10
 
11
-
12
11
  s.files = `git ls-files`.split("\n")
13
12
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
13
  s.require_path = 'lib'
15
14
  s.requirements << 'none'
16
15
 
17
- s.has_rdoc = true
16
+ s.has_rdoc = false
18
17
 
19
18
  s.add_dependency('spree_core', '>= 0.50.0')
20
19
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: spree_watermark
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.50.0
5
+ version: 0.50.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Christopher Maujean
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-27 00:00:00 -07:00
13
+ date: 2011-04-28 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: 0.50.0
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
- description: Adds watermarking to incoming images
27
+ description: Adds watermarking to incoming product images
28
28
  email: christopher@azimuthonline.com
29
29
  executables: []
30
30
 
@@ -35,7 +35,7 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - .gitignore
37
37
  - LICENSE
38
- - README.md
38
+ - README.markdown
39
39
  - Rakefile
40
40
  - app/models/image_decorator.rb
41
41
  - config/routes.rb
@@ -73,6 +73,6 @@ rubyforge_project:
73
73
  rubygems_version: 1.6.2
74
74
  signing_key:
75
75
  specification_version: 3
76
- summary: adds watermarking to incoming images
76
+ summary: adds watermarking to incoming product images
77
77
  test_files:
78
78
  - spec/spec_helper.rb
data/README.md DELETED
@@ -1,13 +0,0 @@
1
- SpreeWatermark
2
- ==============
3
-
4
- Introduction goes here.
5
-
6
-
7
- Example
8
- =======
9
-
10
- Example goes here.
11
-
12
-
13
- Copyright (c) 2011 [name of extension creator], released under the New BSD License