pinpress 1.5.1 → 1.5.2

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: 747c296601a7ffc6e2c5b4ebb858a9738439c2ff
4
- data.tar.gz: 65d54a1bbd198a7eea7c6df10812cd011fe1ada3
3
+ metadata.gz: 16c3a1261457d78a7a116bca2aa115a42f75f279
4
+ data.tar.gz: b3ccd701978f3b4bfdc7c85d76db03d0a423fa38
5
5
  SHA512:
6
- metadata.gz: 0847e761d1a6dc78bac0ec70aa4645d5be0545866ed0921218e7f73b30293f1fa38fa5424410ac88a40f6f0efe60cfc10db77b0b31a319add47f4bae954c00d8
7
- data.tar.gz: d225c75a3ced9b23a0c3c77a9914cdd29d58db385e84b88d5ebcc53f0d56b735de682ac203afef66345188c807136b21c53fbaea021e83bd7d54854fb2f53aeb
6
+ metadata.gz: 77281608528aea4c3945c48a2eea792228b0d2769730226316c04845a7031e7a666c9fb6b707bad172cfd16a62487164b61a99832fb0140becb026239e33a175
7
+ data.tar.gz: 9112abaf1f90bf2b5b8da67ea995152a5c37b29d62644e6bdb0ee4a64bfdffdeb4cfb1d74064f1c2468fbc8128a329ec0a2c1c925e0065ed33ae1184c02c913a
data/HISTORY.md CHANGED
@@ -1,6 +1,10 @@
1
+ # 1.5.2 (2014-06-07)
2
+
3
+ * Fixed a small bug with running `tags last`
4
+
1
5
  # 1.5.1 (2014-05-27)
2
6
 
3
- * Fixed a bug with grabbing ignored tags from individual tag templates
7
+ * Fixed a bug with grabbing ignored tags from individual tag templates
4
8
 
5
9
  # 1.5.0 (2014-05-21)
6
10
 
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.5.1
45
+ 1.5.2
46
46
 
47
47
  GLOBAL OPTIONS
48
48
  --help - Show this message
@@ -243,10 +243,10 @@ command :tags do |c|
243
243
  # Set one option: the start date. Set it to the last-run date + 1.
244
244
  opts.merge!(fromdt: DateTime.parse(last_run_date) + 1)
245
245
  end
246
-
246
+
247
247
  # Set our common options.
248
248
  opts.merge!(PinPress.merge_common_options(options, template_name, PinPress::Template::TYPE_PIN))
249
-
249
+
250
250
  # Request tag data from Pinboard and output the return data.
251
251
  output = PinPress.tag_yield(template, opts)
252
252
  puts output if output
@@ -64,7 +64,7 @@ module PinPress
64
64
  tag_t_sym = :default_tag_template
65
65
  s = (template_type == PinPress::Template::TYPE_PIN ? pin_t_sym : tag_t_sym)
66
66
  default_template = configuration.pinpress[s]
67
-
67
+
68
68
  if explicit_template && PinPress.is_template?(explicit_template, template_type)
69
69
  messenger.debug("Using explicit template: #{ explicit_template }")
70
70
  return explicit_template, PinPress.get_template(explicit_template, template_type)
@@ -217,7 +217,7 @@ module PinPress
217
217
  PinPress.execute_template(opts) do |data|
218
218
  tags = []
219
219
  data.each { |i| tags += i[:tag] }
220
- tags = (tags -= template.ignored_tags if template.ignored_tags).uniq.map do |t|
220
+ tags = tags.uniq.map do |t|
221
221
  { tag: t, count: tags.count(t) }
222
222
  end
223
223
 
@@ -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.5.1'
31
+ VERSION = '1.5.2'
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.5.1
4
+ version: 1.5.2
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-27 00:00:00.000000000 Z
11
+ date: 2014-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aruba