currency_converter_CIS 0.0.0

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.
@@ -0,0 +1,6 @@
1
+ module GeoRequest
2
+ def self.location(ip)
3
+ loc = Geocoder.search(ip).first
4
+ return loc.country_code
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: currency_converter_CIS
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Akeel Qureshi, Mohan Salvi, Hitesh Kanwar, Nishant Nigam
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: geocoder
16
+ requirement: &2151858520 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2151858520
25
+ - !ruby/object:Gem::Dependency
26
+ name: nokogiri
27
+ requirement: &2151855800 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2151855800
36
+ description: With the use to this gem , The two major issues will be solved the first
37
+ one is to find out the various contry related details using either the contry code
38
+ or the ip-address and the second one is to convert an amount from one currency to
39
+ another, There are various scenarios where user has to show user locale related
40
+ information based up on his/her ip-address So in those cases this gem will be really
41
+ useful.
42
+ email: akeel.q@cisinlabs.com
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files: []
46
+ files:
47
+ - lib/currency_converter_cis.rb
48
+ - lib/currencies_code.rb
49
+ - lib/data/countries.yaml
50
+ - lib/country_data.rb
51
+ - lib/currency.rb
52
+ - lib/geo_request.rb
53
+ homepage: http://rubygems.org/gems/currency_converter_cis
54
+ licenses: []
55
+ post_install_message:
56
+ rdoc_options: []
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubyforge_project:
73
+ rubygems_version: 1.8.10
74
+ signing_key:
75
+ specification_version: 3
76
+ summary: This gem caters the requirement to fetch the country related details based
77
+ up on the ip-address or the country code. You can also convert an amount from one
78
+ currency to another
79
+ test_files: []