sifttter-redux 0.6 → 0.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6967ac35281de5c0dd08146937c43fee382de50d
4
- data.tar.gz: 67c9c4c56ceeea7e137cf351642b7beaf4cc6862
3
+ metadata.gz: 81b4732164a7de0c4c28ea756be13d7374b6c2ec
4
+ data.tar.gz: 9355c50c41868f66f6fe9978a54e8d1126c9c1c1
5
5
  SHA512:
6
- metadata.gz: 5f270d0de834059c6eb902f8952266614ae55f081ce4c415f50b3ccae13edeb9013c4fda4c36e86ddf4d9945132d7e5c98fa42a723faa4a07207b7f39bf564c3
7
- data.tar.gz: 1b3494e3085c982ea906e36480ad7badf9f9f6ff982d07c7bf630151948b1c16baaa29a88a621b5373e5d6fb730f07fb43ce79dfe5b980559c6aa47596a57e4c
6
+ metadata.gz: 241989e80e12181917a8c9273516f27bf9158e595be3354c120a97248490a45b4836cb6126cc20d0d9c4ed35df7e5cf571fdcf066c27cab9f10b49f0e8e97f94
7
+ data.tar.gz: 52258e05b83a4df1210c51262a3296d57eaba9695b81c59dbd48880634f51b5e08afa2958ace6fa4ba6fd6576c5207a6a4c2accf652b6cef007f015a450abc1c
data/HISTORY.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 0.6.1 (2014-04-02)
2
+
3
+ * Fixed Aruba tests
4
+
5
+ # 0.6.0 (2014-04-01)
6
+
7
+ * Migrated to CLIUtils
8
+
1
9
  # 0.5.4 (2014-03-19)
2
10
 
3
11
  * Fixed several bugs related to configuration management
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
 
4
4
  def version
5
5
  contents = File.read File.expand_path('../lib/sifttter-redux/constants.rb', __FILE__)
6
- contents[/VERSION = '([^']+)'/, 1]
6
+ contents[/\sVERSION = '([^']+)'/, 1]
7
7
  end
8
8
 
9
9
  spec = eval(File.read('sifttter-redux.gemspec'))
@@ -43,55 +43,9 @@ end
43
43
 
44
44
  desc "Build the gem"
45
45
  task :build do
46
- p version
47
46
  FileUtils.mkdir_p "pkg"
48
47
  sh "gem build sifttter-redux.gemspec"
49
48
  FileUtils.mv("./sifttter-redux-#{ version }.gem", "pkg")
50
49
  end
51
50
 
52
51
  task :default => [:test, :features]
53
-
54
- # require 'rake/clean'
55
- # require 'rubygems'
56
- # require 'rubygems/package_task'
57
- # require 'rdoc/task'
58
- # require 'cucumber'
59
- # require 'cucumber/rake/task'
60
- # Rake::RDocTask.new do |rd|
61
- # rd.main = "README.rdoc"
62
- # rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
63
- # rd.title = 'Your application title'
64
- # end
65
- #
66
- # spec = eval(File.read('sifttter_redux.gemspec'))
67
- #
68
- # Gem::PackageTask.new(spec) do |pkg|
69
- # end
70
- # CUKE_RESULTS = 'results.html'
71
- # CLEAN << CUKE_RESULTS
72
- # desc 'Run features'
73
- # Cucumber::Rake::Task.new(:features) do |t|
74
- # opts = "features --format html -o #{CUKE_RESULTS} --format progress -x"
75
- # opts += " --tags #{ENV['TAGS']}" if ENV['TAGS']
76
- # t.cucumber_opts = opts
77
- # t.fork = false
78
- # end
79
- #
80
- # desc 'Run features tagged as work-in-progress (@wip)'
81
- # Cucumber::Rake::Task.new('features:wip') do |t|
82
- # tag_opts = ' --tags ~@pending'
83
- # tag_opts = ' --tags @wip'
84
- # t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty -x -s#{tag_opts}"
85
- # t.fork = false
86
- # end
87
- #
88
- # task :cucumber => :features
89
- # task 'cucumber:wip' => 'features:wip'
90
- # task :wip => 'features:wip'
91
- # require 'rake/testtask'
92
- # Rake::TestTask.new do |t|
93
- # t.libs << "test"
94
- # t.test_files = FileList['test/*_test.rb']
95
- # end
96
- #
97
- # task :default => [:test, :features]
@@ -1,4 +1,3 @@
1
- @announce
2
1
  Feature: Initialization
