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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be308f8e30b4ef9b15d13174e5809d5d2557d305
4
- data.tar.gz: cc498fd31d09b9f9b74ce90d92b6fa2a540c0d08
3
+ metadata.gz: 6b47ba4f7292bf9155e7d8cfc7941f71101f7809
4
+ data.tar.gz: 02614276a21b6f4b0cf961c99f8c67c78d544c9a
5
5
  SHA512:
6
- metadata.gz: 5cb449abdaa8926fa0caa0bf6a3ed9ecb77d869b83281d27b09d8794f89a14264890a74075aaf7d23c01aea9f53c003df5aed1d0ba88146f1f131551e4eb011a
7
- data.tar.gz: bd78433a0d3b49b7c2ebd30f2c1ece5ee44379447fd56dcc1b553d0dcd8b1e6c55f87b7bd2ad570a3cfd746bfcb50dc3565ef16f3443da9e4fd5e1a438f19a06
6
+ metadata.gz: c7f002d6cb68e442268786b8d0af895e81abce64dbb78f838695a33f2d99c08c0a262cc34edce36c894efba40c8f1fc6666373c2ff8341c705d7ba4aed088fcb
7
+ data.tar.gz: 0f5cdc5aed4f59f8d5dda01ae4d484ff0995649ee002baf108c4077f86cf0a7bcd61c91a0002f4d69bc22a557c9cdd8e777be606c51b1f07ffededfa0e38bcbb
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.0
4
+ - 2.0.0
5
+ - 1.9.3
6
+ - jruby-19mode
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.3 (2014-03-18)
2
+
3
+ * Removed duplicated symbols
4
+
1
5
  # 0.1.2 (2014-03-15)
2
6
 
3
7
  * Added more documentation
data/README.md CHANGED
@@ -1,12 +1,14 @@
1
- ExpandSync[![Build Status](https://travis-ci.org/bachya/ExpandSync.png?branch=master)](https://travis-ci.org/bachya/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 iOS. Because these two programs don't natively sync, it becomes necessary to introduce a tool that helps grease the skids, so to speak.
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 iOS.
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.2
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 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.
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 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.
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
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'expandsync/constants'
4
+ require 'expandsync/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'expandsync'
@@ -1,8 +1,7 @@
1
1
  require "expandsync/atext"
2
2
  require "expandsync/cli_message"
3
- require "expandsync/constants"
4
- require "expandsync/exceptions"
5
3
  require "expandsync/textexpander"
4
+ require "expandsync/version"
6
5
 
7
6
  module ExpandSync
8
7
 
@@ -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 iOS'
4
- VERSION = '0.1.2'
3
+ SUMMARY = 'An engine for synchronizing snippets from aText on OS X and TextExpander Touch'
4
+ VERSION = '0.1.3'
5
5
  end
@@ -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.2
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-15 00:00:00.000000000 Z
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
- iOS
145
+ Touch
146
146
  test_files:
147
147
  - features/1.ui.feature
148
148
  - features/2.run.feature
@@ -1,5 +0,0 @@
1
- module Exceptions
2
- class InvalidFileError < StandardError; end
3
- class InvalidCSVError < InvalidFileError; end
4
- class InvalidXMLError < InvalidFileError; end
5
- end