blueberry_components 0.1.1 → 0.1.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 +4 -4
- data/blueberry_components.gemspec +1 -1
- data/lib/blueberry_components/version.rb +1 -1
- data/vendor/assets/javascripts/blueberry_components/redactor-config.js +1 -0
- data/vendor/assets/javascripts/blueberry_components/redactor-langs.js +1 -0
- data/vendor/assets/javascripts/blueberry_components/redactor-plugins.js +1 -0
- data/vendor/assets/javascripts/blueberry_components/redactor2_rails/config.js +0 -35
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98f993924499d952f1eb2cf89f0584037931b4a1
|
|
4
|
+
data.tar.gz: ae7fd0962ce2fd0873f730db2928a179d0d42beb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ca69c6a31bd55438386e50aea274e7571e4472391dd935b98456b19db3e2c8be7bf179f9072e6e3e6106fbbc7f98996aee51cf5bf44f01a6238464f951c3ccb
|
|
7
|
+
data.tar.gz: b4f5ceef6c88f40070d53cbb505965fcedc9c4cf93f454b4e25638fc75456c62210171a2fd4580d6681c80add658fd65729ef5f9391bf113a1e6d521afb0b743
|
|
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
spec.add_development_dependency 'bundler', '~> 1.12'
|
|
23
23
|
spec.add_development_dependency 'rake', '~> 10.0'
|
|
24
24
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
25
|
-
spec.add_dependency 'redactor2_rails'
|
|
25
|
+
spec.add_dependency 'redactor2_rails', '~> 0'
|
|
26
26
|
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//= require ./redactor2_rails/config
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//= require_directory ./redactor2_rails/lang
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//= require_directory ./redactor2_rails/plugins
|
|
@@ -18,39 +18,4 @@ $(function () {
|
|
|
18
18
|
$('.count', wrapper).html(count);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
window.initRedactor = function(el) {
|
|
24
|
-
el.redactor({
|
|
25
|
-
focus: true,
|
|
26
|
-
formatting: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p'],
|
|
27
|
-
formattingAdd: {
|
|
28
|
-
"heading-red": {
|
|
29
|
-
title: 'Nadpis červený',
|
|
30
|
-
args: ['h3', 'class', 'heading-red']
|
|
31
|
-
},
|
|
32
|
-
"heading-yellow": {
|
|
33
|
-
title: 'Nadpis žlutý',
|
|
34
|
-
args: ['h3', 'class', 'heading-yellow']
|
|
35
|
-
},
|
|
36
|
-
"heading-green": {
|
|
37
|
-
title: 'Nadpis zelený',
|
|
38
|
-
args: ['h3', 'class', 'heading-green']
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
callbacks: {
|
|
42
|
-
init: function(e) {
|
|
43
|
-
printCount( this.$element, this.clean.stripTags(this.code.get()) );
|
|
44
|
-
},
|
|
45
|
-
keyup: function(e) {
|
|
46
|
-
printCount( this.$element, this.clean.stripTags(this.code.get()) );
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
$('.redactor').each(function(){
|
|
53
|
-
initRedactor( $(this) );
|
|
54
|
-
});
|
|
55
|
-
|
|
56
21
|
});
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blueberry_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Hencze
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -56,14 +56,14 @@ dependencies:
|
|
|
56
56
|
name: redactor2_rails
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - "
|
|
59
|
+
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- - "
|
|
66
|
+
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
description: BlueberryApps components used in website ruby applications.
|
|
@@ -86,6 +86,9 @@ files:
|
|
|
86
86
|
- lib/blueberry_components.rb
|
|
87
87
|
- lib/blueberry_components/engine.rb
|
|
88
88
|
- lib/blueberry_components/version.rb
|
|
89
|
+
- vendor/assets/javascripts/blueberry_components/redactor-config.js
|
|
90
|
+
- vendor/assets/javascripts/blueberry_components/redactor-langs.js
|
|
91
|
+
- vendor/assets/javascripts/blueberry_components/redactor-plugins.js
|
|
89
92
|
- vendor/assets/javascripts/blueberry_components/redactor.js
|
|
90
93
|
- vendor/assets/javascripts/blueberry_components/redactor2_rails/config.js
|
|
91
94
|
- vendor/assets/javascripts/blueberry_components/redactor2_rails/lang/cs.js
|
|
@@ -118,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
121
|
version: '0'
|
|
119
122
|
requirements: []
|
|
120
123
|
rubyforge_project:
|
|
121
|
-
rubygems_version: 2.5
|
|
124
|
+
rubygems_version: 2.4.5
|
|
122
125
|
signing_key:
|
|
123
126
|
specification_version: 4
|
|
124
127
|
summary: BlueberryApps components used in website ruby applications.
|