rubypp 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/rubypp +4 -5
  2. metadata +54 -25
data/bin/rubypp CHANGED
@@ -2,10 +2,9 @@
2
2
 
3
3
  require 'rubypp'
4
4
 
5
- if __FILE__ == $0 then
6
- input_file = ARGV[0]
7
- output_file = ARGV[1]
8
- rubypp(input_file, output_file)
9
- end
5
+ input_file = ARGV[0]
6
+ output_file = ARGV[1]
7
+
8
+ rubypp(input_file, output_file)
10
9
 
11
10
 
metadata CHANGED
@@ -1,54 +1,83 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubypp
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 3
10
+ version: 0.0.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Paul Brannan
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-05-03 00:00:00.000000000 Z
17
+
18
+ date: 2012-05-03 00:00:00 Z
13
19
  dependencies: []
14
- description: ! "Rubypp is a preprocessor that uses ruby to transform text. Syntax
15
- is\nsimilar to the C preprocessor, e.g.:\n\n#include <stdio.h>\n\n#ruby <<END\n
16
- \ a = 42\n nil # the last value of the block gets inserted into the output stream\nEND\n\nint
17
- main()\n{\n printf(\"The answer is: #{a}\\n\");\n}\n"
20
+
21
+ description: |
22
+ Rubypp is a preprocessor that uses ruby to transform text. Syntax is
23
+ similar to the C preprocessor, e.g.:
24
+
25
+ #include <stdio.h>
26
+
27
+ #ruby <<END
28
+ a = 42
29
+ nil # the last value of the block gets inserted into the output stream
30
+ END
31
+
32
+ int main()
33
+ {
34
+ printf("The answer is: #{a}\n");
35
+ }
36
+
18
37
  email: curlypaul924@gmail.com
19
- executables:
38
+ executables:
20
39
  - rubypp
21
40
  extensions: []
22
- extra_rdoc_files:
41
+
42
+ extra_rdoc_files:
23
43
  - README.markdown
24
- files:
44
+ files:
25
45
  - lib/rubypp.rb
26
46
  - bin/rubypp
27
47
  - README.markdown
28
48
  - test/test_rubypp.rb
29
49
  homepage: http://github.com/cout/rubypp/
30
50
  licenses: []
51
+
31
52
  post_install_message:
32
53
  rdoc_options: []
33
- require_paths:
54
+
55
+ require_paths:
34
56
  - lib
35
- required_ruby_version: !ruby/object:Gem::Requirement
57
+ required_ruby_version: !ruby/object:Gem::Requirement
36
58
  none: false
37
- requirements:
38
- - - ! '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ hash: 3
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
42
67
  none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
74
+ version: "0"
47
75
  requirements: []
76
+
48
77
  rubyforge_project:
49
- rubygems_version: 1.8.21
78
+ rubygems_version: 1.7.2
50
79
  signing_key:
51
80
  specification_version: 3
52
81
  summary: A preprocessor that uses ruby to transform text
53
- test_files:
82
+ test_files:
54
83
  - test/test_rubypp.rb