nendo 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ Nzk3MjcxOGM4OGYxOWMwYWIxMDBiNGZjZDg0OGYwNTNkNzcwZjA4Mg==
5
+ data.tar.gz: !binary |-
6
+ MTU2Y2I0MzFkMjQ1YjU4OTdiYzFmMThhYjZjNWVlNzgyYWQ0OGE5Zg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZmMwOWIzZWUyYjA5NzJkYzM1NjQwODdlOWIwYTk3M2EwNzYxODhlYmY3YWY4
10
+ YzJkMzFiMTVmMmFjMWM0MjUzMTMzNWZmMzFkYzQ0Njg1MTM2NDBjMzE2NDRj
11
+ MzhhYmY0MjczMTcyYWM5NDM4YTVlMDMyZmRhZmYyZjgzNTdiYzg=
12
+ data.tar.gz: !binary |-
13
+ NjA5MjZhY2VjMjExY2JlNTM2OTc1ZDllOWY2ZmIxNGNmMTIzNzkzZWI1ZTYx
14
+ OTcwZDlmMDdmMzkyYjcxOGZiMmNmOGQzYjRkZmExYTljMTYxNTg0MWZlNTA5
15
+ NTQ4MDQ0MjU3NjhmMjRiMjAxYjQ5ODEwMWJlMjEyZDY0NDFhYmU=
data/Rakefile CHANGED
@@ -2,7 +2,7 @@
2
2
  # Rakefile for Nendo
3
3
  # Release Engineering
4
4
  # 1. edit the VERSION.yml file
5
- # 2. rake compile && rake test
5
+ # 2. rake compile && rake
6
6
  # 3. rake gemspec && rake build
7
7
  # to generate nendo-x.x.x.gem
8
8
  # 4. install nendo-x.x.x.gem to clean environment and test
@@ -11,7 +11,7 @@
11
11
 
12
12
  require 'rake'
13
13
  begin
14
- require 'jeweler'
14
+ require 'jeweler2'
15
15
  Jeweler::Tasks.new do |gemspec|
16
16
  gemspec.name = "nendo"
17
17
  gemspec.summary = "Nendo is a dialect of Lisp."
@@ -38,12 +38,12 @@ begin
38
38
  'emacs/*.el',
39
39
  'benchmark/*.rb',
40
40
  'benchmark/*.nnd'].to_a
41
- gemspec.add_dependency "rspec"
41
+ gemspec.add_development_dependency "rspec"
42
+ gemspec.add_development_dependency "rake"
42
43
  gemspec.add_dependency "json"
43
- gemspec.add_dependency "rake"
44
44
  end
45
45
  rescue LoadError
46
- puts 'Jeweler not available. If you want to build a gemfile, please install with "sudo gem install jeweler"'
46
+ puts 'Jeweler2 not available. If you want to build a gemfile, please install with "sudo gem install jeweler2"'
47
47
  end
48
48
 
49
49
  printf( "Info: NENDO_CLEAN_TEST is [%s]\n", ENV[ 'NENDO_CLEAN_TEST' ] )
@@ -55,30 +55,32 @@ task :test => [:test1, :test2] do
55
55
  end
56
56
 
57
57
  task :test1 do
58
- sh "time ruby -I ./lib `which rspec` -b ./test/nendo_spec.rb -r ./test/rspec_formatter_for_emacs.rb -f CustomFormatter"
59
- sh "time ruby -I ./lib `which rspec` -b ./test/syntax_spec.rb -r ./test/rspec_formatter_for_emacs.rb -f CustomFormatter"
60
- sh "time ruby -I ./lib `which rspec` -b ./test/testframework_spec.rb -r ./test/rspec_formatter_for_emacs.rb -f CustomFormatter"
61
- sh "time ruby -I ./lib ./bin/nendo ./test/srfi-1-test.nnd"
58
+ sh "ruby -I ./lib `which rspec` -b ./test/nendo_spec.rb "
59
+ sh "ruby -I ./lib `which rspec` -b ./test/syntax_spec.rb "
60
+ sh "ruby -I ./lib `which rspec` -b ./test/testframework_spec.rb "
61
+ sh "ruby -I ./lib ./bin/nendo ./test/srfi-1-test.nnd"
62
62
  end
63
63
 
64
64
  task :test2 do
65
65
  sh "/bin/rm -f test.record"
66
66
  sh "echo "" > test.log"
67
- sh "time ruby -I ./lib ./bin/nendo ./test/textlib-test.nnd >> test.log"
68
- sh "time ruby -I ./lib ./bin/nendo ./test/nendo-util-test.nnd >> test.log"
69
- sh "time ruby -I ./lib ./bin/nendo ./test/json-test.nnd >> test.log"
70
- sh "time ruby -I ./lib ./bin/nendo ./test/srfi-2-test.nnd >> test.log"
71
- sh "time ruby -I ./lib ./bin/nendo ./test/srfi-26-test.nnd >> test.log"
72
- sh "time ruby -I ./lib ./bin/nendo ./test/util-list-test.nnd >> test.log"
67
+ sh "ruby -I ./lib ./bin/nendo ./test/textlib-test.nnd >> test.log"
68
+ sh "ruby -I ./lib ./bin/nendo ./test/nendo-util-test.nnd >> test.log"
69
+ sh "ruby -I ./lib ./bin/nendo ./test/json-test.nnd >> test.log"
70
+ sh "ruby -I ./lib ./bin/nendo ./test/srfi-2-test.nnd >> test.log"
71
+ sh "ruby -I ./lib ./bin/nendo ./test/srfi-26-test.nnd >> test.log"
72
+ sh "ruby -I ./lib ./bin/nendo ./test/util-list-test.nnd >> test.log"
73
73
  sh "cat test.record"
74
+ sh "grep ' 0 failed, ' test.record > /dev/null"
74
75
  end
75
76
 
76
77
  task :test3 do
77
78
  sh "/bin/rm -f test.record"
78
79
  sh "echo "" > test3.log"
79
- sh "time ruby -I ./lib ./bin/nendo ./test/match-test.nnd | tee -a test3.log"
80
- sh "time ruby -I ./lib ./bin/nendo ./test/util-combinations-test.nnd | tee -a test3.log"
80
+ sh "ruby -I ./lib ./bin/nendo ./test/match-test.nnd | tee -a test3.log"
81
+ sh "ruby -I ./lib ./bin/nendo ./test/util-combinations-test.nnd | tee -a test3.log"
81
82
  sh "cat test.record"
83
+ sh "grep ' 0 failed, ' test.record > /dev/null"
82
84
  end
83
85
 
84
86
  task :condition_test3 do
@@ -130,7 +132,7 @@ task :compile do
130
132
  files << "./lib/nendo/util/combinations.nnd"
131
133
  files << "./lib/nendo/nendo/experimental.nnd"
132
134
  files.each {|fn|
133
- sh sprintf( "time ruby -I ./lib ./bin/nendo -c %s > %s", fn, fn + "c" )
135
+ sh sprintf( "ruby -I ./lib ./bin/nendo -c %s > %s", fn, fn + "c" )
134
136
  }
135
137
  end
136
138
 
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 6
4
- :patch: 4
4
+ :patch: 5