summernote-ext-addclass-rails 0.8.2 → 0.8.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: 7539bf48e70cbdd73c6080ded5c67bb711902676
4
- data.tar.gz: 37ac87d020fbbecfe7789d57117fa5b2613620b8
3
+ metadata.gz: 3d0b26f4fcd4b1e909903f8350b3199cb9475b72
4
+ data.tar.gz: 9a8b52838674a0157caaa2636eb991d385e55d7f
5
5
  SHA512:
6
- metadata.gz: f2315fe7ba49c6704b1563d08fce823637c6af8bcf1eb1aac48a960f5e1a1f60f50a8f1d078096a89e10165d02e2b78b0d1c21ba5dfec4eebab435dba46dc157
7
- data.tar.gz: 29546b054cce842c00024289a15cfbcc6f36448f4313ed39920b2d96f2c4a0c2dfefba9005b5d56ccf19c70640516443c937e5eae7d634442713f4a3a92a55f7
6
+ metadata.gz: 4b29d352e3b1b8455d1188413d4f6db738d397be3483749f932273a3ac3436ef9eacb90e4cbac70f85c5e9428ca2c62a1acb8bc131d27055fd51d99d654b99e4
7
+ data.tar.gz: 9a706d6ae40dbf1ab01bbefa29aa842e95ff19b7a7d8e3afb653e48d0a091d4e87a7efb037d5cfd70bf303d5a5f11062d1a64e32276480d7e4c250eeb1e5dde0
data/.gitignore CHANGED
@@ -1,19 +1,9 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- .DS_Store
7
- Gemfile.lock
8
- InstalledFiles
9
- _yardoc
10
- coverage
11
- doc/
12
- lib/bundler/man
13
- pkg
14
- rdoc
15
- spec/reports
16
- test/tmp
17
- test/version_tmp
18
- tmp
19
- /summernote
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
- 0.8.0 (2017-04-18)
4
+ 0.8.3 (2017-04-18)
5
5
  ------------------
6
6
 
7
- Initial release.
7
+ Initial stable release.
File without changes
data/README.md CHANGED
@@ -18,7 +18,7 @@ Add the following gems to your application's `Gemfile`:
18
18
  ```ruby
19
19
  gem 'bootstrap-sass' # required
20
20
  gem 'summernote-rails' # required
21
- gem 'summernote-ext-addclass-rails'
21
+ gem 'summernote-ext-addclass-rails', '~> 0.8.3'
22
22
  ```
23
23
 
24
24
  And then execute on the terminal:
@@ -36,7 +36,7 @@ In `app/assets/javascripts/application.js`, you should add in this order:
36
36
  ```js
37
37
  //= require bootstrap
38
38
  //= require summernote
39
- //= require summernote/summernote-ext-addclass
39
+ //= require summernote-ext-addclass
40
40
  ```
41
41
 
42
42
  ### CoffeeScript
@@ -46,7 +46,7 @@ In `app/assets/javascripts/application.coffee`, you should add in this order:
46
46
  ```coffeescript
47
47
  #= require bootstrap
48
48
  #= require summernote
49
- #= require summernote/summernote-ext-addclass
49
+ #= require summernote-ext-addclass
50
50
  ```
51
51
 
52
52
  ## Customization
@@ -93,4 +93,4 @@ The compatible versions of this gem with [summernote][summernote] `v0.8.3` are:
93
93
  [summernote-addclass]: https://github.com/creativeprogramming/summernote-addclass
94
94
  [summernote-addclass-wiki]: https://github.com/creativeprogramming/summernote-addclass/wiki
95
95
  [summernote-addclass-demo]: https://jsfiddle.net/rastrano/dtgr5q29/
96
- [license]: ./LICENSE
96
+ [license]: ./LICENSE.txt
@@ -1,14 +1,14 @@
1
1
  require 'rails'
2
2
  require 'summernote-ext-addclass-rails/version'
3
3
 
4
- autoload :SummernoteInput, 'summernote-ext-addclass-rails/simple_form/summernote_input'
5
-
6
4
  module SummernoteExtAddclassRails
7
5
  module Rails
8
- if ::Rails::VERSION::MAJOR >= 3 && ::Rails::VERSION::MINOR >= 1 # Rails >= 3.1
9
- require 'summernote-ext-addclass-rails/railtie'
6
+ # Rails >= 3.1
7
+ if (::Rails::VERSION::MAJOR > 3) ||
8
+ (::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR >= 1)
9
+ require 'summernote-ext-addclass-rails/engine'
10
10
  else
11
- require 'summernote-ext-addclass-rails/engine'
11
+ require 'summernote-ext-addclass-rails/railtie'
12
12
  end
13
13
  end
14
14
  end
@@ -1,5 +1,5 @@
1
1
  module SummernoteExtAddclassRails
2
2
  module Rails
3
- VERSION = '0.8.2'
3
+ VERSION = '0.8.3'
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ //= require ./summernote-ext-addclass
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summernote-ext-addclass-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Gargiulo
@@ -65,7 +65,7 @@ files:
65
65
  - CHANGELOG.md
66
66
  - CODE_OF_CONDUCT.md
67
67
  - Gemfile
68
- - LICENSE
68
+ - LICENSE.txt
69
69
  - MAINTAIN.md
70
70
  - README.md
71
71
  - Rakefile
@@ -76,7 +76,8 @@ files:
76
76
  - lib/summernote-ext-addclass-rails/railtie.rb
77
77
  - lib/summernote-ext-addclass-rails/version.rb
78
78
  - summernote-ext-addclass-rails.gemspec
79
- - vendor/assets/javascripts/summernote/summernote-ext-addclass.js
79
+ - vendor/assets/javascripts/summernote-ext-addclass/index.js
80
+ - vendor/assets/javascripts/summernote-ext-addclass/summernote-ext-addclass.js
80
81
  homepage: https://github.com/WaKeMaTTa/summernote-ext-addclass-rails
81
82
  licenses:
82
83
  - MIT