phrasing_plus 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c37aa5fc15cfa361d73fdd69ca1c3c9714c5b56
4
- data.tar.gz: 8db7d447611199cbf48d9838c12a8c54409db6c5
3
+ metadata.gz: 5940351047667460eaf72f8ff5c6b82809f0bda7
4
+ data.tar.gz: 07babf02b88cf8620991d8e397640c84aa5f46e7
5
5
  SHA512:
6
- metadata.gz: c0f3b416895eccca8d6ed9b717002f5c9b84c29f2c5ef66b5af282fc2a1490762daa581de76dfb587d8cb90313df02826cd2d3ada33b2c40fa421b53a8b9f06e
7
- data.tar.gz: fd05c06feaed51b7d4270f65f36ac677ecd83f6c07ffc837ff353c959f2527ca2b2b476b0122645d19ec14770f5227b5607897f1f7708bf7c05fb38601e86501
6
+ metadata.gz: 523cf3be5ef81212863c30b429a7c279170d72ba6587470bbfb8b8fd38ccfa3735b2ae9196383858634e61e1767e3c65ac3606b3f8b3da4e7bc6488108873b39
7
+ data.tar.gz: 8e784ada895dfeaa946325ed0b975e1af242c4d4a607561be67d892bbc9869e643ea57908dc715af1149369eedc3080777b8d5f7fdc7b99dadc989f747a82975
@@ -1,5 +1,5 @@
1
1
  class PhrasingImageUploader < CarrierWave::Uploader::Base
2
- storage :file
2
+ storage PhrasingPlus.storage
3
3
 
4
4
  def extension_white_list
5
5
  %w(jpg jpeg gif png)
data/lib/phrasing_plus.rb CHANGED
@@ -1,4 +1,10 @@
1
1
  require "phrasing_plus/engine"
2
2
 
3
3
  module PhrasingPlus
4
+ mattr_accessor :storage
5
+ @storage = :file
6
+
7
+ def self.configure
8
+ yield self
9
+ end
4
10
  end
@@ -1,3 +1,3 @@
1
1
  module PhrasingPlus
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrasing_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damir Svrtan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails