money-hungarian-mnb 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # money-hungarian-mnb
2
2
 
3
- [![Build Status](https://travis-ci.org/hron84/money-hungarian-mnb.png?branch=master)](https://travis-ci.org/hron84/money-hungarian-mnb)
3
+ [![Build Status](https://travis-ci.org/hron84/money-hungarian-mnb.png?branch=master)](https://travis-ci.org/hron84/money-hungarian-mnb) [![Code Climate](https://codeclimate.com/github/hron84/money-hungarian-mnb.png)](https://codeclimate.com/github/hron84/money-hungarian-mnb)
4
4
 
5
5
  This gem is provides integration for [money gem](https://github.com/RubyMoney/money) with [Hungarian National Bank](http://english.mnb.hu/) (Magyar Nemzeti Bank).
6
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -1,3 +1,5 @@
1
+ require 'money'
2
+
1
3
  require 'savon'
2
4
 
3
5
  class Money
@@ -5,7 +7,7 @@ class Money
5
7
  class MNB < Money::Bank::VariableExchange
6
8
  WSDL_URL = 'http://www.mnb.hu/arfolyamok.asmx?WSDL'
7
9
 
8
- VERSION = File.read(File.expand_path('../../../', File.dirname(__FILE__)))
10
+ VERSION = File.read(File.expand_path('../../../VERSION', File.dirname(__FILE__)))
9
11
 
10
12
  attr_reader :rates
11
13
 
@@ -0,0 +1,72 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "money-hungarian-mnb"
8
+ s.version = "0.0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Gabor Garami"]
12
+ s.date = "2013-02-25"
13
+ s.description = "The gem provides integration for Money gem with webservice provided by Hungarian National Bank"
14
+ s.email = "hron@hron.me"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rvmrc",
22
+ ".travis.yml",
23
+ "Gemfile",
24
+ "Gemfile.lock",
25
+ "History.txt",
26
+ "LICENSE.txt",
27
+ "README.md",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "lib/money-hungarian-mnb.rb",
31
+ "lib/money/bank/mnb.rb",
32
+ "lib/money_hungarian_mnb.rb",
33
+ "lib/money_mnb.rb",
34
+ "money-hungarian-mnb.gemspec",
35
+ "spec/fixtures/currencies.xml",
36
+ "spec/fixtures/rates.xml",
37
+ "spec/integration/with_money_api_spec.rb",
38
+ "spec/integration/with_wsdl_spec.rb",
39
+ "spec/spec_helper.rb",
40
+ "spec/unit/money_bank_mnb_spec.rb"
41
+ ]
42
+ s.homepage = "http://github.com/hron84/money-hungarian-mnb"
43
+ s.licenses = ["MIT"]
44
+ s.require_paths = ["lib"]
45
+ s.rubygems_version = "1.8.25"
46
+ s.summary = "Hungarian National Bank integration for Money gem"
47
+
48
+ if s.respond_to? :specification_version then
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_runtime_dependency(%q<savon>, [">= 0"])
53
+ s.add_runtime_dependency(%q<money>, [">= 0"])
54
+ s.add_development_dependency(%q<rdoc>, ["> 3.12"])
55
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
56
+ s.add_development_dependency(%q<rake>, [">= 0"])
57
+ else
58
+ s.add_dependency(%q<savon>, [">= 0"])
59
+ s.add_dependency(%q<money>, [">= 0"])
60
+ s.add_dependency(%q<rdoc>, ["> 3.12"])
61
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
62
+ s.add_dependency(%q<rake>, [">= 0"])
63
+ end
64
+ else
65
+ s.add_dependency(%q<savon>, [">= 0"])
66
+ s.add_dependency(%q<money>, [">= 0"])
67
+ s.add_dependency(%q<rdoc>, ["> 3.12"])
68
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
69
+ s.add_dependency(%q<rake>, [">= 0"])
70
+ end
71
+ end
72
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: money-hungarian-mnb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -114,6 +114,7 @@ files:
114
114
  - lib/money/bank/mnb.rb
115
115
  - lib/money_hungarian_mnb.rb
116
116
  - lib/money_mnb.rb
117
+ - money-hungarian-mnb.gemspec
117
118
  - spec/fixtures/currencies.xml
118
119
  - spec/fixtures/rates.xml
119
120
  - spec/integration/with_money_api_spec.rb
@@ -133,6 +134,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
134
  - - ! '>='
134
135
  - !ruby/object:Gem::Version
135
136
  version: '0'
137
+ segments:
138
+ - 0
139
+ hash: -121455826312370706
136
140
  required_rubygems_version: !ruby/object:Gem::Requirement
137
141
  none: false
138
142
  requirements: