companies-house 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/Rakefile +12 -3
- data/companies-house.gemspec +4 -10
- data/lib/companies_house.rb +1 -1
- metadata +8 -40
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
require 'rubygems'
|
1
|
+
require 'rubygems'
|
2
|
+
require 'lib/companies_house'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'spec'
|
6
|
+
rescue LoadError
|
7
|
+
puts "\nYou need to install the rspec gem to perform meta operations on this gem"
|
8
|
+
puts " sudo gem install rspec\n"
|
9
|
+
end
|
2
10
|
|
3
11
|
begin
|
4
12
|
require 'echoe'
|
@@ -10,12 +18,13 @@ begin
|
|
10
18
|
m.rubyforge_name = "companies-house"
|
11
19
|
m.rdoc_options << '--inline-source'
|
12
20
|
m.rdoc_pattern = ["README", "CHANGELOG", "LICENSE"]
|
13
|
-
m.dependencies = ["hpricot >=0.6", "haml >=2.0.9", "
|
21
|
+
m.dependencies = ["hpricot >=0.6", "haml >=2.0.9", "morph >=0.3.1"]
|
14
22
|
# m.executable_pattern = 'bin/companies_house'
|
15
23
|
end
|
16
24
|
|
17
25
|
rescue LoadError
|
18
|
-
puts "
|
26
|
+
puts "\nYou need to install the echoe gem to perform meta operations on this gem"
|
27
|
+
puts " sudo gem install echoe\n\n"
|
19
28
|
end
|
20
29
|
|
21
30
|
desc "Open an irb session preloaded with this library"
|
data/companies-house.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{companies-house}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Rob McKinnon"]
|
@@ -26,21 +26,15 @@ Gem::Specification.new do |s|
|
|
26
26
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
27
|
s.add_runtime_dependency(%q<hpricot>, [">= 0.6"])
|
28
28
|
s.add_runtime_dependency(%q<haml>, [">= 2.0.9"])
|
29
|
-
s.add_runtime_dependency(%q<
|
30
|
-
s.add_runtime_dependency(%q<morph>, [">= 0.2.6"])
|
31
|
-
s.add_runtime_dependency(%q<unicode>, [">= 0.4.0"])
|
29
|
+
s.add_runtime_dependency(%q<morph>, [">= 0.3.1"])
|
32
30
|
else
|
33
31
|
s.add_dependency(%q<hpricot>, [">= 0.6"])
|
34
32
|
s.add_dependency(%q<haml>, [">= 2.0.9"])
|
35
|
-
s.add_dependency(%q<
|
36
|
-
s.add_dependency(%q<morph>, [">= 0.2.6"])
|
37
|
-
s.add_dependency(%q<unicode>, [">= 0.4.0"])
|
33
|
+
s.add_dependency(%q<morph>, [">= 0.3.1"])
|
38
34
|
end
|
39
35
|
else
|
40
36
|
s.add_dependency(%q<hpricot>, [">= 0.6"])
|
41
37
|
s.add_dependency(%q<haml>, [">= 2.0.9"])
|
42
|
-
s.add_dependency(%q<
|
43
|
-
s.add_dependency(%q<morph>, [">= 0.2.6"])
|
44
|
-
s.add_dependency(%q<unicode>, [">= 0.4.0"])
|
38
|
+
s.add_dependency(%q<morph>, [">= 0.3.1"])
|
45
39
|
end
|
46
40
|
end
|
data/lib/companies_house.rb
CHANGED
@@ -14,7 +14,7 @@ require File.dirname(__FILE__) + '/companies_house/exception'
|
|
14
14
|
$KCODE = 'UTF8' unless RUBY_VERSION >= "1.9"
|
15
15
|
|
16
16
|
module CompaniesHouse
|
17
|
-
VERSION = "0.0.
|
17
|
+
VERSION = "0.0.4" unless defined? CompaniesHouse::VERSION
|
18
18
|
|
19
19
|
class << self
|
20
20
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: companies-house
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rob McKinnon
|
@@ -50,53 +50,21 @@ dependencies:
|
|
50
50
|
type: :runtime
|
51
51
|
version_requirements: *id002
|
52
52
|
- !ruby/object:Gem::Dependency
|
53
|
-
name:
|
53
|
+
name: morph
|
54
54
|
prerelease: false
|
55
55
|
requirement: &id003 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
hash:
|
60
|
+
hash: 17
|
61
61
|
segments:
|
62
|
-
- 2
|
63
62
|
- 0
|
64
|
-
-
|
65
|
-
|
63
|
+
- 3
|
64
|
+
- 1
|
65
|
+
version: 0.3.1
|
66
66
|
type: :runtime
|
67
67
|
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: morph
|
70
|
-
prerelease: false
|
71
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
hash: 27
|
77
|
-
segments:
|
78
|
-
- 0
|
79
|
-
- 2
|
80
|
-
- 6
|
81
|
-
version: 0.2.6
|
82
|
-
type: :runtime
|
83
|
-
version_requirements: *id004
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: unicode
|
86
|
-
prerelease: false
|
87
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
|
-
requirements:
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
hash: 15
|
93
|
-
segments:
|
94
|
-
- 0
|
95
|
-
- 4
|
96
|
-
- 0
|
97
|
-
version: 0.4.0
|
98
|
-
type: :runtime
|
99
|
-
version_requirements: *id005
|
100
68
|
description: |
|
101
69
|
Ruby API to UK Companies House XML Gateway.
|
102
70
|
|