emacs_org_protocol_server 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bookmarklet.js +1 -1
- data/lib/emacs_org_protocol_server/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 407c9f086ba26e83540bbe5572bd2f5aa7698667
|
4
|
+
data.tar.gz: 5cff78a8558bd837b750b672ac850d352f898dd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d83e6e4dfa5ff512cb198f656b6e286f1320acc5470fe1f4acee593b1563dc827cb87ce2a07cd7ae871f7d2376832c97eb0e7e4acf42bbcb37bdc04fd18876a
|
7
|
+
data.tar.gz: 8a0c201fce47e535c8cbb207c14f93aced6ebbd5346840901d14adaa5bf5ed3281f68cb2480463de2e80aca5c19557c4212b4c44957cdefa94172eeb51398096
|
data/bookmarklet.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
javascript:function fx(str){return encodeURIComponent(str).replace(/[!'()*]/g, function(c){return '%' + c.charCodeAt(0).toString(16);});};var captureLink=function(){var s=
|
1
|
+
javascript:function fx(str){return encodeURIComponent(str).replace(/[!'()*]/g, function(c){return '%' + c.charCodeAt(0).toString(16);});};var captureLink=function(){var s=window.getSelection().toString(),l=window.location.href,t=document.title, d=document.querySelector('meta[name=description]'), k=document.querySelector('meta[name=keywords]'),p='capture';if(d){d=d.attributes.content.value.toString()};if(k){k.attributes.content.value.toString()};var uri='http://localhost:9998/?'+'p='+p+'&l='+fx(l)+'&t='+fx(t)+'&s='+fx("description: "+d+"\n\n" + "selection: " + s + "\n\n");window.location=uri;return uri;};captureLink();
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emacs_org_protocol_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tamara Temple
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -128,4 +128,3 @@ signing_key:
|
|
128
128
|
specification_version: 4
|
129
129
|
summary: Simple Sinatra server to call org-protocol with emacsclient
|
130
130
|
test_files: []
|
131
|
-
has_rdoc:
|