direct_employers 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.autotest ADDED
@@ -0,0 +1 @@
1
+ require 'autotest/bundler'
data/.gemtest ADDED
File without changes
data/.gitignore ADDED
@@ -0,0 +1,41 @@
1
+ !.gitignore
2
+ *.gem
3
+ *.rbc
4
+ *.sw[a-p]
5
+ *.tmproj
6
+ *.tmproject
7
+ *.un~
8
+ *~
9
+ .DS_Store
10
+ .Spotlight-V100
11
+ .Trashes
12
+ ._*
13
+ .bundle
14
+ .config
15
+ .directory
16
+ .elc
17
+ .redcar
18
+ .yardoc
19
+ /.emacs.desktop
20
+ /.emacs.desktop.lock
21
+ Desktop.ini
22
+ Gemfile.lock
23
+ Icon?
24
+ InstalledFiles
25
+ Session.vim
26
+ Thumbs.db
27
+ \#*\#
28
+ _yardoc
29
+ auto-save-list
30
+ coverage
31
+ doc/
32
+ lib/bundler/man
33
+ pkg
34
+ pkg/*
35
+ rdoc
36
+ spec/reports
37
+ test/tmp
38
+ test/version_tmp
39
+ tmp
40
+ tmtags
41
+ tramp
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --format=nested
3
+ --backtrace
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.1
4
+ - 1.9.2
5
+ - jruby
6
+ - rbx
7
+ - ree
8
+ - ruby-head
data/.yardopts ADDED
@@ -0,0 +1,3 @@
1
+ --markup markdown
2
+ -
3
+ LICENSE.md
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'http://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in direct_employers.gemspec
4
+ gemspec
data/LICENSE.md ADDED
@@ -0,0 +1,10 @@
1
+ Copyright (c) 2011, Code for America
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+ * Neither the name of Code for America nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9
+
10
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # Direct Employers
2
+
3
+ Ruby wrapper for the Direct Employers API
4
+
5
+ Installation
6
+ ------------
7
+ gem install direct_employers
8
+
9
+ Documentation
10
+ -------------
11
+ [http://rdoc.info/gems/direct_employers](http://rdoc.info/gems/direct_employers)
12
+
13
+ Continuous Integration
14
+ ----------------------
15
+ [![Build Status](http://travis-ci.org/codeforamerica/direct_employers.png)](http://travis-ci.org/codeforamerica/direct_employers)
16
+
17
+ Usage Examples
18
+ --------------
19
+ require 'direct_employers'
20
+
21
+ @client = DirectEmployers.new
22
+ @client.search({moc: => ""11b}) # Return an array for all matching job listings for MOC of 11b
23
+ @client.search.query # => "First-Line Supervisors/Managers of Weapons Specialists/Crew Members, Infantry"
24
+
25
+
26
+ Contributing
27
+ ------------
28
+ In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project.
29
+
30
+ Here are some ways *you* can contribute:
31
+
32
+ * by using alpha, beta, and prerelease versions
33
+ * by reporting bugs
34
+ * by suggesting new features
35
+ * by writing or editing documentation
36
+ * by writing specifications
37
+ * by writing code (**no patch is too small**: fix typos, add comments, clean up inconsistent whitespace)
38
+ * by refactoring code
39
+ * by resolving [issues](https://github.com/codeforamerica/futures_pipeline/issues)
40
+ * by reviewing patches
41
+ * [financially](https://secure.codeforamerica.org/page/contribute)
42
+
43
+ Submitting an Issue
44
+ -------------------
45
+ We use the [GitHub issue tracker](https://github.com/codeforamerica/direct_employers/issues)
46
+ to track bugs and features. Before submitting a bug report or feature request,
47
+ check to make sure it hasn't already been submitted. You can indicate support
48
+ for an existing issuse by voting it up. When submitting a bug report, please
49
+ include a [Gist](https://gist.github.com/) that includes a stack trace and any
50
+ details that may be necessary to reproduce the bug, including your gem version,
51
+ Ruby version, and operating system. Ideally, a bug report should include a pull
52
+ request with failing specs.
53
+
54
+ Submitting a Pull Request
55
+ -------------------------
56
+ 1. Fork the project.
57
+ 2. Create a topic branch.
58
+ 3. Implement your feature or bug fix.
59
+ 4. Add documentation for your feature or bug fix.
60
+ 5. Run <tt>bundle exec rake doc:yard</tt>. If your changes are not 100% documented, go back to step 4.
61
+ 6. Add specs for your feature or bug fix.
62
+ 7. Run <tt>bundle exec rake spec</tt>. If your changes are not 100% covered, go back to step 6.
63
+ 8. Commit and push your changes.
64
+ 9. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.)
65
+
66
+ Credits
67
+ -------
68
+ [Job Central](http://www.jobcentral.com)
69
+
70
+ Copyright
71
+ ---------
72
+ Copyright (c) 2011 Code for America.
73
+ See [LICENSE](https://github.com/codeforamerica/direct_employers/blob/master/LICENSE.md) for details.
74
+
75
+ [![Code for America Tracker](http://stats.codeforamerica.org/codeforamerica/direct_employers.png)](http://stats.codeforamerica.org/projects/direct_employers)
data/Rakefile ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env rake
2
+
3
+ require 'bundler'
4
+ Bundler::GemHelper.install_tasks
5
+
6
+ require 'rspec/core/rake_task'
7
+ RSpec::Core::RakeTask.new(:spec)
8
+
9
+ task :default => :spec
10
+ task :test => :spec
11
+
12
+ require 'yard'
13
+ namespace :doc do
14
+ YARD::Rake::YardocTask.new do |task|
15
+ task.files = ['LICENSE.md', 'lib/**/*.rb']
16
+ task.options = ['--markup', 'markdown']
17
+ end
18
+ end
@@ -0,0 +1,31 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/direct_employers/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.name = 'direct_employers'
6
+ gem.version = DirectEmployers::VERSION
7
+ gem.authors = ["Erik Michaels-Ober", "Ryan Resella"]
8
+ gem.email = ['erik@codeforamerica.org', 'ryan@codeforamerica.org']
9
+ gem.homepage = 'https://github.com/codeforamerica.org/direct_employers'
10
+ gem.summary = gem.description
11
+ gem.description = %q{Ruby Wrapper for the Direct Employers API}
12
+
13
+ gem.files = `git ls-files`.split("\n")
14
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
15
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}
16
+ gem.require_paths = ['lib']
17
+
18
+ gem.add_development_dependency 'ZenTest', '~> 4.5'
19
+ gem.add_development_dependency 'maruku', '~> 0.6'
20
+ gem.add_development_dependency 'rake', '~> 0.9'
21
+ gem.add_development_dependency 'rspec', '~> 2.6'
22
+ gem.add_development_dependency 'simplecov', '~> 0.4'
23
+ gem.add_development_dependency 'webmock', '~> 1.6'
24
+ gem.add_development_dependency 'yard', '~> 0.7'
25
+ gem.add_runtime_dependency 'faraday', '~> 0.6.1'
26
+ gem.add_runtime_dependency 'faraday_middleware', '~> 0.6.3'
27
+ gem.add_runtime_dependency 'hashie', '~> 1.0.0'
28
+ gem.add_runtime_dependency 'multi_json', '~> 1.0.2'
29
+ gem.add_runtime_dependency 'multi_xml', '~> 0.2.2'
30
+ gem.add_runtime_dependency 'rash', '~> 0.3.0'
31
+ end
@@ -0,0 +1,17 @@
1
+ require 'direct_employers/client'
2
+
3
+ module DirectEmployers
4
+ def self.new
5
+ DirectEmployers::Client.new
6
+ end
7
+
8
+ # Delegate to DirectEmployers::Client
9
+ def self.method_missing(method, *args, &block)
10
+ return super unless new.respond_to?(method)
11
+ new.send(method, *args, &block)
12
+ end
13
+
14
+ def self.respond_to?(method, include_private=false)
15
+ new.respond_to?(method, include_private) || super(method, include_private)
16
+ end
17
+ end
@@ -0,0 +1,36 @@
1
+ require 'direct_employers/connection'
2
+ require 'direct_employers/request'
3
+
4
+ module DirectEmployers
5
+ class Client
6
+ include DirectEmployers::Connection
7
+ include DirectEmployers::Request
8
+
9
+ # Get a list of all jobs that match the query string parameters
10
+ #
11
+ # @param options [Hash] A customizable set of options.
12
+ # @option options kw [String] Keywords in a standard Boolean format.
13
+ # @option options oc [String] Occupation from a list of ##. Must be only Can be used to map to categories if client site uses categories
14
+ # @option options tm [String] Time range from 1 (for 1 day) upwards, with 0 meaning no time range
15
+ # @option options ind [String] One of JobCentral’s industry ids, I would suggest using Onets over industries any day
16
+ # @option options cn [String] Country, US is 100, so if you want to eliminate foreign jobs, include this cn=100
17
+ # @option options zc [String] Zipcode or City,State or State (TN or Tennessee) Examples : zc=TN, zc=23454, zc=Nashville%2CTN Default radius is 25 miles, value should be URLEncoded
18
+ # @option options zc1 and rd1 [String] Same as above, only you can provide a number of miles from this set of numbers for rd1 : 5,10,15,25,50,100,300, value should be URLEncoded Zc1=Indianapolis%2CIN&rd1=50
19
+ # @option options cname [String] All or part of a company name, value should be URLEncoded
20
+ # @option options i [String] Values e or s for employers or staffing firms only
21
+ # @option options moc [String] Moc code, retrieves a mapped Onet code, which is used to search
22
+ # @option options rank [String] Further qualifies the mappings for moc
23
+ # @option options branch [String] Further qualifies the mappings for moc
24
+ # @option options so [String] One of two values, “relevance”, or “initdate”, Default if nothing is passed is relevance
25
+ # @option options rs [String] Start row, from 1 to 500
26
+ # @option options re [String] End row, from 1 to 500
27
+ # @option options si [String] Search id, as described above
28
+ # @return [Array<Hashie::Mash>]
29
+ # @example
30
+ # DirectEmployers.search({:moc => "11b"})
31
+ def search(options={})
32
+ get("api.asp", options)
33
+ end
34
+
35
+ end
36
+ end
@@ -0,0 +1,17 @@
1
+ require 'faraday_middleware'
2
+
3
+ module DirectEmployers
4
+ module Connection
5
+ private
6
+
7
+ def connection
8
+ Faraday.new(:url => 'http://www.jobcentral.com') do |connection|
9
+ connection.use Faraday::Request::UrlEncoded
10
+ connection.use Faraday::Response::RaiseError
11
+ connection.use Faraday::Response::Rashify
12
+ connection.use Faraday::Response::ParseXml
13
+ connection.adapter(Faraday.default_adapter)
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,16 @@
1
+ module DirectEmployers
2
+ module Request
3
+ def get(path, options={})
4
+ request(:get, path, options)
5
+ end
6
+
7
+ private
8
+
9
+ def request(method, path, options)
10
+ response = connection.send(method) do |request|
11
+ request.url(path, options)
12
+ end
13
+ response.body
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,3 @@
1
+ module DirectEmployers
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,35 @@
1
+ require 'helper'
2
+
3
+ describe DirectEmployers::Client do
4
+ before do
5
+ @client = DirectEmployers::Client.new
6
+ end
7
+
8
+ describe "#search" do
9
+ context "with no query parameters" do
10
+ before do
11
+ stub_get("api.asp?key=abc123").
12
+ to_return(:status => 200, :body => fixture("search_to_broad.xml"))
13
+ end
14
+
15
+ it "should return search to broad" do
16
+ search = @client.search(:key => "abc123")
17
+ a_get("api.asp?key=abc123").should have_been_made
18
+ search.api.error.should == "Search Too Broad"
19
+ end
20
+ end
21
+
22
+ context "with query parameter moc code 11b" do
23
+ before do
24
+ stub_get("api.asp?key=abc123&moc=11b").
25
+ to_return(:status => 200, :body => fixture("11bquery.xml"))
26
+ end
27
+
28
+ it "should return a list of jobs with moc code 11b" do
29
+ search = @client.search(:key => "abc123", :moc => "11b")
30
+ a_get("api.asp?key=abc123&moc=11b").should have_been_made
31
+ search.api.query.should == "First-Line Supervisors/Managers of Weapons Specialists/Crew Members, Infantry"
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,9 @@
1
+ require 'helper'
2
+
3
+ describe DirectEmployers do
4
+ describe ".new" do
5
+ it "should return a DirectEmployers::Client" do
6
+ DirectEmployers.new.should be_a DirectEmployers::Client
7
+ end
8
+ end
9
+ end
@@ -0,0 +1 @@
1
+ <api version="1.0"><id>234794927</id><time>6/1/2011 7:59:55 PM</time><error></error><machine>query://desearch4/dejobs</machine><query>First-Line Supervisors/Managers of Weapons Specialists/Crew Members, Infantry</query><recordcount>11</recordcount><startrow>1</startrow><endrow>10</endrow><order>relevance</order><jobs><job><title>Military Service Member</title><url>http://jcnlx.com/d165e04d810246d7b4d25fcb74855631272</url><company>Tennessee Employer</company><location>Union City, TN</location><dateacquired>2010-12-30 8:31 PM</dateacquired></job><job><title>Military Service Member</title><url>http://jcnlx.com/bf5b9903023f4674ab8033559c74b413272</url><company>Tennessee Employer</company><location>Martin, TN</location><dateacquired>2010-12-30 8:31 PM</dateacquired></job><job><title>US ARMY INFANTRY SOLDIER</title><url>http://jcnlx.com/eb9efa09daa14bc6b8a6efc5e75f6af5272</url><company>U.s Army</company><location>Visalia, CA</location><dateacquired>2011-4-21 0:35 AM</dateacquired></job><job><title>U.S. Marine Corps</title><url>http://jcnlx.com/60c916a415794e70aa2fa194487481c8272</url><company>South Dakota Employer</company><location>Huron, SD</location><dateacquired>2011-4-6 10:16 AM</dateacquired></job><job><title>SD Army National Guard Soldier</title><url>http://jcnlx.com/1288724d4c424ccb891ad3d1f108e415272</url><company>South Dakota Employer</company><location>Huron, SD</location><dateacquired>2011-4-6 10:16 AM</dateacquired></job><job><title>Infantry</title><url>http://jcnlx.com/690950d7479d4cdc8258d87cfd77c35f272</url><company>United States Army Recruiting</company><location>South Burlington, VT</location><dateacquired>2011-1-12 11:00 PM</dateacquired></job><job><title>Manager Trainee</title><url>http://jcnlx.com/23ac1681bc7f42a384ab32220df7edb1272</url><company>Belgrade Fixtures</company><location>Belgrade, MN</location><dateacquired>2011-1-7 0:47 AM</dateacquired></job><job><title>Infant Assistant</title><url>http://jcnlx.com/9c4445f6f0be4da59a9ab2e8840a3ce0272</url><company>Little Rascals Child Care</company><location>New Ulm, MN</location><dateacquired>2011-1-7 0:47 AM</dateacquired></job><job><title>AMERICAN SOLDIER</title><url>http://jcnlx.com/08dc0115df4b4136ba5030c5c3b01367272</url><company>Tennessee Employer</company><location>Columbia, TN</location><dateacquired>2011-5-11 9:18 PM</dateacquired></job><job><title>Army Soldier</title><url>http://jcnlx.com/15d15799f7fd4cecb8a345c4842ac488272</url><company>South Dakota Employer</company><location>Huron, SD</location><dateacquired>2011-5-4 10:16 AM</dateacquired></job></jobs></api>
@@ -0,0 +1 @@
1
+ <api version="1.0"><error>Search Too Broad</error></api>
data/spec/helper.rb ADDED
@@ -0,0 +1,47 @@
1
+ $:.unshift File.expand_path('..', __FILE__)
2
+ $:.unshift File.expand_path('../../lib', __FILE__)
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+ require 'direct_employers'
6
+ require 'rspec'
7
+ require 'webmock/rspec'
8
+
9
+ def a_delete(path)
10
+ a_request(:delete, 'http://www.jobcentral.com/' + path)
11
+ end
12
+
13
+ def a_get(path)
14
+ a_request(:get, 'http://www.jobcentral.com/' + path)
15
+ end
16
+
17
+ def a_post(path)
18
+ a_request(:post, 'http://www.jobcentral.com/' + path)
19
+ end
20
+
21
+ def a_put(path)
22
+ a_request(:put, 'http://www.jobcentral.com/' + path)
23
+ end
24
+
25
+ def stub_delete(path)
26
+ stub_request(:delete, 'http://www.jobcentral.com/' + path)
27
+ end
28
+
29
+ def stub_get(path)
30
+ stub_request(:get, 'http://www.jobcentral.com/' + path)
31
+ end
32
+
33
+ def stub_post(path)
34
+ stub_request(:post, 'http://www.jobcentral.com/' + path)
35
+ end
36
+
37
+ def stub_put(path)
38
+ stub_request(:put, 'http://www.jobcentral.com/' + path)
39
+ end
40
+
41
+ def fixture_path
42
+ File.expand_path('../fixtures', __FILE__)
43
+ end
44
+
45
+ def fixture(file)
46
+ File.new(fixture_path + '/' + file)
47
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: direct_employers
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Erik Michaels-Ober
9
+ - Ryan Resella
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2011-06-06 00:00:00.000000000Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: ZenTest
17
+ requirement: &2156115980 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: '4.5'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: *2156115980
26
+ - !ruby/object:Gem::Dependency
27
+ name: maruku
28
+ requirement: &2156115200 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '0.6'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *2156115200
37
+ - !ruby/object:Gem::Dependency
38
+ name: rake
39
+ requirement: &2156114720 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: '0.9'
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: *2156114720
48
+ - !ruby/object:Gem::Dependency
49
+ name: rspec
50
+ requirement: &2156114220 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: '2.6'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *2156114220
59
+ - !ruby/object:Gem::Dependency
60
+ name: simplecov
61
+ requirement: &2156113580 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: '0.4'
67
+ type: :development
68
+ prerelease: false
69
+ version_requirements: *2156113580
70
+ - !ruby/object:Gem::Dependency
71
+ name: webmock
72
+ requirement: &2156112780 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '1.6'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: *2156112780
81
+ - !ruby/object:Gem::Dependency
82
+ name: yard
83
+ requirement: &2156112080 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ version: '0.7'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: *2156112080
92
+ - !ruby/object:Gem::Dependency
93
+ name: faraday
94
+ requirement: &2156111320 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ version: 0.6.1
100
+ type: :runtime
101
+ prerelease: false
102
+ version_requirements: *2156111320
103
+ - !ruby/object:Gem::Dependency
104
+ name: faraday_middleware
105
+ requirement: &2156110600 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 0.6.3
111
+ type: :runtime
112
+ prerelease: false
113
+ version_requirements: *2156110600
114
+ - !ruby/object:Gem::Dependency
115
+ name: hashie
116
+ requirement: &2156109720 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ~>
120
+ - !ruby/object:Gem::Version
121
+ version: 1.0.0
122
+ type: :runtime
123
+ prerelease: false
124
+ version_requirements: *2156109720
125
+ - !ruby/object:Gem::Dependency
126
+ name: multi_json
127
+ requirement: &2156108960 !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ~>
131
+ - !ruby/object:Gem::Version
132
+ version: 1.0.2
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: *2156108960
136
+ - !ruby/object:Gem::Dependency
137
+ name: multi_xml
138
+ requirement: &2156108160 !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ~>
142
+ - !ruby/object:Gem::Version
143
+ version: 0.2.2
144
+ type: :runtime
145
+ prerelease: false
146
+ version_requirements: *2156108160
147
+ - !ruby/object:Gem::Dependency
148
+ name: rash
149
+ requirement: &2156107440 !ruby/object:Gem::Requirement
150
+ none: false
151
+ requirements:
152
+ - - ~>
153
+ - !ruby/object:Gem::Version
154
+ version: 0.3.0
155
+ type: :runtime
156
+ prerelease: false
157
+ version_requirements: *2156107440
158
+ description: Ruby Wrapper for the Direct Employers API
159
+ email:
160
+ - erik@codeforamerica.org
161
+ - ryan@codeforamerica.org
162
+ executables: []
163
+ extensions: []
164
+ extra_rdoc_files: []
165
+ files:
166
+ - .autotest
167
+ - .gemtest
168
+ - .gitignore
169
+ - .rspec
170
+ - .travis.yml
171
+ - .yardopts
172
+ - Gemfile
173
+ - LICENSE.md
174
+ - README.md
175
+ - Rakefile
176
+ - direct_employers.gemspec
177
+ - lib/direct_employers.rb
178
+ - lib/direct_employers/client.rb
179
+ - lib/direct_employers/connection.rb
180
+ - lib/direct_employers/request.rb
181
+ - lib/direct_employers/version.rb
182
+ - spec/direct_employers/client_spec.rb
183
+ - spec/direct_employers_spec.rb
184
+ - spec/fixtures/11bquery.xml
185
+ - spec/fixtures/search_to_broad.xml
186
+ - spec/helper.rb
187
+ homepage: https://github.com/codeforamerica.org/direct_employers
188
+ licenses: []
189
+ post_install_message:
190
+ rdoc_options: []
191
+ require_paths:
192
+ - lib
193
+ required_ruby_version: !ruby/object:Gem::Requirement
194
+ none: false
195
+ requirements:
196
+ - - ! '>='
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ required_rubygems_version: !ruby/object:Gem::Requirement
200
+ none: false
201
+ requirements:
202
+ - - ! '>='
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ requirements: []
206
+ rubyforge_project:
207
+ rubygems_version: 1.8.5
208
+ signing_key:
209
+ specification_version: 3
210
+ summary: ''
211
+ test_files:
212
+ - spec/direct_employers/client_spec.rb
213
+ - spec/direct_employers_spec.rb
214
+ - spec/fixtures/11bquery.xml
215
+ - spec/fixtures/search_to_broad.xml
216
+ - spec/helper.rb