3
2
  As a user, when I initialize Sifttter Redux,
4
3
  I should be guided through the process as
@@ -9,46 +8,46 @@ Feature: Initialization
9
8
  And an empty file located at "/tmp/srd/.dropbox_uploader"
10
9
  When I run `srd init` interactively
11
10
  And I type ""
12
- And I type "~/sifttter_download"
11
+ And I type "/tmp/srd/sifttter_download"
13
12
  And I type "/Apps/ifttt/Sifttter"
14
- And I type "~/day_one_download"
13
+ And I type "/tmp/srd/day_one_download"
15
14
  And I type "/Apps/Day\ One/Journal.dayone/entries"
16
15
  Then the exit status should be 0
17
16
  And the file "/tmp/srd/.sifttter_redux" should contain:
18
17
  """
19
18
  ---
20
- :sifttter_redux:
21
- :config_location: "/tmp/srd/.sifttter_redux"
22
- :log_level: WARN
19
+ sifttter_redux:
20
+ config_location: "/tmp/srd/.sifttter_redux"
21
+ log_level: WARN
23
22
  """
24
23
  And the file "/tmp/srd/.sifttter_redux" should contain:
25
24
  """
26
- :sifttter_local_filepath: "/tmp/srd/sifttter_download"
27
- :sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
28
- :dayone_local_filepath: "/tmp/srd/day_one_download"
29
- :dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
30
- :db_uploader:
31
- :base_filepath: "/usr/local/opt"
32
- :dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
33
- :exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
25
+ sifttter_local_filepath: "/tmp/srd/sifttter_download"
26
+ sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
27
+ dayone_local_filepath: "/tmp/srd/day_one_download"
28
+ dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
29
+ db_uploader:
30
+ base_filepath: "/usr/local/opt"
31
+ dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
32
+ exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
34
33
  """
35
34
 
36
35
  Scenario: Reinitialization (refuse)
37
36
  Given a file located at "/tmp/srd/.sifttter_redux" with the contents:
38
37
  """
39
38
  ---
40
- :sifttter_redux:
41
- :config_location: "/tmp/srd/.sifttter_redux"
42
- :log_level: WARN
43
- :version: 0.5.4
44
- :sifttter_local_filepath: "/tmp/srd/sifttter_download"
45
- :sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
46
- :dayone_local_filepath: "/tmp/srd/day_one_download"
47
- :dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
48
- :db_uploader:
49
- :base_filepath: "/usr/local/opt"
50
- :dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
51
- :exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
39
+ sifttter_redux:
40
+ config_location: "/tmp/srd/.sifttter_redux"
41
+ log_level: WARN
42
+ version: 10.0
43
+ sifttter_local_filepath: "/tmp/srd/sifttter_download"
44
+ sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
45
+ dayone_local_filepath: "/tmp/srd/day_one_download"
46
+ dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
47
+ db_uploader:
48
+ base_filepath: "/usr/local/opt"
49
+ dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
50
+ exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
52
51
  """
53
52
  And an empty file located at "/tmp/srd/.dropbox_uploader"
54
53
  When I run `srd init` interactively
@@ -59,72 +58,72 @@ Feature: Initialization
59
58
  Given a file located at "/tmp/srd/.sifttter_redux" with the contents:
60
59
  """
61
60
  ---
62
- :sifttter_redux:
63
- :config_location: "/tmp/srd/.sifttter_redux"
64
- :log_level: WARN
65
- :version: 0.5.4
66
- :sifttter_local_filepath: "/tmp/srd/sifttter_download"
67
- :sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
68
- :dayone_local_filepath: "/tmp/srd/day_one_download"
69
- :dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
70
- :db_uploader:
71
- :base_filepath: "/usr/local/opt"
72
- :dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
73
- :exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
61
+ sifttter_redux:
62
+ config_location: "/tmp/srd/.sifttter_redux"
63
+ log_level: WARN
64
+ version: 10.0
65
+ sifttter_local_filepath: "/tmp/srd/sifttter_download"
66
+ sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
67
+ dayone_local_filepath: "/tmp/srd/day_one_download"
68
+ dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
69
+ db_uploader:
70
+ base_filepath: "/usr/local/opt"
71
+ dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
72
+ exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
74
73
  """
