bootstrap-wysihtml5-rails 0.2.7 → 0.2.8
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.
- data/README.md +2 -0
- data/Rakefile +8 -1
- data/lib/bootstrap-wysihtml5-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-wysihtml5.js +2 -0
- metadata +4 -4
data/README.md
CHANGED
|
@@ -30,6 +30,8 @@ gem 'bootstrap-wysihtml5-rails', :require => 'bootstrap-wysihtml5-rails',
|
|
|
30
30
|
|
|
31
31
|
and run bundle install.
|
|
32
32
|
|
|
33
|
+
This gem doesn't include Bootstrap. You can get Bootstrap here: https://github.com/anjlab/bootstrap-rails
|
|
34
|
+
|
|
33
35
|
## Stylesheets
|
|
34
36
|
|
|
35
37
|
Add necessary stylesheet file to app/assets/stylesheets/application.css
|
data/Rakefile
CHANGED
|
@@ -17,7 +17,14 @@ task "build" do
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
desc "Publish the gem"
|
|
20
|
-
task '
|
|
20
|
+
task 'release' do
|
|
21
|
+
system("gem push bootstrap-wysihtml5-rails-#{BootstrapWysihtml5Rails::Rails::VERSION}.gem")
|
|
22
|
+
system("git push")
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
desc "Release a new version"
|
|
26
|
+
task "release" do
|
|
27
|
+
system("gem build bootstrap-wysihtml5-rails.gemspec")
|
|
21
28
|
system("gem push bootstrap-wysihtml5-rails-#{BootstrapWysihtml5Rails::Rails::VERSION}.gem")
|
|
22
29
|
system("git push")
|
|
23
30
|
end
|
|
@@ -243,6 +243,7 @@
|
|
|
243
243
|
|
|
244
244
|
toolbar.find('a[data-wysihtml5-command=insertImage]').click(function() {
|
|
245
245
|
insertImageModal.modal('show');
|
|
246
|
+
return false;
|
|
246
247
|
});
|
|
247
248
|
},
|
|
248
249
|
|
|
@@ -283,6 +284,7 @@
|
|
|
283
284
|
|
|
284
285
|
toolbar.find('a[data-wysihtml5-command=createLink]').click(function() {
|
|
285
286
|
insertLinkModal.modal('show');
|
|
287
|
+
return false;
|
|
286
288
|
});
|
|
287
289
|
}
|
|
288
290
|
};
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap-wysihtml5-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-04-
|
|
12
|
+
date: 2012-04-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: railties
|
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
version: '0'
|
|
95
95
|
segments:
|
|
96
96
|
- 0
|
|
97
|
-
hash: -
|
|
97
|
+
hash: -4550200385979037161
|
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
none: false
|
|
100
100
|
requirements:
|
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
103
103
|
version: '0'
|
|
104
104
|
segments:
|
|
105
105
|
- 0
|
|
106
|
-
hash: -
|
|
106
|
+
hash: -4550200385979037161
|
|
107
107
|
requirements: []
|
|
108
108
|
rubyforge_project:
|
|
109
109
|
rubygems_version: 1.8.21
|