wallpapers 0.0.6 → 0.0.7

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 (4) hide show
  1. data/Rakefile +8 -0
  2. data/test/test_wallpaper.rb +16 -0
  3. metadata +5 -3
  4. data/lib/config.yml +0 -1
@@ -0,0 +1,8 @@
1
+ require 'rake/testtask'
2
+
3
+ Rake::TestTask.new do |t|
4
+ t.libs << 'test'
5
+ end
6
+
7
+ desc "Run tests"
8
+ task :default => :test
@@ -0,0 +1,16 @@
1
+ require 'test/unit'
2
+ require 'wallpaper'
3
+
4
+ class WallpaperTest < Test::Unit::TestCase
5
+ def test_call_class
6
+ assert_not_nil Wallpaper.new
7
+ end
8
+
9
+ def test_gem
10
+ assert_kind_of Object, Gem::Specification.find_by_name("wallpapers","0.0.5")
11
+ end
12
+
13
+ def test_open_file
14
+ assert_not_nil Wallpaper.get_path
15
+ end
16
+ end
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.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -17,8 +17,9 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - Rakefile
20
21
  - lib/wallpaper.rb
21
- - lib/config.yml
22
+ - test/test_wallpaper.rb
22
23
  homepage: https://rubygems.org/gems/wallpapers
23
24
  licenses: []
24
25
  post_install_message:
@@ -43,4 +44,5 @@ rubygems_version: 1.8.11
43
44
  signing_key:
44
45
  specification_version: 3
45
46
  summary: Wallpapers!
46
- test_files: []
47
+ test_files:
48
+ - test/test_wallpaper.rb
@@ -1 +0,0 @@
1
- path: 'patente'