75
74
  And an empty file located at "/tmp/srd/.dropbox_uploader"
76
75
  When I run `srd init` interactively
77
76
  And I type "y"
78
77
  And I type ""
79
- And I type "~/sifttter_download2"
78
+ And I type "/tmp/srd/sifttter_download2"
80
79
  And I type "/Apps/ifttt/Sifttter2"
81
- And I type "~/day_one_download2"
80
+ And I type "/tmp/srd/day_one_download2"
82
81
  And I type "/Apps/Day\ One/Journal.dayone/entries2"
83
82
  Then the exit status should be 0
84
83
  And the file "/tmp/srd/.sifttter_redux" should contain:
85
84
  """
86
85
  ---
87
- :sifttter_redux:
88
- :config_location: "/tmp/srd/.sifttter_redux"
89
- :log_level: WARN
86
+ sifttter_redux:
87
+ config_location: "/tmp/srd/.sifttter_redux"
88
+ log_level: WARN
90
89
  """
91
90
  And the file "/tmp/srd/.sifttter_redux" should contain:
92
91
  """
93
- :sifttter_local_filepath: "/tmp/srd/sifttter_download2"
94
- :sifttter_remote_filepath: "/Apps/ifttt/Sifttter2"
95
- :dayone_local_filepath: "/tmp/srd/day_one_download2"
96
- :dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries2"
97
- :db_uploader:
98
- :base_filepath: "/usr/local/opt"
99
- :dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
100
- :exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
92
+ sifttter_local_filepath: "/tmp/srd/sifttter_download2"
93
+ sifttter_remote_filepath: "/Apps/ifttt/Sifttter2"
94
+ dayone_local_filepath: "/tmp/srd/day_one_download2"
95
+ dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries2"
96
+ db_uploader:
97
+ base_filepath: "/usr/local/opt"
98
+ dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
99
+ exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
101
100
  """
102
-
101
+
103
102
  Scenario: Reinitialization (from scratch)
104
103
  Given no file located at "/tmp/srd/.sifttter_redux"
105
104
  And an empty file located at "/tmp/srd/.dropbox_uploader"
106
105
  When I run `srd init -s` interactively
107
106
  And I type ""
108
- And I type "~/sifttter_download"
107
+ And I type "/tmp/srd/sifttter_download"
109
108
  And I type "/Apps/ifttt/Sifttter"
110
- And I type "~/day_one_download"
109
+ And I type "/tmp/srd/day_one_download"
111
110
  And I type "/Apps/Day\ One/Journal.dayone/entries"
112
111
  Then the exit status should be 0
113
112
  And the file "/tmp/srd/.sifttter_redux" should contain:
114
113
  """
115
114
  ---
116
- :sifttter_redux:
117
- :config_location: "/tmp/srd/.sifttter_redux"
118
- :log_level: WARN
115
+ sifttter_redux:
116
+ config_location: "/tmp/srd/.sifttter_redux"
117
+ log_level: WARN
119
118
  """
120
119
  And the file "/tmp/srd/.sifttter_redux" should contain:
121
120
  """
122
- :sifttter_local_filepath: "/tmp/srd/sifttter_download"
123
- :sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
124
- :dayone_local_filepath: "/tmp/srd/day_one_download"
125
- :dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
126
- :db_uploader:
127
- :base_filepath: "/usr/local/opt"
128
- :dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
129
- :exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
121
+ sifttter_local_filepath: "/tmp/srd/sifttter_download"
122
+ sifttter_remote_filepath: "/Apps/ifttt/Sifttter"
123
+ dayone_local_filepath: "/tmp/srd/day_one_download"
124
+ dayone_remote_filepath: "/Apps/Day\\ One/Journal.dayone/entries"
125
+ db_uploader:
126
+ base_filepath: "/usr/local/opt"
127
+ dbu_filepath: "/usr/local/opt/Dropbox-Uploader"
128
+ exe_filepath: "/usr/local/opt/Dropbox-Uploader/dropbox_uploader.sh"
130
129
  """
@@ -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'
32
+ VERSION = '0.6.1'
33
33
  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'
4
+ version: 0.6.1
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-01 00:00:00.000000000 Z
11
+ date: 2014-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -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: