zweikopf 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/zweikopf/primitive.rb +3 -1
- data/lib/zweikopf/transformer.rb +5 -1
- data/lib/zweikopf/version.rb +1 -1
- metadata +99 -103
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Zweikopf, a two-headed JVM friend of yours.
|
2
2
|
[![Continuous Integration status](https://secure.travis-ci.org/ifesdjeen/zweikopf.png)](http://travis-ci.org/ifesdjeen/zweikopf)
|
3
3
|
|
4
4
|
Zweikopf helps you to interoperate between Clojure and JRuby on JVM.
|
data/lib/zweikopf/primitive.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
require 'date'
|
2
|
+
|
1
3
|
module Zweikopf
|
2
4
|
module Primitive
|
3
5
|
def self.is_primitive_type?(obj)
|
4
|
-
[String, Fixnum, Integer, Float, TrueClass, FalseClass].include?(obj.class)
|
6
|
+
[String, Fixnum, Integer, Float, TrueClass, FalseClass, DateTime].include?(obj.class)
|
5
7
|
end # self.is_primitive_type?
|
6
8
|
end # Primitive
|
7
9
|
end # Zweikopf
|
data/lib/zweikopf/transformer.rb
CHANGED
data/lib/zweikopf/version.rb
CHANGED
metadata
CHANGED
@@ -1,119 +1,115 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: zweikopf
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.6
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Oleksandr Petrov
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Oleksandr Petrov
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
none: false
|
38
|
-
requirement: !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
40
|
-
- - ! '>='
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0'
|
43
|
-
none: false
|
44
|
-
prerelease: false
|
45
|
-
type: :development
|
12
|
+
|
13
|
+
date: 2012-12-07 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rake
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
type: :development
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rspec
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id002
|
46
37
|
description: Rubygem for jruby/clojure interop
|
47
|
-
email:
|
48
|
-
- oleksandr.petrov@gmail.com
|
38
|
+
email:
|
39
|
+
- oleksandr.petrov@gmail.com
|
49
40
|
executables: []
|
41
|
+
|
50
42
|
extensions: []
|
43
|
+
|
51
44
|
extra_rdoc_files: []
|
52
|
-
|
53
|
-
|
54
|
-
- .
|
55
|
-
- .
|
56
|
-
- .
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
63
|
-
- lib/zweikopf
|
64
|
-
- lib/zweikopf/
|
65
|
-
- lib/zweikopf/
|
66
|
-
- lib/zweikopf/
|
67
|
-
- lib/zweikopf/
|
68
|
-
- lib/zweikopf/
|
69
|
-
-
|
70
|
-
-
|
71
|
-
- spec/fixtures/
|
72
|
-
- spec/fixtures/
|
73
|
-
- spec/fixtures/
|
74
|
-
- spec/fixtures/
|
75
|
-
- spec/
|
76
|
-
- spec/
|
77
|
-
- spec/
|
78
|
-
- spec/zweikopf/
|
79
|
-
- spec/zweikopf/
|
80
|
-
-
|
81
|
-
-
|
82
|
-
- zweikopf.
|
83
|
-
|
45
|
+
|
46
|
+
files:
|
47
|
+
- .gitignore
|
48
|
+
- .rspec
|
49
|
+
- .rvmrc
|
50
|
+
- .travis.yml
|
51
|
+
- Gemfile
|
52
|
+
- LICENSE
|
53
|
+
- README.md
|
54
|
+
- Rakefile
|
55
|
+
- deps/clojure-1.4.0.jar
|
56
|
+
- lib/zweikopf.rb
|
57
|
+
- lib/zweikopf/array.rb
|
58
|
+
- lib/zweikopf/hash.rb
|
59
|
+
- lib/zweikopf/keyword.rb
|
60
|
+
- lib/zweikopf/primitive.rb
|
61
|
+
- lib/zweikopf/transformer.rb
|
62
|
+
- lib/zweikopf/version.rb
|
63
|
+
- project.clj
|
64
|
+
- spec/fixtures/clj_array1.clj
|
65
|
+
- spec/fixtures/clj_deep_hash1.clj
|
66
|
+
- spec/fixtures/clj_hash1.clj
|
67
|
+
- spec/fixtures/complex_hash.clj
|
68
|
+
- spec/fixtures/empty_hash.clj
|
69
|
+
- spec/spec_helper.rb
|
70
|
+
- spec/support/loader.rb
|
71
|
+
- spec/zweikopf/performance_spec.rb
|
72
|
+
- spec/zweikopf/transformer_clojure_to_ruby_spec.rb
|
73
|
+
- spec/zweikopf/transformer_ruby_to_clojure_spec.rb
|
74
|
+
- src/zweikopf/core.clj
|
75
|
+
- test/zweikopf/core_test.clj
|
76
|
+
- zweikopf.gemspec
|
77
|
+
homepage: ""
|
84
78
|
licenses: []
|
85
|
-
|
79
|
+
|
80
|
+
post_install_message:
|
86
81
|
rdoc_options: []
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
82
|
+
|
83
|
+
require_paths:
|
84
|
+
- lib
|
85
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
94
86
|
none: false
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "0"
|
91
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
92
|
none: false
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: "0"
|
101
97
|
requirements: []
|
102
|
-
|
98
|
+
|
99
|
+
rubyforge_project:
|
103
100
|
rubygems_version: 1.8.24
|
104
|
-
signing_key:
|
101
|
+
signing_key:
|
105
102
|
specification_version: 3
|
106
103
|
summary: Its good, try it out!
|
107
|
-
test_files:
|
108
|
-
- spec/fixtures/clj_array1.clj
|
109
|
-
- spec/fixtures/clj_deep_hash1.clj
|
110
|
-
- spec/fixtures/clj_hash1.clj
|
111
|
-
- spec/fixtures/complex_hash.clj
|
112
|
-
- spec/fixtures/empty_hash.clj
|
113
|
-
- spec/spec_helper.rb
|
114
|
-
- spec/support/loader.rb
|
115
|
-
- spec/zweikopf/performance_spec.rb
|
116
|
-
- spec/zweikopf/transformer_clojure_to_ruby_spec.rb
|
117
|
-
- spec/zweikopf/transformer_ruby_to_clojure_spec.rb
|
118
|
-
- test/zweikopf/core_test.clj
|
119
|
-
...
|
104
|
+
test_files:
|
105
|
+
- spec/fixtures/clj_array1.clj
|
106
|
+
- spec/fixtures/clj_deep_hash1.clj
|
107
|
+
- spec/fixtures/clj_hash1.clj
|
108
|
+
- spec/fixtures/complex_hash.clj
|
109
|
+
- spec/fixtures/empty_hash.clj
|
110
|
+
- spec/spec_helper.rb
|
111
|
+
- spec/support/loader.rb
|
112
|
+
- spec/zweikopf/performance_spec.rb
|
113
|
+
- spec/zweikopf/transformer_clojure_to_ruby_spec.rb
|
114
|
+
- spec/zweikopf/transformer_ruby_to_clojure_spec.rb
|
115
|
+
- test/zweikopf/core_test.clj
|