rails_wangeditor 0.1.0 → 0.1.1

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: b62dd1f411fa847f9e4f5497d8f449d2899d7875
4
- data.tar.gz: 8b1f76430c435b4d6730eecb00ae48a3470db6a4
3
+ metadata.gz: cb56680ead309cd6b92fde0ed133eceb7270eea6
4
+ data.tar.gz: dfd700913360abbd36f276d580dc7868d58d6ffe
5
5
  SHA512:
6
- metadata.gz: 46c5058aa41d8b9129234cb4f4d2738da734227a20d6d0589a1a6ecd778683514fd6142e28b18e3f577f728cb93a4bf7ba95a018a0971a51e0025d5e768e3e3f
7
- data.tar.gz: abe1356868c313f5282b83d64971c19d03248a831146e3e8b8e9bdb0983b986136ba03429b3fed8f64745d84097610a9ae7e3cef1b7f77d7ac988e99a5a8430a
6
+ metadata.gz: 695ac1b01d6af193d5e1252c3918ddd90146489d836ba261c152850c3afaf85244b748bf39b360ac6f44b433582ebbfdc417f658d67f14c8a69b5664ce507d1d
7
+ data.tar.gz: c8ffbc37170cdd2f3dccd1bf4ecfa656590c7c42a0b614f840e2763bb589adff2b4838912df20d8e40e99a80d535bc2dc6917d45c82f9e2ffaf3cc620b4b1c1e
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # wangEditor for Ruby on Rails [![Gem Version](https://badge.fury.io/rb/rails_wangeditor.png)](http://badge.fury.io/rb/rails_wangeditor)
1
+ # wangEditor for Ruby on Rails [![Gem Version](https://badge.fury.io/rb/rails_wangeditor.svg)](http://badge.fury.io/rb/rails_wangeditor)
2
2
 
3
3
  wangEditor is an easy, fast and beautiful WYSIWYG javascript editor, visit [https://github.com/wangfupeng1988/wangEditor](https://github.com/wangfupeng1988/wangEditor) for details.
4
4
  rails_wangeditor will helps your rails app integrate with wangEditor, includes images uploading.
@@ -23,7 +23,11 @@ module RailsWangeditor
23
23
  if File.exist?('app/assets/stylesheets/application.css')
24
24
  insert_into_file "app/assets/stylesheets/application.css", "*= require wangEditor\n", :before => "*= require_self"
25
25
  else
26
- copy_file "application.css", "app/assets/stylesheets/application.css"
26
+ if File.exist?('app/assets/stylesheets/application.scss')
27
+ insert_into_file "app/assets/stylesheets/application.scss", "*= require wangEditor\n", :before => "*= require_self"
28
+ else
29
+ copy_file "application.css", "app/assets/stylesheets/application.css"
30
+ end
27
31
  end
28
32
  end
29
33
  end
@@ -1,4 +1,4 @@
1
1
  module RailsWangeditor
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_wangeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubycat