wallpapers 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/config.yml +1 -1
  2. data/lib/wallpaper.rb +1 -2
  3. metadata +1 -1
data/lib/config.yml CHANGED
@@ -1 +1 @@
1
- path: "/home/ruben/Pictures/Backgrounds"
1
+ path: 'patente'
data/lib/wallpaper.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require 'yaml'
2
2
  class Wallpaper
3
3
  puts File.dirname(__FILE__)
4
- puts "Opening #{@path}"
5
4
 
6
5
  def self.get_path
7
6
  config = YAML.load_file(File.dirname(__FILE__)+"/config.yml")
@@ -12,7 +11,7 @@ class Wallpaper
12
11
  config = File.open(File.dirname(__FILE__)+"/config.yml",'w')
13
12
  config.write "path: '#{path}'"
14
13
  puts "Configuration file updated"
15
- config.close
14
+ return config.close
16
15
  end
17
16
 
18
17
  def self.run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wallpapers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: