nbp 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/nbp/table.rb +1 -1
  2. data/lib/nbp/version.rb +1 -1
  3. metadata +28 -53
data/lib/nbp/table.rb CHANGED
@@ -22,7 +22,7 @@ module Nbp
22
22
  end
23
23
 
24
24
  def self.index
25
- get("/dir.txt").split("\r\n")
25
+ get("/dir.txt").split("\n")
26
26
  end
27
27
 
28
28
  def self.index_of(type)
data/lib/nbp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nbp
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,49 +1,34 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: nbp
3
- version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Tomasz Mazur
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-01-19 00:00:00 +01:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-02-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: httparty
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70308644224160 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 5
30
- segments:
31
- - 0
32
- - 6
33
- - 1
20
+ - !ruby/object:Gem::Version
34
21
  version: 0.6.1
35
22
  type: :runtime
36
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *70308644224160
37
25
  description: Fetches currencies from nbp.pl
38
- email:
26
+ email:
39
27
  - defkode@gmail.com
40
28
  executables: []
41
-
42
29
  extensions: []
43
-
44
30
  extra_rdoc_files: []
45
-
46
- files:
31
+ files:
47
32
  - .gitignore
48
33
  - Gemfile
49
34
  - README
@@ -54,40 +39,30 @@ files:
54
39
  - nbp.gemspec
55
40
  - test/helper.rb
56
41
  - test/nbp_test.rb
57
- has_rdoc: true
58
42
  homepage: http://rubygems.org/gems/nbp
59
43
  licenses: []
60
-
61
44
  post_install_message:
62
45
  rdoc_options: []
63
-
64
- require_paths:
46
+ require_paths:
65
47
  - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
48
+ required_ruby_version: !ruby/object:Gem::Requirement
67
49
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
75
- required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
55
  none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- hash: 3
81
- segments:
82
- - 0
83
- version: "0"
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
84
60
  requirements: []
85
-
86
61
  rubyforge_project: nbp
87
- rubygems_version: 1.3.7
62
+ rubygems_version: 1.8.11
88
63
  signing_key:
89
64
  specification_version: 3
90
65
  summary: Fetches currencies from nbp.pl
91
- test_files:
66
+ test_files:
92
67
  - test/helper.rb
93
68
  - test/nbp_test.rb