taskrabbit 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -4,3 +4,4 @@
4
4
  Gemfile.lock
5
5
  .rvmrc
6
6
  pkg/*
7
+ bin
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.0.3
2
+
3
+ * update default uri to secure connection.
4
+
1
5
  ## v0.0.2
2
6
 
3
7
  * add api_key to config
data/Gemfile CHANGED
@@ -4,6 +4,7 @@ source "http://rubygems.org"
4
4
  gemspec
5
5
 
6
6
  group :development do
7
+ gem 'rdoc'
7
8
  gem 'rake'
8
9
  gem 'yard'
9
10
  gem 'ruby-debug'
@@ -16,7 +17,7 @@ group :test do
16
17
  gem 'guard-rspec'
17
18
  gem 'rb-fsevent'
18
19
  gem 'growl'
19
- gem 'vcr'
20
+ gem 'vcr', '~> 1.11.3'
20
21
  gem 'fakeweb'
21
22
  gem 'rcov', :require => nil
22
23
  end
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://secure.travis-ci.org/jrichardlai/taskrabbit.png?branch=master)](http://travis-ci.org/jrichardlai/taskrabbit)
2
+
1
3
  # TaskRabbit Ruby Gem
2
4
 
3
5
  Ruby wrapper for TaskRabbit API.
data/Rakefile CHANGED
@@ -2,14 +2,14 @@ require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
3
 
4
4
  require 'rubygems'
5
- require 'rake/gempackagetask'
6
- require 'rake/rdoctask'
5
+ require 'rubygems/package_task'
6
+ require 'rdoc/task'
7
7
  require 'rspec/core'
8
8
  require 'rspec/core/rake_task'
9
9
 
10
10
  spec = eval(File.read('taskrabbit.gemspec'))
11
11
 
12
- Rake::GemPackageTask.new(spec) do |pkg|
12
+ Gem::PackageTask.new(spec) do |pkg|
13
13
  pkg.gem_spec = spec
14
14
  end
15
15
 
@@ -1,6 +1,6 @@
1
1
  module Taskrabbit
2
2
  module Config
3
- DEFAULT_BASE_URI = 'http://www.taskrabbit.com'
3
+ DEFAULT_BASE_URI = 'https://www.taskrabbit.com'
4
4
  DEFAULT_END_POINT = 'api/v1'
5
5
  DEFAULT_API_SECRET = nil
6
6
  DEFAULT_API_KEY = nil
@@ -1,3 +1,3 @@
1
1
  module Taskrabbit
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -5,11 +5,13 @@ describe Taskrabbit::Collection do
5
5
 
6
6
  Taskrabbit::Collection::ARRAY_METHODS.each do |method|
7
7
  it "should define #{method}" do
8
+ allow_message_expectations_on_nil
8
9
  subject.should_receive(method)
9
10
  expect { subject.send(method) }.to_not raise_error
10
11
  end
11
12
 
12
13
  it "should call the #{method} on items" do
14
+ allow_message_expectations_on_nil
13
15
  subject.items.should_receive(method)
14
16
  expect { subject.send(method) }.to_not raise_error
15
17
  end
data/taskrabbit.gemspec CHANGED
@@ -16,6 +16,8 @@ Gem::Specification.new do |s|
16
16
  s.add_dependency 'api_smith', '1.0.0'
17
17
 
18
18
  s.add_development_dependency "rspec", "~> 2.6.0"
19
+ s.add_development_dependency "vcr", "~> 1.11.3"
20
+ s.add_development_dependency "rdoc", '~> 3.12'
19
21
 
20
22
  s.rubyforge_project = "taskrabbit"
21
23
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taskrabbit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jean-Richard Lai
@@ -50,6 +50,37 @@ dependencies:
50
50
  version: 2.6.0
51
51
  type: :development
52
52
  version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: vcr
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ hash: 61
62
+ segments:
63
+ - 1
64
+ - 11
65
+ - 3
66
+ version: 1.11.3
67
+ type: :development
68
+ version_requirements: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ name: rdoc
71
+ prerelease: false
72
+ requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ hash: 31
78
+ segments:
79
+ - 3
80
+ - 12
81
+ version: "3.12"
82
+ type: :development
83
+ version_requirements: *id004
53
84
  description: Client for the TaskRabbit API
54
85
  email:
55
86
  - jrichardlai@gmail.com