rate_man 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,8 @@
1
+ Copyright (c) 2012, Thomas 'mcansky' Riboulet <riboulet@gmail.com>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
+
data/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # Rate man
2
+
3
+ a little gem to get currency exchange rates from google.
4
+
5
+ Yep it's using Travis : [![Build Status](https://travis-ci.org/mcansky/rate_man.png)](https://travis-ci.org/mcansky/rate_man)
6
+
7
+ ## How to use
8
+
9
+ require 'rubygems'
10
+ require 'rate_man'
11
+
12
+ RateMan.setup do |config|
13
+ config.api_key = API_KEY
14
+ config.custom_search_id = CUSTOM_SEARCH_ID
15
+ end
16
+
17
+ RateMan.get('EUR', 'CHF')
18
+
19
+
@@ -0,0 +1,3 @@
1
+ module RateMan
2
+ VERSION = "0.0.5"
3
+ end
data/lib/rate_man.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'json'
2
2
  require 'open-uri'
3
3
  require 'active_support/core_ext/module/attribute_accessors'
4
- require "./lib/currency_duo"
4
+ require "currency_duo"
5
5
 
6
6
  module RateMan
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rate_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-10 00:00:00.000000000 Z
12
+ date: 2012-10-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: active_support
@@ -27,14 +27,18 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
- description: simple gem to get currency exchance rates from google
31
- email: riboulet@gmail.com
30
+ description: gem to get currency rate exchange
31
+ email:
32
+ - riboulet@gmail.com
32
33
  executables: []
33
34
  extensions: []
34
35
  extra_rdoc_files: []
35
36
  files:
36
- - lib/rate_man.rb
37
37
  - lib/currency_duo.rb
38
+ - lib/rate_man/version.rb
39
+ - lib/rate_man.rb
40
+ - LICENSE
41
+ - README.md
38
42
  homepage: http://github.com/mcansky/rate_man
39
43
  licenses: []
40
44
  post_install_message:
@@ -47,16 +51,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
51
  - - ! '>='
48
52
  - !ruby/object:Gem::Version
49
53
  version: '0'
54
+ segments:
55
+ - 0
56
+ hash: -2505003282121064291
50
57
  required_rubygems_version: !ruby/object:Gem::Requirement
51
58
  none: false
52
59
  requirements:
53
60
  - - ! '>='
54
61
  - !ruby/object:Gem::Version
55
- version: '0'
62
+ version: 1.3.6
56
63
  requirements: []
57
- rubyforge_project:
64
+ rubyforge_project: rate_man
58
65
  rubygems_version: 1.8.24
59
66
  signing_key:
60
67
  specification_version: 3
61
- summary: simple gem to get currency exchance rates from google
68
+ summary: simple gem to get currency echange rate from google
62
69
  test_files: []