maroon 0.5.2
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.
- data/Examples/Dijkstra/CalculateShortestDistance.rb +65 -0
- data/Examples/Dijkstra/calculate_shortest_path.rb +352 -0
- data/Examples/Dijkstra/data.rb +210 -0
- data/Examples/Dijkstra/dijkstra.rb +84 -0
- data/Examples/MoneyTransfer.rb +61 -0
- data/Examples/greeter.rb +45 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +1 -0
- data/lib/maroon.rb +363 -0
- data/lib/maroon/kernel.rb +5 -0
- data/lib/maroon/version.rb +3 -0
- data/maroon.gemspec +28 -0
- metadata +158 -0
data/maroon.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'maroon/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = 'maroon'
|
8
|
+
gem.version = Maroon::VERSION
|
9
|
+
gem.authors = ['Rune Funch Søltoft']
|
10
|
+
gem.email = %w(funchsoltoft@gmail.com)
|
11
|
+
gem.description = %q{maroon makes DCI a DSL for Ruby it's mainly based on the work gone into Marvin,
|
12
|
+
the first language to support injectionless DCI.
|
13
|
+
|
14
|
+
The performance of code written using maroon is on par with code using regular method invocation.
|
15
|
+
|
16
|
+
For examples on how to use maroon look at the examples}
|
17
|
+
gem.summary = %q{maroon}
|
18
|
+
gem.homepage = 'https://github.com/runefs/maroon'
|
19
|
+
|
20
|
+
gem.files = `git ls-files`.split($/)
|
21
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
22
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
23
|
+
gem.require_paths = ["lib"]
|
24
|
+
gem.add_runtime_dependency 'sexp_processor', '~>3.2', '=3.2.0'
|
25
|
+
gem.add_runtime_dependency 'ruby_parser', '~>2.0', '=2.0.6'
|
26
|
+
gem.add_runtime_dependency 'ruby2ruby', '~>1.3', '>=1.3.1'
|
27
|
+
gem.add_runtime_dependency 'live_ast', '~>1.0', '>=1.0.2'
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: maroon
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Rune Funch Søltoft
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sexp_processor
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.2'
|
22
|
+
- - '='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 3.2.0
|
25
|
+
type: :runtime
|
26
|
+
prerelease: false
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.2'
|
33
|
+
- - '='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 3.2.0
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: ruby_parser
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '2.0'
|
44
|
+
- - '='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.0.6
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
- - '='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 2.0.6
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: ruby2ruby
|
60
|
+
requirement: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '1.3'
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.3.1
|
69
|
+
type: :runtime
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '1.3'
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 1.3.1
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: live_ast
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '1.0'
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 1.0.2
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '1.0'
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 1.0.2
|
102
|
+
description: ! 'maroon makes DCI a DSL for Ruby it''s mainly based on the work gone
|
103
|
+
into Marvin,
|
104
|
+
|
105
|
+
the first language to support injectionless DCI.
|
106
|
+
|
107
|
+
|
108
|
+
The performance of code written using maroon is on par with code using regular method
|
109
|
+
invocation.
|
110
|
+
|
111
|
+
|
112
|
+
For examples on how to use maroon look at the examples'
|
113
|
+
email:
|
114
|
+
- funchsoltoft@gmail.com
|
115
|
+
executables: []
|
116
|
+
extensions: []
|
117
|
+
extra_rdoc_files: []
|
118
|
+
files:
|
119
|
+
- .gitignore
|
120
|
+
- Examples/Dijkstra/CalculateShortestDistance.rb
|
121
|
+
- Examples/Dijkstra/calculate_shortest_path.rb
|
122
|
+
- Examples/Dijkstra/data.rb
|
123
|
+
- Examples/Dijkstra/dijkstra.rb
|
124
|
+
- Examples/MoneyTransfer.rb
|
125
|
+
- Examples/greeter.rb
|
126
|
+
- Gemfile
|
127
|
+
- LICENSE.txt
|
128
|
+
- README.md
|
129
|
+
- Rakefile
|
130
|
+
- lib/maroon.rb
|
131
|
+
- lib/maroon/kernel.rb
|
132
|
+
- lib/maroon/version.rb
|
133
|
+
- maroon.gemspec
|
134
|
+
homepage: https://github.com/runefs/maroon
|
135
|
+
licenses: []
|
136
|
+
post_install_message:
|
137
|
+
rdoc_options: []
|
138
|
+
require_paths:
|
139
|
+
- lib
|
140
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
148
|
+
requirements:
|
149
|
+
- - ! '>='
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
requirements: []
|
153
|
+
rubyforge_project:
|
154
|
+
rubygems_version: 1.8.23
|
155
|
+
signing_key:
|
156
|
+
specification_version: 3
|
157
|
+
summary: maroon
|
158
|
+
test_files: []
|