flickpaper 0.0.4 → 0.0.5

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -0
  3. data/lib/flickpaper.rb +2 -1
  4. data/version +1 -1
  5. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b263f4ce1be4678df104ce63887eaa58072b0af2
4
- data.tar.gz: 4bff630195a7af3215b009017f16f89ebbf22ca9
3
+ metadata.gz: 87b4a489dd57b1871df5a2193ec5a07890bd8fe2
4
+ data.tar.gz: f290c99d8fe358089aba0b8f8c826a14c4af8a5c
5
5
  SHA512:
6
- metadata.gz: 977e8ad44047974dcc77e895ea2861fa830ac6d5429bfde6bda2e09846ad432f123c5e484f9b340d987e92cfbd1e955018b95d45eea9ac48bfa2ba50355bb211
7
- data.tar.gz: 7c2ef3d7cfe806fe2c00b50ee130a38e06d27f37a0298a3cb14273d10f7df57d0d4c44af3a63a6a1ee1b93b54289499881144520b7e0e67914b9081ca10b678a
6
+ metadata.gz: c3db48c2899611ab9ccc9562877014411366333aab1a56a58fcba67f722c00b89e40a446e44f8a61534076d296f96081ee00ef6a3d7ef614064f13713e374484
7
+ data.tar.gz: 4123836bc97dd84843a48be76569662b1cdd7ab4eb8ee4ca89f2f2d290cc6b69436f327a2a354e0e75fa1d44479a4b89ac0b1b5e2930cb28ce1828332f98e713
data/README.md CHANGED
@@ -61,6 +61,13 @@ if [ ! -z "$FLICKPAPER" ]; then
61
61
  fi
62
62
  ```
63
63
 
64
+ And something similar to this in your crontab:
65
+
66
+ ```
67
+ # m h dom mon dow command
68
+ 27 * * * * DISPLAY=:0.0 XAUTHORITY=/home/atongen/.Xauthority /home/atongen/bin/flickr_wallpaper.sh
69
+ ```
70
+
64
71
  ## Contributing
65
72
 
66
73
  1. Fork it ( https://github.com/atongen/flickpaper/fork )
data/lib/flickpaper.rb CHANGED
@@ -288,7 +288,8 @@ module Flickpaper
288
288
  result = Flickpaper.set_wallpaper(options[:image])
289
289
  if result
290
290
  log.info("Set photo #{my_photo['id']} as wallpaper")
291
- Flickpaper.put_ids(options[:dump], ids<<my_photo['id'])
291
+ ids.unshift(my_photo['id'])
292
+ Flickpaper.put_ids(options[:dump], ids.take(1000))
292
293
  else
293
294
  log.error("Unable to set photo #{my_photo['id']} as wallpaper")
294
295
  end
data/version CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flickpaper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Tongen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-04 00:00:00.000000000 Z
11
+ date: 2016-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,9 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.4.5
94
+ rubygems_version: 2.4.5.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Sets your GNOME or OSX wallpaper to a recent interesting photo from flickr
98
98
  test_files: []
99
- has_rdoc: