expandsync 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/HISTORY.md +4 -0
- data/README.md +10 -10
- data/expandsync.gemspec +1 -1
- data/lib/expandsync.rb +1 -2
- data/lib/expandsync/{constants.rb → version.rb} +2 -2
- data/res/atext.csv +1 -34
- metadata +5 -5
- data/lib/expandsync/exceptions.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b47ba4f7292bf9155e7d8cfc7941f71101f7809
|
4
|
+
data.tar.gz: 02614276a21b6f4b0cf961c99f8c67c78d544c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7f002d6cb68e442268786b8d0af895e81abce64dbb78f838695a33f2d99c08c0a262cc34edce36c894efba40c8f1fc6666373c2ff8341c705d7ba4aed088fcb
|
7
|
+
data.tar.gz: 0f5cdc5aed4f59f8d5dda01ae4d484ff0995649ee002baf108c4077f86cf0a7bcd61c91a0002f4d69bc22a557c9cdd8e777be606c51b1f07ffededfa0e38bcbb
|
data/.travis.yml
ADDED
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,14 @@
|
|
1
|
-
ExpandSync
|
1
|
+
ExpandSync
|
2
2
|
==========
|
3
|
+
[![Build Status](https://travis-ci.org/bachya/ExpandSync.png?branch=master)](https://travis-ci.org/bachya/ExpandSync)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/expandsync.png)](http://badge.fury.io/rb/expandsync)
|
3
5
|
|
4
|
-
A simple engine to sync snippets between aText and TextExpander
|
6
|
+
A simple engine to sync snippets between aText and TextExpander Touch. Because these two programs don't natively sync, it becomes necessary to introduce a tool that helps grease the skids, so to speak.
|
5
7
|
|
6
8
|
# Prerequisites
|
7
9
|
|
8
10
|
* Install Ruby 1.9.3 or greater on the machine that will run ExpandSync.
|
9
|
-
* Enable Dropbox syncing in TextExpander
|
11
|
+
* Enable Dropbox syncing in TextExpander Touch.
|
10
12
|
|
11
13
|
# Installation
|
12
14
|
|
@@ -14,8 +16,6 @@ A simple engine to sync snippets between aText and TextExpander iOS. Because the
|
|
14
16
|
|
15
17
|
# Usage
|
16
18
|
|
17
|
-
TODO: Write better usage instructions
|
18
|
-
|
19
19
|
Syntax and usage can be accessed by running `expandsync --help`:
|
20
20
|
|
21
21
|
```
|
@@ -24,7 +24,7 @@ Usage: expandsync [options] atext_filepath
|
|
24
24
|
|
25
25
|
A command line app that synchronizes text expansion snippets between aText for OS X and TextExpander for iOS
|
26
26
|
|
27
|
-
v0.1.
|
27
|
+
v0.1.3
|
28
28
|
|
29
29
|
Options:
|
30
30
|
-h, --help Show command line help
|
@@ -45,14 +45,14 @@ Synchronizing these two applications follows this process:
|
|
45
45
|
|
46
46
|
1. Export the current aText snippet list (**Data >> Backup To...**). Ensure that you export a CSV (not an aText) file.
|
47
47
|
2. Run `expandsync /path/to/your/aText/file.csv`
|
48
|
-
3. ExpandSync will calculate the snippets that are missing from aText and those that are missing from TextExpander
|
49
|
-
4. Unique aText snippets will be automatically imported into TextExpander
|
50
|
-
5. ExpandSync will output `aText-snippets.csv` – which contains snippets unique to TextExpander
|
48
|
+
3. ExpandSync will calculate the snippets that are missing from aText and those that are missing from TextExpander Touch.
|
49
|
+
4. Unique aText snippets will be automatically imported into TextExpander Touch via Dropbox.
|
50
|
+
5. ExpandSync will output `aText-snippets.csv` – which contains snippets unique to TextExpander Touch – which can be imported into aText.
|
51
51
|
|
52
52
|
# Caveats
|
53
53
|
|
54
54
|
* Unfortunately, aText does not allow programmatic access to its snippet database; as such, there is a rather manual nature to this (you most likely won't be running this on a regular cron job).
|
55
|
-
* Because neither aText nor TextExpander
|
55
|
+
* Because neither aText nor TextExpander Touch tracks snippets that have been deleted, there's no way to tell both applications to simultaneously delete a snippet. I'm working on a "ask-the-user" method, but in the meantime, snippets will have to be manually deleted from both sides.
|
56
56
|
* Currently, dynamic text – dates, etc. – are not translated between programs. I'm planning to address in a future version.
|
57
57
|
|
58
58
|
# Known Issues & Future Releases
|
data/expandsync.gemspec
CHANGED
data/lib/expandsync.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module ExpandSync
|
2
2
|
DESCRIPTION = 'A command line app that synchronizes text expansion snippets between aText for OS X and TextExpander for iOS'
|
3
|
-
SUMMARY = 'An engine for synchronizing snippets from aText on OS X and TextExpander
|
4
|
-
VERSION = '0.1.
|
3
|
+
SUMMARY = 'An engine for synchronizing snippets from aText on OS X and TextExpander Touch'
|
4
|
+
VERSION = '0.1.3'
|
5
5
|
end
|
data/res/atext.csv
CHANGED
@@ -1,37 +1,4 @@
|
|
1
|
-
",1977j","1977 South Josephine Street
|
2
|
-
Unit 303
|
3
|
-
Denver, CO 80210"
|
4
|
-
",755d","755 South Dexter Street
|
5
|
-
Apartment 128
|
6
|
-
Denver, CO 80246"
|
7
|
-
",ema1",bachya1208@gmail.com
|
8
|
-
",ema2",bachya1208@googlemail.com
|
9
|
-
",ema3",aaron.m.bach@gmail.com
|
10
|
-
",fn",Aaron
|
11
1
|
",ikp",I'll keep you posted.
|
12
2
|
",lmk",Let me know if you have any questions.
|
13
|
-
",ln",Bach
|
14
|
-
",name",Aaron Bach
|
15
|
-
",pho",720-854-5753
|
16
3
|
",tkvm",Thank you very much!
|
17
|
-
",twimc","To Whom It May Concern,
|
18
|
-
|
19
|
-
"
|
20
|
-
",tood","【field:Subject】 *【field:Folder type:2 width:0 value:""1. Ticklers
|
21
|
-
2. Actions
|
22
|
-
3. Projects
|
23
|
-
4. Waiting For
|
24
|
-
5. Someday/Maybe""】 @【field:Context type:2 width:0 value:Home
|
25
|
-
Personal
|
26
|
-
Work】"
|
27
|
-
",end",【date:yyyy-MM-dd】 -
|
28
|
-
",enc",<en-todo/>
|
29
|
-
",jour",- 【date:long】 at 【time:short】 - 【field:Entry type:1】 @done
|
30
|
-
",waddr","3012 Huron Street
|
31
|
-
Denver, CO 80202"
|
32
|
-
",wema",abach@fourwindsinteractive.com
|
33
|
-
",wftp",ftp.fourwindsinteractive.com
|
34
|
-
",wfwi",Four Winds Interactive
|
35
|
-
",wpho",720-389-3606
|
36
|
-
",wweb",http://www.fourwindsinteractive.com
|
37
|
-
",text","data:text/html, <html contenteditable> "
|
4
|
+
",twimc","To Whom It May Concern,"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: expandsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Bach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -91,6 +91,7 @@ extra_rdoc_files:
|
|
91
91
|
- LICENSE
|
92
92
|
files:
|
93
93
|
- ".gitignore"
|
94
|
+
- ".travis.yml"
|
94
95
|
- Gemfile
|
95
96
|
- Gemfile.lock
|
96
97
|
- HISTORY.md
|
@@ -107,9 +108,8 @@ files:
|
|
107
108
|
- lib/expandsync.rb
|
108
109
|
- lib/expandsync/atext.rb
|
109
110
|
- lib/expandsync/cli_message.rb
|
110
|
-
- lib/expandsync/constants.rb
|
111
|
-
- lib/expandsync/exceptions.rb
|
112
111
|
- lib/expandsync/textexpander.rb
|
112
|
+
- lib/expandsync/version.rb
|
113
113
|
- res/Settings.textexpander
|
114
114
|
- res/atext.csv
|
115
115
|
- res/expected-new-atext.csv
|
@@ -142,7 +142,7 @@ rubygems_version: 2.2.2
|
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: An engine for synchronizing snippets from aText on OS X and TextExpander
|
145
|
-
|
145
|
+
Touch
|
146
146
|
test_files:
|
147
147
|
- features/1.ui.feature
|
148
148
|
- features/2.run.feature
|