rhyme 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.textile +54 -0
  2. data/lib/rhyme/version.rb +1 -1
  3. metadata +3 -2
@@ -0,0 +1,54 @@
1
+ h2. Rhyme
2
+
3
+ A Java to Ruby and Ruby to Java objects translator
4
+
5
+ h2. DESCRIPTION:
6
+
7
+ Sometimes you have a Ruby object (a Hash for example) and you want to call a Java method that expects an object of an equivalent class (HashMap in this case). Instead of converting the object and all others inside manually to the Java similar you can tranlaste them all very easy using Rhyme.
8
+
9
+ Also, you may have a Ruby method/function that is being called from Java with Java objects as parameters, you can convert them all with Rhyme so they could be compatible with others operations, like some Ruby API.
10
+
11
+ h2. USAGE:
12
+
13
+ In *Ruby*:
14
+
15
+ Rhyme.translate([{ "date" => Date.new}])
16
+
17
+ In *Java*:
18
+
19
+ List array = new ArrayList();
20
+ ...
21
+ Rhyme.translate(array);
22
+
23
+ h2. REQUIREMENTS:
24
+
25
+ JRuby
26
+
27
+ h2. INSTALL:
28
+
29
+ sudo gem install rhyme
30
+
31
+ h2. LICENSE:
32
+
33
+ (The MIT License)
34
+
35
+ Copyright (c) 2008 Rhyme
36
+
37
+ Permission is hereby granted, free of charge, to any person obtaining
38
+ a copy of this software and associated documentation files (the
39
+ 'Software'), to deal in the Software without restriction, including
40
+ without limitation the rights to use, copy, modify, merge, publish,
41
+ distribute, sublicense, and/or sell copies of the Software, and to
42
+ permit persons to whom the Software is furnished to do so, subject to
43
+ the following conditions:
44
+
45
+ The above copyright notice and this permission notice shall be
46
+ included in all copies or substantial portions of the Software.
47
+
48
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
49
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
51
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
52
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
53
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
54
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -3,7 +3,7 @@ module Rhyme
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 3
6
+ TINY = 4
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhyme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Carrion
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-28 00:00:00 -03:00
12
+ date: 2008-09-29 00:00:00 -03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -34,6 +34,7 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - lib/rhyme.rb
36
36
  - lib/rhyme/version.rb
37
+ - README.textile
37
38
  has_rdoc: true
38
39
  homepage: http://rhyme.rubyforge.org
39
40
  post_install_message: ""