openaustralia 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2077df0a0b030ceb16c156e375a74a678acf07be
4
+ data.tar.gz: e98ad4bbaceaa3309d0ea3af3410371cd1d17f37
5
+ SHA512:
6
+ metadata.gz: f81166f51d3e8150e91d40d63d3023ba4fb231c82d368559da1be47e568c7ade72b2f15093252458f642c3166d5507a1ee932dc9072c33f2c3d720d1c4d69449
7
+ data.tar.gz: 08dca8cd0aa553ed8e6cd9715e26d5a9ab89ce5b33da2e6e0b97083c949ca3010aa41d7bc3293d976632ec0a8e9bc178ea4aa1ed9132c14e0d6a5017d16dac2c
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
data/CHANGES.md CHANGED
@@ -1,13 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1 - 2014-07-13
4
+
5
+ * Add date to Hansard results by @mfeckie
6
+
3
7
  ## 1.0.0 - 2012-07-13
4
8
 
5
9
  * Major overhaul to bring gem up to date
6
- ** Most significant change for users is the gem has been renamed from 'open-australia' to 'openaustralia'
7
- ** Fixed `get_divisions`
10
+ * Most significant change for users is the gem has been renamed from 'open-australia' to 'openaustralia'
11
+ * Fixed `get_divisions`
8
12
 
9
13
  ## 0.0.1 - 2009-12-08
10
14
 
11
15
  * Initial release:
12
- ** API methods wrapped
13
- ** parses correctly on selective canned data
16
+ * API methods wrapped
17
+ * parses correctly on selective canned data
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenAustralia
1
+ # OpenAustralia [![Build Status](https://secure.travis-ci.org/henare/openaustralia-api.png?branch=master)](http://travis-ci.org/henare/openaustralia-api)
2
2
 
3
3
  A Ruby wrapper for the [OpenAustralia API](http://www.openaustralia.org/api/).
4
4
 
@@ -44,6 +44,7 @@ module OpenAustralia
44
44
  numeric_node :hpos, 'hpos'
45
45
  numeric_node :htype, 'htype'
46
46
  numeric_node :major, 'major'
47
+ text_node :hdate, 'hdate'
47
48
 
48
49
  object_node :speaker, 'speaker', :class => HansardSpeaker,
49
50
  :default_value => nil
@@ -58,5 +59,5 @@ module OpenAustralia
58
59
  text_node :search_description, 'searchdescription', :deafult_value => nil
59
60
  array_node :results, 'rows', 'match', :class => Hansard, :default_value => []
60
61
  end
61
-
62
+
62
63
  end
@@ -1,3 +1,3 @@
1
1
  module OpenAustralia
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  require File.expand_path('../lib/openaustralia/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Henare Degan", "Alex Cooper"]
5
+ gem.authors = ["Henare Degan", "Alex Cooper", "Martin Feckie"]
6
6
  gem.email = ["henare.degan@gmail.com"]
7
7
  gem.description = 'OpenAustralia API'
8
8
  gem.summary = 'Ruby wrapper for the OpenAustralia API'
metadata CHANGED
@@ -1,39 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openaustralia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Henare Degan
9
8
  - Alex Cooper
9
+ - Martin Feckie
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-13 00:00:00.000000000Z
13
+ date: 2014-07-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: xml-mapping
17
- requirement: &21938460 !ruby/object:Gem::Requirement
18
- none: false
17
+ requirement: !ruby/object:Gem::Requirement
19
18
  requirements:
20
- - - ! '>='
19
+ - - '>='
21
20
  - !ruby/object:Gem::Version
22
21
  version: '0'
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *21938460
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - '>='
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
26
29
  - !ruby/object:Gem::Dependency
27
30
  name: rake
28
- requirement: &21938020 !ruby/object:Gem::Requirement
29
- none: false
31
+ requirement: !ruby/object:Gem::Requirement
30
32
  requirements:
31
- - - ! '>='
33
+ - - '>='
32
34
  - !ruby/object:Gem::Version
33
35
  version: '0'
34
36
  type: :runtime
35
37
  prerelease: false
36
- version_requirements: *21938020
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
37
43
  description: OpenAustralia API
38
44
  email:
39
45
  - henare.degan@gmail.com
@@ -42,7 +48,7 @@ extensions: []
42
48
  extra_rdoc_files: []
43
49
  files:
44
50
  - .gitignore
45
- - .rvmrc
51
+ - .travis.yml
46
52
  - CHANGES.md
47
53
  - Gemfile
48
54
  - LICENSE.md
@@ -74,27 +80,26 @@ files:
74
80
  - test/test_res.xml
75
81
  homepage: https://github.com/henare/openaustralia-api/
76
82
  licenses: []
83
+ metadata: {}
77
84
  post_install_message:
78
85
  rdoc_options: []
79
86
  require_paths:
80
87
  - lib
81
88
  required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
89
  requirements:
84
- - - ! '>='
90
+ - - '>='
85
91
  - !ruby/object:Gem::Version
86
92
  version: '0'
87
93
  required_rubygems_version: !ruby/object:Gem::Requirement
88
- none: false
89
94
  requirements:
90
- - - ! '>='
95
+ - - '>='
91
96
  - !ruby/object:Gem::Version
92
97
  version: '0'
93
98
  requirements: []
94
99
  rubyforge_project:
95
- rubygems_version: 1.8.10
100
+ rubygems_version: 2.1.11
96
101
  signing_key:
97
- specification_version: 3
102
+ specification_version: 4
98
103
  summary: Ruby wrapper for the OpenAustralia API
99
104
  test_files:
100
105
  - test/comments.xml
@@ -110,4 +115,3 @@ test_files:
110
115
  - test/test_helper.rb
111
116
  - test/test_parse.rb
112
117
  - test/test_res.xml
113
- has_rdoc:
data/.rvmrc DELETED
@@ -1,55 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7
- environment_id="ruby-1.9.2-p290"
8
-
9
- #
10
- # Uncomment following line if you want options to be set only for given project.
11
- #
12
- # PROJECT_JRUBY_OPTS=( --1.9 )
13
-
14
- #
15
- # First we attempt to load the desired environment directly from the environment
16
- # file. This is very fast and efficient compared to running through the entire
17
- # CLI and selector. If you want feedback on which environment was used then
18
- # insert the word 'use' after --create as this triggers verbose mode.
19
- #
20
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
21
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
22
- then
23
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
24
-
25
- if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
26
- then
27
- . "${rvm_path:-$HOME/.rvm}/hooks/after_use"
28
- fi
29
- else
30
- # If the environment file has not yet been created, use the RVM CLI to select.
31
- if ! rvm --create "$environment_id"
32
- then
33
- echo "Failed to create RVM environment '${environment_id}'."
34
- exit 1
35
- fi
36
- fi
37
-
38
- #
39
- # If you use an RVM gemset file to install a list of gems (*.gems), you can have
40
- # it be automatically loaded. Uncomment the following and adjust the filename if
41
- # necessary.
42
- #
43
- # filename=".gems"
44
- # if [[ -s "$filename" ]]
45
- # then
46
- # rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
47
- # fi
48
-
49
- # If you use bundler, this might be useful to you:
50
- # if command -v bundle && [[ -s Gemfile ]]
51
- # then
52
- # bundle install
53
- # fi
54
-
55
-