clochard 0.0.0.pre.alpha

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 510c8a677dc2ce9beb107f6b6a2b2016e1a31aee
4
+ data.tar.gz: 4b0ccb574f09d0d938476cac633d05ba30aa7f39
5
+ SHA512:
6
+ metadata.gz: 8848d9da9045fc26cb232c05d776a4d715018a3a887fccf2b7128c1cbbf0ce25e4402fb60b995984383036e42ff5446415c468b73255ed95f445992dbf298555
7
+ data.tar.gz: ccdf1e7044fe7e667e617ea4697ee9ad3224d163e6665c1bc2f79ee518cb30057f1ed433f10a46674afac403b6d7ffbba76e36fce17f95d99c1f2fedcbcd7a9a
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Clochard
2
+
3
+ Bring the Clojure persitent data structures to JRuby, an experiment.
Binary file
data/clochard.gemspec ADDED
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.name = 'clochard'
5
+ gem.version = '0.0.0-alpha'
6
+ gem.authors = [ 'Arne Brasseur' ]
7
+ gem.email = [ 'arne@arnebrasseur.net' ]
8
+ gem.description = 'Clojure data structures for JRuby'
9
+ gem.summary = gem.description
10
+ gem.homepage = 'https://github.com/plexus/clochard'
11
+ gem.license = 'MIT'
12
+
13
+ gem.require_paths = %w[lib]
14
+ gem.files = `git ls-files`.split($/)
15
+ gem.test_files = `git ls-files -- spec`.split($/)
16
+ gem.extra_rdoc_files = %w[README.md]
17
+ end
data/lib/clochard.rb ADDED
@@ -0,0 +1,21 @@
1
+ require 'pathname'
2
+
3
+ require Dir[Pathname.new(__FILE__).join('../../*.jar')].first
4
+
5
+ module Clochard
6
+ import com.github.krukow.clj_lang.PersistentList
7
+
8
+ class << self
9
+ def list(*items)
10
+ items.reduce(EmptyList) { |list, item| list.cons(item) }
11
+ end
12
+ end
13
+
14
+ class PersistentList
15
+ def inspect
16
+ "Clochard.list(#{map(&:inspect).join(', ')})"
17
+ end
18
+ end
19
+
20
+ EmptyList = PersistentList.empty_list
21
+ end
metadata ADDED
@@ -0,0 +1,50 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: clochard
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0.pre.alpha
5
+ platform: ruby
6
+ authors:
7
+ - Arne Brasseur
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-10 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Clojure data structures for JRuby
14
+ email:
15
+ - arne@arnebrasseur.net
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files:
19
+ - README.md
20
+ files:
21
+ - README.md
22
+ - clj-ds-0.0.5-SNAPSHOT.jar
23
+ - clochard.gemspec
24
+ - lib/clochard.rb
25
+ homepage: https://github.com/plexus/clochard
26
+ licenses:
27
+ - MIT
28
+ metadata: {}
29
+ post_install_message:
30
+ rdoc_options: []
31
+ require_paths:
32
+ - lib
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '>'
41
+ - !ruby/object:Gem::Version
42
+ version: 1.3.1
43
+ requirements: []
44
+ rubyforge_project:
45
+ rubygems_version: 2.1.10
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: Clojure data structures for JRuby
49
+ test_files: []
50
+ has_rdoc: