ckeditor-imgur 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b0baa3f101a957970c4ba717f532cd71e767e10
4
- data.tar.gz: 1b048266a7962bf8b1c65515e2528cf504f2732e
3
+ metadata.gz: c5f44b5ae75f4e8da9b28684474fd8c43d0ba179
4
+ data.tar.gz: 1621f7e4f21c33419cab5072cf5ce74a6fe1c0c0
5
5
  SHA512:
6
- metadata.gz: 910c2fb8b2acc9e6dd0c9d6b2ea2e65554acdfec67947546a941f098a1f50074cc80cff6b5e812b5ccb3b2ad798ba2f296a15f3d2d24c7c6c54116c51fb96741
7
- data.tar.gz: 3a9aed17fb15a69a2f3dd04c628e4d6bdc8f4bc4d8bf65099f41e2f5e6caf4d66d95205ed7b673dc2d0aac1c1823f1e0377d078f1d422b549f34bd14b8f1c729
6
+ metadata.gz: 1a2e2a5e1df3d6c5a26ebec981b239bdb607067f3f97f24a05cce1f96614c7f8d2e522cf8ee6a593337b10fae189e6c09a73e936b864763211252fc26b48bb4b
7
+ data.tar.gz: c1858ae51beebbce43a39eed0b2a3c142d51c07094e97adae2c2d119e68ce27ccd74466be222a507186efb522d76f9e0baef64e78d0ab348d2ddf61e3127b101
@@ -1,5 +1,5 @@
1
1
  module Ckeditor
2
2
  module Imgur
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  CKEDITOR.plugins.setLang('imgur', 'en', {
2
- clientIdMissing: 'Add config.imgurClientID to your assets/javascripts/ckeditor/config.js',
2
+ clientIDMissing: 'Add config.imgurClientID to your assets/javascripts/ckeditor/config.js',
3
3
  uploading: ' images are uploading...',
4
4
  failToUpload: 'Failed to upload:',
5
5
  label: 'upload images'
@@ -1,5 +1,5 @@
1
1
  CKEDITOR.plugins.setLang('imgur', 'zh', {
2
- clientIdMissing: '請加入config.imgurClientID到您的設定檔',
2
+ clientIDMissing: '請加入config.imgurClientID到您的設定檔',
3
3
  uploading: '張圖片正在上傳中...',
4
4
  failToUpload: '上傳失敗:',
5
5
  label: '上傳圖片'
@@ -4,9 +4,9 @@
4
4
  lang: ['zh', 'en'],
5
5
  init: function( editor )
6
6
  {
7
- ClientId = editor.config.imgurClientId;
8
- if(!ClientId)
9
- alert(editor.lang.imgur.clientIdMissing);
7
+ ClientID = editor.config.imgurClientID;
8
+ if(!ClientID)
9
+ alert(editor.lang.imgur.ClientIDMissing);
10
10
 
11
11
  var count = 0;
12
12
  var $placeholder = $("<div></div>").css({
@@ -38,7 +38,7 @@
38
38
  form.append('image', file);
39
39
  $.ajax({
40
40
  url: 'https://api.imgur.com/3/image',
41
- headers: { Authorization: "Client-ID " + ClientId },
41
+ headers: { Authorization: "Client-ID " + ClientID },
42
42
  type: 'POST',
43
43
  data: form,
44
44
  cache: false,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ckeditor-imgur
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JSON
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-24 00:00:00.000000000 Z
11
+ date: 2015-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -82,3 +82,4 @@ signing_key:
82
82
  specification_version: 4
83
83
  summary: CKEditor image upload plugin
84
84
  test_files: []
85
+ has_rdoc: