gnome-wallpaper-changer 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -53,3 +53,12 @@ Multiple Ruby managers, such as RVM, heavily modify the environment in order to
53
53
  3. Commit your changes (`git commit -am 'Added some feature'`)
54
54
  4. Push to the branch (`git push origin my-new-feature`)
55
55
  5. Create new Pull Request
56
+
57
+ ## Changelog
58
+ 0.0.2
59
+
60
+ * Suppressing EPERM on startup when a pid has gone stale.
61
+
62
+ 0.0.1
63
+
64
+ * Initial release.
@@ -19,7 +19,7 @@ module Gnome::Wallpaper::Changer
19
19
  if @options[:kill] || @options[:autostart]
20
20
  begin
21
21
  Thin::Server.kill PID_FILE, 0 if File.exists?( PID_FILE )
22
- rescue Errno::ESRCH => e
22
+ rescue Errno::ESRCH, Errno::EPERM => e
23
23
  #noop
24
24
  end
25
25
  FileUtils.rm PID_FILE if File.exists?( PID_FILE )
@@ -1,7 +1,7 @@
1
1
  module Gnome
2
2
  module Wallpaper
3
3
  module Changer
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnome-wallpaper-changer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-29 00:00:00.000000000 Z
12
+ date: 2012-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thin