expandsync 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/Gemfile.lock +2 -3
- data/HISTORY.md +9 -0
- data/README.md +35 -11
- data/expandsync.gemspec +0 -1
- data/lib/expandsync/constants.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be308f8e30b4ef9b15d13174e5809d5d2557d305
|
4
|
+
data.tar.gz: cc498fd31d09b9f9b74ce90d92b6fa2a540c0d08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cb449abdaa8926fa0caa0bf6a3ed9ecb77d869b83281d27b09d8794f89a14264890a74075aaf7d23c01aea9f53c003df5aed1d0ba88146f1f131551e4eb011a
|
7
|
+
data.tar.gz: bd78433a0d3b49b7c2ebd30f2c1ece5ee44379447fd56dcc1b553d0dcd8b1e6c55f87b7bd2ad570a3cfd746bfcb50dc3565ef16f3443da9e4fd5e1a438f19a06
|
data/Gemfile.lock
CHANGED
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,16 @@
|
|
1
|
-
ExpandSync
|
1
|
+
ExpandSync[](https://travis-ci.org/bachya/ExpandSync)
|
2
2
|
==========
|
3
3
|
|
4
|
-
A simple engine to sync aText and TextExpander iOS.
|
4
|
+
A simple engine to sync snippets between aText and TextExpander iOS. Because these two programs don't natively sync, it becomes necessary to introduce a tool that helps grease the skids, so to speak.
|
5
5
|
|
6
|
-
#
|
6
|
+
# Prerequisites
|
7
7
|
|
8
|
-
|
8
|
+
* Install Ruby 1.9.3 or greater on the machine that will run ExpandSync.
|
9
|
+
* Enable Dropbox syncing in TextExpander iOS.
|
9
10
|
|
10
|
-
#
|
11
|
+
# Installation
|
11
12
|
|
12
|
-
|
13
|
+
$ gem install expandsync
|
13
14
|
|
14
15
|
# Usage
|
15
16
|
|
@@ -21,16 +22,15 @@ Syntax and usage can be accessed by running `expandsync --help`:
|
|
21
22
|
$ expandsync --help
|
22
23
|
Usage: expandsync [options] atext_filepath
|
23
24
|
|
24
|
-
|
25
|
+
A command line app that synchronizes text expansion snippets between aText for OS X and TextExpander for iOS
|
25
26
|
|
26
|
-
v0.1.
|
27
|
+
v0.1.2
|
27
28
|
|
28
29
|
Options:
|
29
30
|
-h, --help Show command line help
|
30
31
|
--version Show help/version info
|
31
|
-
-a FILEPATH
|
32
|
+
-a FILEPATH Output location for aText rules (defaults to ~/aText-snippets.csv)
|
32
33
|
-n Disable backing up of Settings.textexpander (RUN AT YOUR OWN RISK!)
|
33
|
-
-t FILEPATH Specify a location for the TextExpander iOS XML file
|
34
34
|
-v, --verbose Turn on verbose output
|
35
35
|
|
36
36
|
Arguments:
|
@@ -39,7 +39,31 @@ Arguments:
|
|
39
39
|
The filepath to a CSV file exported from aText
|
40
40
|
```
|
41
41
|
|
42
|
-
#
|
42
|
+
# Process
|
43
|
+
|
44
|
+
Synchronizing these two applications follows this process:
|
45
|
+
|
46
|
+
1. Export the current aText snippet list (**Data >> Backup To...**). Ensure that you export a CSV (not an aText) file.
|
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 iOs.
|
49
|
+
4. Unique aText snippets will be automatically imported into TextExpander iOS via Dropbox.
|
50
|
+
5. ExpandSync will output `aText-snippets.csv` – which contains snippets unique to TextExpander iOS – which can be imported into aText.
|
51
|
+
|
52
|
+
# Caveats
|
53
|
+
|
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 iOS 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
|
+
* Currently, dynamic text – dates, etc. – are not translated between programs. I'm planning to address in a future version.
|
57
|
+
|
58
|
+
# Known Issues & Future Releases
|
59
|
+
|
60
|
+
Bugs, issues, and enhancement requests (my own or those submitted by others) can be found on the [Issues Page](https://github.com/bachya/ExpandSync/issues "Open Items").
|
61
|
+
|
62
|
+
# Bugs and Feature Requests
|
63
|
+
|
64
|
+
To report bugs with or suggest features/changes for Sifttter Redux, please use the [Issues Page](http://github.com/bachya/ExpandSync/issues).
|
65
|
+
|
66
|
+
Contributions are welcome and encouraged. To contribute:
|
43
67
|
|
44
68
|
1. Fork it ( http://github.com/bachya/expandsync/fork )
|
45
69
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
data/expandsync.gemspec
CHANGED
@@ -23,7 +23,6 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.rdoc_options = ['--charset=UTF-8']
|
24
24
|
spec.extra_rdoc_files = %w[README.md HISTORY.md LICENSE]
|
25
25
|
|
26
|
-
spec.add_development_dependency('bundler', '~> 0')
|
27
26
|
spec.add_development_dependency('rake', '~> 0')
|
28
27
|
spec.add_development_dependency('aruba', '~> 0')
|
29
28
|
spec.add_dependency('methadone', '~> 1.3', '>= 1.3.1')
|
data/lib/expandsync/constants.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
3
|
SUMMARY = 'An engine for synchronizing snippets from aText on OS X and TextExpander iOS'
|
4
|
-
VERSION = '0.1.
|
4
|
+
VERSION = '0.1.2'
|
5
5
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Bach
|
@@ -10,20 +10,6 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2014-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|