futures_pipeline 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -1
- data/README.md +13 -23
- data/Rakefile +0 -0
- data/futures_pipeline.gemspec +7 -9
- data/lib/futures_pipeline/version.rb +1 -1
- metadata +49 -62
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,21 +1,16 @@
|
|
1
1
|
# Futures Pipeline
|
2
|
-
|
3
2
|
Ruby wrapper for the Futures, Inc. US Military Pipeline API
|
4
3
|
|
5
|
-
Installation
|
6
|
-
------------
|
4
|
+
## <a name="installation">Installation</a>
|
7
5
|
gem install futures_pipeline
|
8
6
|
|
9
|
-
Documentation
|
10
|
-
-------------
|
7
|
+
## <a name="documentation">Documentation</a>
|
11
8
|
[http://rdoc.info/gems/futures_pipeline](http://rdoc.info/gems/futures_pipeline)
|
12
9
|
|
13
|
-
Continuous Integration
|
14
|
-
----------------------
|
10
|
+
## <a name="ci">Continuous Integration</a>
|
15
11
|
[![Build Status](https://secure.travis-ci.org/codeforamerica/futures_pipeline.png)](http://travis-ci.org/codeforamerica/futures_pipeline)
|
16
12
|
|
17
|
-
Usage Examples
|
18
|
-
--------------
|
13
|
+
## <a name="examples">Usage Examples</a>
|
19
14
|
require 'futures_pipeline'
|
20
15
|
|
21
16
|
@client = FuturesPipeline.new
|
@@ -24,8 +19,7 @@ Usage Examples
|
|
24
19
|
@client.careers.first.onet_soc_code # => "11-1011.00"
|
25
20
|
@client.career("11-1011.00") # Return detailed information about Chief Executives
|
26
21
|
|
27
|
-
Contributing
|
28
|
-
------------
|
22
|
+
## <a name="contributing">Contributing</a>
|
29
23
|
In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project.
|
30
24
|
|
31
25
|
Here are some ways *you* can contribute:
|
@@ -41,8 +35,7 @@ Here are some ways *you* can contribute:
|
|
41
35
|
* by reviewing patches
|
42
36
|
* [financially](https://secure.codeforamerica.org/page/contribute)
|
43
37
|
|
44
|
-
Submitting an Issue
|
45
|
-
-------------------
|
38
|
+
## <a name="issues">Submitting an Issue</a>
|
46
39
|
We use the [GitHub issue tracker](https://github.com/codeforamerica/futures_pipeline/issues)
|
47
40
|
to track bugs and features. Before submitting a bug report or feature request,
|
48
41
|
check to make sure it hasn't already been submitted. You can indicate support
|
@@ -52,8 +45,7 @@ details that may be necessary to reproduce the bug, including your gem version,
|
|
52
45
|
Ruby version, and operating system. Ideally, a bug report should include a pull
|
53
46
|
request with failing specs.
|
54
47
|
|
55
|
-
Submitting a Pull Request
|
56
|
-
-------------------------
|
48
|
+
## <a name="pulls">Submitting a Pull Request</a>
|
57
49
|
1. Fork the project.
|
58
50
|
2. Create a topic branch.
|
59
51
|
3. Implement your feature or bug fix.
|
@@ -64,8 +56,7 @@ Submitting a Pull Request
|
|
64
56
|
8. Commit and push your changes.
|
65
57
|
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.)
|
66
58
|
|
67
|
-
Supported Rubies
|
68
|
-
----------------
|
59
|
+
## <a name="rubies">Supported Rubies</a>
|
69
60
|
This library aims to support and is [tested
|
70
61
|
against](http://travis-ci.org/codeforamerica/futures_pipeline) the following
|
71
62
|
Ruby implementations:
|
@@ -73,8 +64,9 @@ Ruby implementations:
|
|
73
64
|
* Ruby 1.8.7
|
74
65
|
* Ruby 1.9.1
|
75
66
|
* Ruby 1.9.2
|
76
|
-
*
|
77
|
-
*
|
67
|
+
* [JRuby](http://www.jruby.org/)
|
68
|
+
* [Rubinius](http://rubini.us/)
|
69
|
+
* [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/)
|
78
70
|
|
79
71
|
If something doesn't work on one of these interpreters, it should be considered
|
80
72
|
a bug.
|
@@ -90,12 +82,10 @@ implementation, you will be personally responsible for providing patches in a
|
|
90
82
|
timely fashion. If critical issues for a particular implementation exist at the
|
91
83
|
time of a major release, support for that Ruby version may be dropped.
|
92
84
|
|
93
|
-
Credits
|
94
|
-
-------
|
85
|
+
## Credits
|
95
86
|
Futures, Inc. REST API developed by [Tom Harris](https://github.com/tomharris).
|
96
87
|
|
97
|
-
Copyright
|
98
|
-
---------
|
88
|
+
## <a name="copyright">Copyright</a>
|
99
89
|
Copyright (c) 2011 Code for America.
|
100
90
|
See [LICENSE](https://github.com/codeforamerica/futures_pipeline/blob/master/LICENSE.md) for details.
|
101
91
|
|
data/Rakefile
CHANGED
File without changes
|
data/futures_pipeline.gemspec
CHANGED
@@ -1,22 +1,20 @@
|
|
1
|
-
#
|
1
|
+
# encoding: utf-8
|
2
2
|
require File.expand_path('../lib/futures_pipeline/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.
|
6
|
-
gem.
|
5
|
+
gem.add_dependency 'faraday', '~> 0.7.4'
|
6
|
+
gem.add_dependency 'faraday_middleware', '~> 0.7.0'
|
7
|
+
gem.add_dependency 'hashie', '~> 1.1.0'
|
8
|
+
gem.add_dependency 'multi_json', '~> 1.0.2'
|
7
9
|
gem.add_development_dependency 'rake', '~> 0.9'
|
10
|
+
gem.add_development_dependency 'rdiscount', '~> 1.6'
|
8
11
|
gem.add_development_dependency 'rspec', '~> 2.6'
|
9
12
|
gem.add_development_dependency 'simplecov', '~> 0.4'
|
10
|
-
gem.add_development_dependency 'webmock', '~> 1.
|
13
|
+
gem.add_development_dependency 'webmock', '~> 1.7'
|
11
14
|
gem.add_development_dependency 'yard', '~> 0.7'
|
12
|
-
gem.add_runtime_dependency 'faraday', '~> 0.7.4'
|
13
|
-
gem.add_runtime_dependency 'faraday_middleware', '~> 0.7.0'
|
14
|
-
gem.add_runtime_dependency 'hashie', '~> 1.0.0'
|
15
|
-
gem.add_runtime_dependency 'multi_json', '~> 1.0.2'
|
16
15
|
gem.authors = ["Erik Michaels-Ober", "Ryan Resella"]
|
17
16
|
gem.description = %q{Ruby wrapper for the Futures, Inc. US Military Pipeline API}
|
18
17
|
gem.email = ['erik@codeforamerica.org', 'ryan@codeforamerica.org']
|
19
|
-
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
18
|
gem.files = `git ls-files`.split("\n")
|
21
19
|
gem.homepage = 'https://github.com/codeforamerica/futures_pipeline'
|
22
20
|
gem.name = 'futures_pipeline'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: futures_pipeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,67 +10,66 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-09-12 00:00:00.000000000Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
18
|
-
requirement: &
|
16
|
+
name: faraday
|
17
|
+
requirement: &70333258510780 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
19
|
requirements:
|
21
20
|
- - ~>
|
22
21
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
24
|
-
type: :
|
22
|
+
version: 0.7.4
|
23
|
+
type: :runtime
|
25
24
|
prerelease: false
|
26
|
-
version_requirements: *
|
25
|
+
version_requirements: *70333258510780
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
29
|
-
requirement: &
|
27
|
+
name: faraday_middleware
|
28
|
+
requirement: &70333258509500 !ruby/object:Gem::Requirement
|
30
29
|
none: false
|
31
30
|
requirements:
|
32
31
|
- - ~>
|
33
32
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
35
|
-
type: :
|
33
|
+
version: 0.7.0
|
34
|
+
type: :runtime
|
36
35
|
prerelease: false
|
37
|
-
version_requirements: *
|
36
|
+
version_requirements: *70333258509500
|
38
37
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
40
|
-
requirement: &
|
38
|
+
name: hashie
|
39
|
+
requirement: &70333258494380 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
42
41
|
requirements:
|
43
42
|
- - ~>
|
44
43
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
46
|
-
type: :
|
44
|
+
version: 1.1.0
|
45
|
+
type: :runtime
|
47
46
|
prerelease: false
|
48
|
-
version_requirements: *
|
47
|
+
version_requirements: *70333258494380
|
49
48
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
51
|
-
requirement: &
|
49
|
+
name: multi_json
|
50
|
+
requirement: &70333258492960 !ruby/object:Gem::Requirement
|
52
51
|
none: false
|
53
52
|
requirements:
|
54
53
|
- - ~>
|
55
54
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
57
|
-
type: :
|
55
|
+
version: 1.0.2
|
56
|
+
type: :runtime
|
58
57
|
prerelease: false
|
59
|
-
version_requirements: *
|
58
|
+
version_requirements: *70333258492960
|
60
59
|
- !ruby/object:Gem::Dependency
|
61
|
-
name:
|
62
|
-
requirement: &
|
60
|
+
name: rake
|
61
|
+
requirement: &70333258491380 !ruby/object:Gem::Requirement
|
63
62
|
none: false
|
64
63
|
requirements:
|
65
64
|
- - ~>
|
66
65
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
66
|
+
version: '0.9'
|
68
67
|
type: :development
|
69
68
|
prerelease: false
|
70
|
-
version_requirements: *
|
69
|
+
version_requirements: *70333258491380
|
71
70
|
- !ruby/object:Gem::Dependency
|
72
|
-
name:
|
73
|
-
requirement: &
|
71
|
+
name: rdiscount
|
72
|
+
requirement: &70333258490020 !ruby/object:Gem::Requirement
|
74
73
|
none: false
|
75
74
|
requirements:
|
76
75
|
- - ~>
|
@@ -78,62 +77,51 @@ dependencies:
|
|
78
77
|
version: '1.6'
|
79
78
|
type: :development
|
80
79
|
prerelease: false
|
81
|
-
version_requirements: *
|
80
|
+
version_requirements: *70333258490020
|
82
81
|
- !ruby/object:Gem::Dependency
|
83
|
-
name:
|
84
|
-
requirement: &
|
82
|
+
name: rspec
|
83
|
+
requirement: &70333258487820 !ruby/object:Gem::Requirement
|
85
84
|
none: false
|
86
85
|
requirements:
|
87
86
|
- - ~>
|
88
87
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
88
|
+
version: '2.6'
|
90
89
|
type: :development
|
91
90
|
prerelease: false
|
92
|
-
version_requirements: *
|
91
|
+
version_requirements: *70333258487820
|
93
92
|
- !ruby/object:Gem::Dependency
|
94
|
-
name:
|
95
|
-
requirement: &
|
96
|
-
none: false
|
97
|
-
requirements:
|
98
|
-
- - ~>
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 0.7.4
|
101
|
-
type: :runtime
|
102
|
-
prerelease: false
|
103
|
-
version_requirements: *70144166136280
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: faraday_middleware
|
106
|
-
requirement: &70144166135700 !ruby/object:Gem::Requirement
|
93
|
+
name: simplecov
|
94
|
+
requirement: &70333258486640 !ruby/object:Gem::Requirement
|
107
95
|
none: false
|
108
96
|
requirements:
|
109
97
|
- - ~>
|
110
98
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.
|
112
|
-
type: :
|
99
|
+
version: '0.4'
|
100
|
+
type: :development
|
113
101
|
prerelease: false
|
114
|
-
version_requirements: *
|
102
|
+
version_requirements: *70333258486640
|
115
103
|
- !ruby/object:Gem::Dependency
|
116
|
-
name:
|
117
|
-
requirement: &
|
104
|
+
name: webmock
|
105
|
+
requirement: &70333258485480 !ruby/object:Gem::Requirement
|
118
106
|
none: false
|
119
107
|
requirements:
|
120
108
|
- - ~>
|
121
109
|
- !ruby/object:Gem::Version
|
122
|
-
version: 1.
|
123
|
-
type: :
|
110
|
+
version: '1.7'
|
111
|
+
type: :development
|
124
112
|
prerelease: false
|
125
|
-
version_requirements: *
|
113
|
+
version_requirements: *70333258485480
|
126
114
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
128
|
-
requirement: &
|
115
|
+
name: yard
|
116
|
+
requirement: &70333258483940 !ruby/object:Gem::Requirement
|
129
117
|
none: false
|
130
118
|
requirements:
|
131
119
|
- - ~>
|
132
120
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
134
|
-
type: :
|
121
|
+
version: '0.7'
|
122
|
+
type: :development
|
135
123
|
prerelease: false
|
136
|
-
version_requirements: *
|
124
|
+
version_requirements: *70333258483940
|
137
125
|
description: Ruby wrapper for the Futures, Inc. US Military Pipeline API
|
138
126
|
email:
|
139
127
|
- erik@codeforamerica.org
|
@@ -165,7 +153,6 @@ files:
|
|
165
153
|
- spec/futures_pipeline/client_spec.rb
|
166
154
|
- spec/futures_pipeline_spec.rb
|
167
155
|
- spec/helper.rb
|
168
|
-
has_rdoc: true
|
169
156
|
homepage: https://github.com/codeforamerica/futures_pipeline
|
170
157
|
licenses: []
|
171
158
|
post_install_message:
|
@@ -186,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
173
|
version: '0'
|
187
174
|
requirements: []
|
188
175
|
rubyforge_project:
|
189
|
-
rubygems_version: 1.
|
176
|
+
rubygems_version: 1.8.10
|
190
177
|
signing_key:
|
191
178
|
specification_version: 3
|
192
179
|
summary: Ruby wrapper for the Futures, Inc. US Military Pipeline API
|