pinpress 1.3.2 → 1.3.3

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: bfe947ad09fb8eeb8f5fadbaa49c76655dc435dc
4
- data.tar.gz: af23be52bb1e1e7ca49a3170c7016a1e92805650
3
+ metadata.gz: fa24927875f4c63b7ff399e51e7077cc3f54b959
4
+ data.tar.gz: 8095783fe3adeedd8abfb09c73961cec1121549f
5
5
  SHA512:
6
- metadata.gz: 3052d9f73da751df0cd2f37fd117e22790c0767923b23ffa8bbd96ff304501d8658281abeb8dad30451e20a42fcece938fa4eb9e8127a1a394c14131c7a83cc4
7
- data.tar.gz: 33d65f16f60c27637aebce97cba005cadb8e0792fae3055052aac1ffd8108035bafbc38e5ff357c25122ff7918eeef01a61b0cc4a169e046f8e3bec5150c8dc9
6
+ metadata.gz: 1fe7ae484f60118e98172d0ce4e48460dddfb6e9a05f9629304ea0ee74ea0d4e50a4355115f3c0287f03c1d58ef78fd7906f7b1b8dc595f09fdbaac9eb5acd06
7
+ data.tar.gz: e30951147d3927fb627979ca0140b1603fda9a13885b23967470adc30b4aa90e7370662f754d76fa9750aeb3c5d0739b2a8e12fed7236f5647cd6ddf10567052
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.3.3 (2014-05-13)
2
+
3
+ * Fixed a bug with datetimestamps in `pins last` and `tags last`
4
+
1
5
  # 1.3.2 (2014-05-08)
2
6
 
3
7
  * Added ability to list template contents, along with name
data/README.md CHANGED
@@ -42,7 +42,7 @@ SYNOPSIS
42
42
  pinpress [global options] command [command options] [arguments...]
43
43
 
44
44
  VERSION
45
- 1.3.1
45
+ 1.3.3
46
46
 
47
47
  GLOBAL OPTIONS
48
48
  --help - Show this message
data/bin/pinpress CHANGED
@@ -92,11 +92,11 @@ end
92
92
  # ======================================================
93
93
  # Error (runs when an exception is raised)
94
94
  # ======================================================
95
- on_error do |exception|
96
- messenger.error(exception.to_s)
97
- exit!(1)
98
- true
99
- end
95
+ # on_error do |exception|
96
+ # messenger.error(exception.to_s)
97
+ # exit!(1)
98
+ # true
99
+ # end
100
100
 
101
101
  # ======================================================
102
102
  # Commands
@@ -171,7 +171,7 @@ command :pins do |c|
171
171
 
172
172
  # Set one option: the start date. Set it to the last-run date + 1.
173
173
  opts = {}
174
- opts.merge!(fromdt: last_run_date + 1)
174
+ opts.merge!(fromdt: DateTime.parse(last_run_date) + 1)
175
175
  opts.merge!(PinPress.merge_common_options(options))
176
176
 
177
177
  # Request pin data from Pinboard and output the return data.
@@ -212,7 +212,7 @@ command :tags do |c|
212
212
 
213
213
  # Set one option: the start date. Set it to the last-run date + 1.
214
214
  opts = {}
215
- opts.merge!(fromdt: last_run_date + 1)
215
+ opts.merge!(fromdt: DateTime.parse(last_run_date) + 1)
216
216
  opts.merge!(PinPress.merge_common_options(options))
217
217
 
218
218
  # Request tag data from Pinboard and output the return data.
@@ -1,4 +1,4 @@
1
- @active
1
+ # @active
2
2
  Feature: Templates
3
3
  As a user, I should be able to list available
4
4
  templates and choose one.
@@ -10,9 +10,15 @@ Feature: Templates
10
10
  And the output should contain:
11
11
  """
12
12
  ---> AVAILABLE PIN TEMPLATES:
13
- # 1. pinpress_default
13
+ 1. Name: pinpress_default
14
+ Opener: <ul>
15
+ Item: <li><%= href %></li>
16
+ Closer: </ul>
14
17
  ---> AVAILABLE TAG TEMPLATES:
15
- # 1. pinpress_default
18
+ 1. Name: pinpress_default
19
+ Opener:
20
+ Item: <%= tag %> (<%= count %>),
21
+ Closer:
16
22
  """
17
23
 
18
24
  Scenario: List Templates (explicit)
@@ -22,7 +28,13 @@ Feature: Templates
22
28
  And the output should contain:
23
29
  """
24
30
  ---> AVAILABLE PIN TEMPLATES:
25
- # 1. pinpress_default
31
+ 1.\tName: pinpress_default
32
+ Opener: <ul>
33
+ Item: <li><%= href %></li>
34
+ Closer: </ul>
26
35
  ---> AVAILABLE TAG TEMPLATES:
27
- # 1. pinpress_default
36
+ 1. Name: pinpress_default
37
+ Opener:
38
+ Item: <%= tag %> (<%= count %>),
39
+ Closer:
28
40
  """
@@ -28,5 +28,5 @@ module PinPress
28
28
  SUMMARY = 'A simple CLI to create HTML templates of Pinboard data.'
29
29
 
30
30
  # The Gem's version
31
- VERSION = '1.3.2'
31
+ VERSION = '1.3.3'
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.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-05-09 00:00:00.000000000 Z
11
+ date: 2014-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aruba