nuric 0.7.4 → 0.8.0

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 (2) hide show
  1. data/Rakefile +5 -1
  2. metadata +2 -2
data/Rakefile CHANGED
@@ -60,7 +60,7 @@ def nuric
60
60
  end
61
61
  end
62
62
 
63
- task :default => :build
63
+ task :default => [:build, :test, :build_gem]
64
64
 
65
65
  task :build do
66
66
  # build
@@ -69,14 +69,18 @@ task :build do
69
69
  FileUtils.mkdir "#{share_dir}/#{platform}" unless
70
70
  Dir.exist?("#{share_dir}/#{platform}")
71
71
  FileUtils.cp name, nuric
72
+ end
72
73
 
74
+ task :test do
73
75
  # test
74
76
  Dir.chdir test_dir
75
77
  testfiles.each do |file|
76
78
  sh "#{nuric} #{file} 1>/dev/null"
77
79
  end
78
80
  Dir.chdir "#{home}/test"
81
+ end
79
82
 
83
+ task :build_gem do
80
84
  Dir.chdir home
81
85
  sh "gem build #{name}.gemspec"
82
86
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nuric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.8.0
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: 2014-11-12 00:00:00.000000000 Z
12
+ date: 2014-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake