mutant-melbourne 2.0.2 → 2.0.3

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.
@@ -0,0 +1,2 @@
1
+ grammar.cpp: grammar.y
2
+ bison -o grammar.cpp grammar.y
@@ -0,0 +1,3 @@
1
+ all:
2
+
3
+ install:
@@ -70,17 +70,11 @@ unless(defined?(RUBY_ENGINE) and %w(rbx jruby).include?(RUBY_ENGINE))
70
70
  create_makefile('melbourne')
71
71
 
72
72
  File.open("Makefile","a+") do |f|
73
- f.puts <<END
74
- grammar.cpp: grammar.y
75
- bison -o grammar.cpp grammar.y
76
- END
77
- end
78
- else
79
- File.open("Makefile","w+") do |f|
80
- f.puts <<END
81
- all:
73
+ f.puts(File.read(File.join(File.dirname(__FILE__), 'Makefile.bison')))
74
+ end
82
75
 
83
- install:
84
- END
76
+ else
77
+ File.open("Makefile","w+") do |f|
78
+ f.puts(File.read(File.join(File.dirname(__FILE__), 'Makefile.noop')))
85
79
  end
86
80
  end
@@ -1,3 +1,3 @@
1
1
  module Melbourne
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutant-melbourne
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -25,6 +25,8 @@ files:
25
25
  - README.md
26
26
  - Rakefile
27
27
  - ext/melbourne/.gitignore
28
+ - ext/melbourne/Makefile.bison
29
+ - ext/melbourne/Makefile.noop
28
30
  - ext/melbourne/bstring-license.txt
29
31
  - ext/melbourne/bstrlib.c
30
32
  - ext/melbourne/bstrlib.h