pen 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/app/assets/javascripts/pen/pen.js +4 -3
- data/lib/pen/version.rb +1 -1
- data/pen.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 099560461c65def408d4e3691acfe44a60563be2
|
4
|
+
data.tar.gz: 5fbdc58c898b9d0b3ab5ea3b967b66963f8c92a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 888a2a02ee56a4a4a72c58786266cd40130f7c57c9386e58ab54f94a37e8b4e60e95c981ed7f4c26ff1e8ab0958fb90ce6b1944b0280492b91249ecc94bd0e27
|
7
|
+
data.tar.gz: cbf3b30d1605641667dcefbd146d48f3bc26dc893243e883163e1be3b436b8f083421f1253b7832b3400c9a8a9c160f84a4b640c7292458b3aa525f398a918e3
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Pen
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/pen.png)](http://badge.fury.io/rb/pen) [![Code Climate](https://codeclimate.com/repos/526a0a487e00a43d0500112f/badges/437609ff3647a05fe6c6/gpa.png)](https://codeclimate.com/repos/526a0a487e00a43d0500112f/feed)
|
2
3
|
|
3
|
-
Pen Editor for Rails
|
4
|
+
Pen Editor for Rails
|
4
5
|
|
5
6
|
See https://github.com/sofish/pen for more information.
|
6
7
|
|
@@ -216,15 +216,16 @@
|
|
216
216
|
var node = this._sel.focusNode
|
217
217
|
, effects = this._effectNode(node)
|
218
218
|
, menu = this._menu
|
219
|
-
,
|
219
|
+
, linkInput = menu.querySelector('input')
|
220
|
+
, highlight
|
220
221
|
|
221
222
|
// remove all highlights
|
222
223
|
[].slice.call(menu.querySelectorAll('.active')).forEach(function(el) {
|
223
224
|
el.classList.remove('active');
|
224
225
|
});
|
225
226
|
|
226
|
-
// display link input
|
227
|
-
|
227
|
+
// display link input if createlink enabled
|
228
|
+
if (linkInput) linkInput.style.display = 'none';
|
228
229
|
|
229
230
|
highlight = function(str) {
|
230
231
|
var selector = '.icon-' + str
|
data/lib/pen/version.rb
CHANGED
data/pen.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["trautwein@neowork.com"]
|
11
11
|
spec.description = %q{Pen Editor for Rails}
|
12
12
|
spec.summary = %q{Pen Editor for Rails}
|
13
|
-
spec.homepage = "
|
13
|
+
spec.homepage = "http://neowork.github.io/pen"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Torsten Trautwein
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -64,7 +64,7 @@ files:
|
|
64
64
|
- lib/pen.rb
|
65
65
|
- lib/pen/version.rb
|
66
66
|
- pen.gemspec
|
67
|
-
homepage:
|
67
|
+
homepage: http://neowork.github.io/pen
|
68
68
|
licenses:
|
69
69
|
- MIT
|
70
70
|
metadata: {}
|