sifttter-redux 0.6.2 → 0.6.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: 2e49adcb1e6d825f7539b3867f99639036e35b1a
4
- data.tar.gz: acb96d7075abb7c7843e666ce6d832d01d8a497e
3
+ metadata.gz: e382631ae915da24fed5da9526eb9747157e9995
4
+ data.tar.gz: 80e4788c9e75aadfc79a5bb491c339f2eae24ac1
5
5
  SHA512:
6
- metadata.gz: fb62bc5e4306408a2411ebc2ef2502eb4e6a6546947e6d2395972ef4747a0d8355f6b81401ebd14181f696b1a86ffc63258c08b5e6698e7752b44cccc77c3805
7
- data.tar.gz: eb680b39cbc6758920fbf2d0c84516aa162c408743890f99bc85174911e1ceb0812daad5655179ca733be49a474dc2d20e686a50e33dce154d4b604589a26e88
6
+ metadata.gz: 086b0ee5b7d43557955de3b5b3b05c61adbc553c63331f06f6d7ed287ea6121a195c27a787dd6eddf9f679ddde775be96b188e51981ae8c771e9cc12701d6101
7
+ data.tar.gz: 14e2c3c9b3230ba64d5fb5b580b9b79ce743690173e43f90eabff81a2f0f378067f8c9f0e88114545cdf0ed01bbf85bedcd648b71edc8ee4f40f6e4ac0b3c8b5
data/HISTORY.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.6.3 (2014-04-12)
2
+
3
+ * Updated to CLIUtils 1.3.1
4
+ * Fixed namespacing error
5
+ * Fixed a bug in preference prompts
6
+
1
7
  # 0.6.2 (2014-04-03)
2
8
 
3
9
  * Updated to CLIUtils 1.2.1
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Sifttter Redux
2
2
  ==============
3
- [![Build Status](https://travis-ci.org/bachya/Sifttter-Redux.png?branch=master)](https://travis-ci.org/bachya/Sifttter-Redux)
4
- [![Gem Version](https://badge.fury.io/rb/sifttter-redux.png)](http://badge.fury.io/rb/sifttter-redux)
3
+ [![Build Status](https://travis-ci.org/bachya/Sifttter-Redux.svg?branch=master)](https://travis-ci.org/bachya/Sifttter-Redux)
4
+ [![Gem Version](https://badge.fury.io/rb/sifttter-redux.svg)](http://badge.fury.io/rb/sifttter-redux)
5
5
 
6
6
  Siftter Redux is a modification of Craig Eley's [Sifttter](http://craigeley.com/post/72565974459/sifttter-an-ifttt-to-day-one-logger "Sifttter"), a script to collect information from [IFTTT](http://www.ifttt.com "IFTTT") and place it in a [Day One](http://dayoneapp.com, "Day One") journal.
7
7
 
data/bin/srd CHANGED
@@ -38,7 +38,7 @@ require 'sifttter-redux'
38
38
  require 'securerandom'
39
39
 
40
40
  include CLIUtils::Configuration
41
- include CLIUtils::Messenging
41
+ include CLIUtils::Messaging
42
42
  include GLI::App
43
43
 
44
44
  # ======================================================
@@ -109,8 +109,7 @@ module SifttterRedux
109
109
  _dates = DateRangeMaker.range(options[:f], options[:t], options[:i])
110
110
 
111
111
  if _dates.last > Date.today
112
- long_message = "Ignoring overextended end date and using today's date (#{ Date.today })..."
113
- messenger.warn(long_message)
112
+ messenger.warn("Ignoring overextended end date and using today's date (#{ Date.today })...")
114
113
  r = (_dates.first..Date.today)
115
114
  else
116
115
  r = (_dates.first.._dates.last)
@@ -29,5 +29,5 @@ module SifttterRedux
29
29
  SUMMARY = 'Automated IFTTT to Day One engine.'
30
30
 
31
31
  # The Gem's version
32
- VERSION = '0.6.2'
32
+ VERSION = '0.6.3'
33
33
  end
@@ -4,7 +4,6 @@ module SifttterRedux
4
4
  # DateRangeMaker Module
5
5
  # Returns a Range of dates based on supplied parameters
6
6
  module DateRangeMaker
7
-
8
7
  # Returns a date range for the last N days (including
9
8
  # today's date if specified).
10
9
  # @param [Integer} num_days The number of days to look back
@@ -2,8 +2,6 @@ module SifttterRedux
2
2
  # Sifttter Module
3
3
  # Wrapper module for Sifttter itself
4
4
  module Sifttter
5
- # Modified form of Sifttter
6
- #
7
5
  # Sifttter: An IFTTT-to-Day One Logger by Craig Eley
8
6
  # Based on tp-dailylog.rb by Brett Terpstra 2012
9
7
  # @param [Date] date The date to use when scanning Sifttter
@@ -1,17 +1,17 @@
1
- :prompts:
1
+ prompts:
2
2
  - prompt: Where do you want to download Sifttter files to (temporarily)?
3
3
  default: /tmp/sifttter
4
- key: sifttter_local_filepath
5
- section: sifttter_redux
4
+ config_key: sifttter_local_filepath
5
+ config_section: sifttter_redux
6
6
  - prompt: Where are your Sifttter files located in Dropbox?
7
7
  default: /Apps/ifttt/sifttter
8
- key: sifttter_remote_filepath
9
- section: sifttter_redux
8
+ config_key: sifttter_remote_filepath
9
+ config_section: sifttter_redux
10
10
  - prompt: Where do you want to download Day One files to (temporarily)?
11
11
  default: /tmp/dayone
12
- key: dayone_local_filepath
13
- section: sifttter_redux
12
+ config_key: dayone_local_filepath
13
+ config_section: sifttter_redux
14
14
  - prompt: Where are your Day One files located in Dropbox?
15
15
  default: /Apps/Day\ One/Journal.dayone/entries
16
- key: dayone_remote_filepath
17
- section: sifttter_redux
16
+ config_key: dayone_remote_filepath
17
+ config_section: sifttter_redux
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency('rdoc', '4.1.1')
28
28
  spec.add_development_dependency('aruba', '0.5.4')
29
29
  spec.add_runtime_dependency('chronic', '0.10.2')
30
- spec.add_runtime_dependency('cliutils', '1.2.1')
30
+ spec.add_runtime_dependency('cliutils', '~> 1.3')
31
31
  spec.add_runtime_dependency('gli','2.9.0')
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sifttter-redux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.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-04-04 00:00:00.000000000 Z
11
+ date: 2014-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: cliutils
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.2.1
75
+ version: '1.3'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.2.1
82
+ version: '1.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: gli
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -162,4 +162,3 @@ test_files:
162
162
  - features/support/env.rb
163
163
  - test/date_range_maker_test.rb
164
164
  - test/test_helper.rb
165
- has_rdoc: