lady_josephine 0.0.2 → 0.0.3

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: 2de245f63a2285db13171cd8822fbb5277d6fd6b
4
- data.tar.gz: 3aac36d885e7632b2efe41457457f0ef106cf924
3
+ metadata.gz: 96836583a3e4331c8b577d0cfb417ac3668ca033
4
+ data.tar.gz: 58d46d9fadbb8e252bf71cdf01dcb33a7558b5f3
5
5
  SHA512:
6
- metadata.gz: 9ad9aafe55309ed64bc028d7f1b9866e07433a1424b3a8bfc49200f395702296c18e529508e0a3b2767badfc93a5d77937297e3f157168e9f316daf880246ff4
7
- data.tar.gz: dabadb5f203f5ed65245f937c7962939942764584d31ce1a67830b04792e7ab17050dfe09cc62b2d8f54a1d1092a51951049e202f399b227d7fabc74d615d7d3
6
+ metadata.gz: 4b1ab78ee938cf207e27e248b4cc17137b0a6a53068ea4d43c8a24c78c697c0a8eb96e9bf8f0ff76ce70f5c115bfb5cb43d73b2467b1d65c37334281fb7cb104
7
+ data.tar.gz: 8a60ba9194067bb86c11eeca173920e7d04434fad2abc6e579bfe999c60560b032a2df39f56ee125cf747e60f6bacf366cffeecdfec89196c2f4f9df7e4975fb
@@ -27,7 +27,7 @@ $(function() {
27
27
  };
28
28
 
29
29
  overrides = {
30
- uploadUrl: "#{LadyJosephine.mount_path}/images",
30
+ uploadUrl: attributeOptions["uploadUrl"],
31
31
  defaultType: 'text',
32
32
  escapeHTML: true
33
33
  };
@@ -8,6 +8,7 @@ module LadyJosephine
8
8
  "modelName" => class_name,
9
9
  "columnName" => "#{column}",
10
10
  "baseURL" => "#{LadyJosephine.mount_path}/content/#{class_name}/",
11
+ "uploadUrl" => "#{LadyJosephine.mount_path}/images",
11
12
  }
12
13
  options["blockTypes"] = blocks if blocks.present?
13
14
 
@@ -1,5 +1,5 @@
1
1
  module LadyJosephine
2
- class ImageUploader < BaseUploader
2
+ class ImageUploader < LadyJosephine::BaseUploader
3
3
 
4
4
  def add_metadata(image)
5
5
  @version_metadata = metadata_entry(image[:dimensions], image[:size])
@@ -1,3 +1,3 @@
1
1
  module LadyJosephine
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lady_josephine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bodo Tasche
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-29 00:00:00.000000000 Z
12
+ date: 2016-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails