angellist_api 0.1.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,13 +1,10 @@
1
1
  # The AngelList API Ruby Gem
2
-
3
- A Ruby wrapper for the [AngelList REST APIs][].
2
+ A Ruby wrapper for the AngelList REST APIs
4
3
 
5
4
  ## <a name="installation">Installation</a>
6
-
7
- gem install angellist_api
5
+ gem install angellist-api
8
6
 
9
7
  ## <a name="pulls">Submitting a Pull Request</a>
10
-
11
8
  1. Fork the project.
12
9
  2. Create a topic branch.
13
10
  3. Implement your feature or bug fix.
@@ -17,6 +14,3 @@ A Ruby wrapper for the [AngelList REST APIs][].
17
14
  7. Run <tt>bundle exec rake spec</tt>. If your changes are not 100% covered, go back to step 6.
18
15
  8. Commit and push your changes.
19
16
  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.)
20
-
21
- [AngelList REST APIs]: http://angel.co/api
22
-
data/Rakefile CHANGED
@@ -1,10 +1,24 @@
1
+ #!/usr/bin/env rake
1
2
  begin
2
3
  require 'bundler/setup'
3
4
  rescue LoadError
4
5
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
6
  end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
6
14
 
7
- require 'yard'
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'AngellistApi'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
8
22
 
9
23
  Bundler::GemHelper.install_tasks
10
24
 
@@ -12,9 +26,4 @@ require 'rspec/core/rake_task'
12
26
  RSpec::Core::RakeTask.new(:spec)
13
27
 
14
28
  task :test => :spec
15
- task :default => :spec
16
-
17
- YARD::Rake::YardocTask.new do |t|
18
- t.files = ['lib/**/*.rb', 'README.md']
19
- end
20
-
29
+ task :default => :spec
@@ -1,4 +1,3 @@
1
1
  module AngellistApi
2
- VERSION = "0.1.2"
2
+ VERSION = "1.0.0"
3
3
  end
4
-
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :angellist_api do
3
+ # # Task goes here
4
+ # end
@@ -7,7 +7,7 @@ describe AngellistApi::Configuration do
7
7
  describe "#extended" do
8
8
  it "should have all configuration variables set to the default values by default" do
9
9
  AngellistApi::Configuration::VALID_OPTIONS_KEYS.each do |key|
10
- ExtendedClass.send(key).should == AngellistApi::Configuration.const_get("DEFAULT_#{key.to_s.upcase}")
10
+ ExtendedClass.send(key).should == AngellistApi::Configuration.const_get("DEFAULT_#{key.upcase}")
11
11
  end
12
12
  end
13
13
  end
@@ -42,8 +42,8 @@ describe AngellistApi::Configuration do
42
42
  object.reset
43
43
 
44
44
  AngellistApi::Configuration::VALID_OPTIONS_KEYS.each_with_index do |key, i|
45
- object.send(key).should == AngellistApi::Configuration.const_get("DEFAULT_#{key.to_s.upcase}")
45
+ object.send(key).should == AngellistApi::Configuration.const_get("DEFAULT_#{key.upcase}")
46
46
  end
47
47
  end
48
48
  end
49
- end
49
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angellist_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-23 00:00:00.000000000Z
12
+ date: 2011-11-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hashie
16
- requirement: &2153040320 !ruby/object:Gem::Requirement
16
+ requirement: &70280787426400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: 1.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2153040320
24
+ version_requirements: *70280787426400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: faraday
27
- requirement: &2153039820 !ruby/object:Gem::Requirement
27
+ requirement: &70280787425680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.7.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2153039820
35
+ version_requirements: *70280787425680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: faraday_middleware
38
- requirement: &2153039360 !ruby/object:Gem::Requirement
38
+ requirement: &70280787424980 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.7.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2153039360
46
+ version_requirements: *70280787424980
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: multi_json
49
- requirement: &2153038900 !ruby/object:Gem::Requirement
49
+ requirement: &70280787424480 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,43 +54,32 @@ dependencies:
54
54
  version: 1.0.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2153038900
58
- - !ruby/object:Gem::Dependency
59
- name: mocha
60
- requirement: &2153029960 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - ~>
64
- - !ruby/object:Gem::Version
65
- version: 0.10.0
66
- type: :development
67
- prerelease: false
68
- version_requirements: *2153029960
57
+ version_requirements: *70280787424480
69
58
  - !ruby/object:Gem::Dependency
