cb-api 15.0.1 → 15.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -3,6 +3,7 @@ Version History
3
3
  * All Version bumps are required to update this file as well!!
4
4
  ----
5
5
 
6
+ * 15.0.2 Include the rake tasks in the gem
6
7
  * 15.0.1 Add `cb:test` rake task for rspec independence on the build server
7
8
  * 15.0.0 Removing old country_codes call and replacing it with new countries call
8
9
  * 14.7.0 Adding desired job type data list
data/lib/cb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '15.0.1'
2
+ VERSION = '15.0.2'
3
3
  end
data/lib/tasks/cb.rake ADDED
@@ -0,0 +1,8 @@
1
+ namespace :cb do
2
+ desc "Run all tests for this project"
3
+ task :test do
4
+ exit_codes = []
5
+ exit_codes << system('bundle exec rspec')
6
+ exit (exit_codes.include?(false) ? 1 : 0)
7
+ end
8
+ end
@@ -0,0 +1,12 @@
1
+ namespace :doc do
2
+ task :generate do
3
+ #Remove directory if exists (Sooooo much faster rdoc time.)
4
+ system('rm -rf doc/') if File.exists?('doc/index.html')
5
+
6
+ #Generate the RDoc
7
+ system('rdoc')
8
+
9
+ #point browser at doc/index.html
10
+ system("open", "doc/index.html")
11
+ end
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.1
4
+ version: 15.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-23 00:00:00.000000000 Z
12
+ date: 2014-12-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -372,6 +372,8 @@ files:
372
372
  - lib/cb/utils/api.rb
373
373
  - lib/cb/utils/response_map.rb
374
374
  - lib/cb/utils/fluid_attributes.rb
375
+ - lib/tasks/cb.rake
376
+ - lib/tasks/doc.rake
375
377
  - CHANGELOG.md
376
378
  - README.md
377
379
  homepage: http://api.careerbuilder.com