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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a546f8cfcb17248c4a0f569784c025046f270c3f
4
- data.tar.gz: 9f4bcfd8ca164da53f2f5334bfad05b689355c14
3
+ metadata.gz: 099560461c65def408d4e3691acfe44a60563be2
4
+ data.tar.gz: 5fbdc58c898b9d0b3ab5ea3b967b66963f8c92a1
5
5
  SHA512:
6
- metadata.gz: 5d2ecd6fed05ebe5fac3ddb1a68ee8a6ff173d7e2f8e9a3f7ecc41f238beabc92c3568c7c6197e567e77c846e0071f8696f201eaf557245f9e4d1088e73374e1
7
- data.tar.gz: 5e0c257f2635d90edf2891e0b8d86e6cb678b9199c12075e9ee253aab541f40eb7c0ee702f05a3870a16172902be292f619ebdf312cc1f8146172c783acfc6ae
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 [![Gem Version](https://badge.fury.io/rb/pen.png)](http://badge.fury.io/rb/pen)
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
- , highlight;
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
- menu.querySelector('input').style.display = 'none';
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
@@ -1,3 +1,3 @@
1
1
  module Pen
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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 = "https://github.com/neowork/pen"
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.0
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-25 00:00:00.000000000 Z
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: https://github.com/neowork/pen
67
+ homepage: http://neowork.github.io/pen
68
68
  licenses:
69
69
  - MIT
70
70
  metadata: {}