70
- name: rdiscount
71
- requirement: &2153029500 !ruby/object:Gem::Requirement
59
+ name: rspec
60
+ requirement: &70280787421480 !ruby/object:Gem::Requirement
72
61
  none: false
73
62
  requirements:
74
63
  - - ~>
75
64
  - !ruby/object:Gem::Version
76
- version: 1.6.8
65
+ version: 2.7.0
77
66
  type: :development
78
67
  prerelease: false
79
- version_requirements: *2153029500
68
+ version_requirements: *70280787421480
80
69
  - !ruby/object:Gem::Dependency
81
- name: rspec
82
- requirement: &2153029040 !ruby/object:Gem::Requirement
70
+ name: mocha
71
+ requirement: &70280787420960 !ruby/object:Gem::Requirement
83
72
  none: false
84
73
  requirements:
85
74
  - - ~>
86
75
  - !ruby/object:Gem::Version
87
- version: 2.7.0
76
+ version: 0.10.0
88
77
  type: :development
89
78
  prerelease: false
90
- version_requirements: *2153029040
79
+ version_requirements: *70280787420960
91
80
  - !ruby/object:Gem::Dependency
92
81
  name: simplecov
93
- requirement: &2153028580 !ruby/object:Gem::Requirement
82
+ requirement: &70280787420500 !ruby/object:Gem::Requirement
94
83
  none: false
95
84
  requirements:
96
85
  - - ~>
@@ -98,10 +87,10 @@ dependencies:
98
87
  version: 0.5.4
99
88
  type: :development
100
89
  prerelease: false
101
- version_requirements: *2153028580
90
+ version_requirements: *70280787420500
102
91
  - !ruby/object:Gem::Dependency
103
92
  name: timecop
104
- requirement: &2153028120 !ruby/object:Gem::Requirement
93
+ requirement: &70280787419860 !ruby/object:Gem::Requirement
105
94
  none: false
106
95
  requirements:
107
96
  - - ~>
@@ -109,18 +98,7 @@ dependencies:
109
98
  version: 0.3.5
110
99
  type: :development
111
100
  prerelease: false
112
- version_requirements: *2153028120
113
- - !ruby/object:Gem::Dependency
114
- name: yard
115
- requirement: &2153027660 !ruby/object:Gem::Requirement
116
- none: false
117
- requirements:
118
- - - ~>
119
- - !ruby/object:Gem::Version
120
- version: 0.7.3
121
- type: :development
122
- prerelease: false
123
- version_requirements: *2153027660
101
+ version_requirements: *70280787419860
124
102
  description: Ruby wrapper for the Angellist API. The AngelList API provides developers
125
103
  with a RESTful interface to the AngelList data set. Some endpoints are public and
126
104
  require no authentication.
@@ -153,10 +131,10 @@ files:
153
131
  - lib/faraday/request/phoenix.rb
154
132
  - lib/faraday/response/raise_http_4xx.rb
155
133
  - lib/faraday/response/raise_http_5xx.rb
134
+ - lib/tasks/angellist_api_tasks.rake
156
135
  - MIT-LICENSE
157
136
  - Rakefile
158
137
  - README.md
159
- - CHANGELOG.md
160
138
  - spec/lib/angellist_api/api_spec.rb
161
139
  - spec/lib/angellist_api/authentication_spec.rb
162
140
  - spec/lib/angellist_api/client/activity_feeds_spec.rb
@@ -184,18 +162,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
162
  - - ! '>='
185
163
  - !ruby/object:Gem::Version
186
164
  version: '0'
187
- segments:
188
- - 0
189
- hash: -380453470880224371
190
165
  required_rubygems_version: !ruby/object:Gem::Requirement
191
166
  none: false
192
167
  requirements:
193
168
  - - ! '>='
194
169
  - !ruby/object:Gem::Version
195
170
  version: '0'
196
- segments:
197
- - 0
198
- hash: -380453470880224371
199
171
  requirements: []
200
172
  rubyforge_project:
201
173
  rubygems_version: 1.8.10
@@ -218,4 +190,3 @@ test_files:
218
190
  - spec/lib/angellist_api/request_spec.rb
219
191
  - spec/lib/angellist_api_spec.rb
220
192
  - spec/spec_helper.rb
221
- has_rdoc:
@@ -1,8 +0,0 @@
1
- ## 0.1.2 - 22 March, 2012
2
-
3
- - Relax Hashie dependency, in particular to avoid dep conflict with
4
- omniauth-angellist.
5
-
6
-
7
- <!-- vim: set tw=80 :-->
8
-