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 +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -1
- data/README.md +2 -0
- data/Rakefile +3 -3
- data/lib/taskrabbit/config.rb +1 -1
- data/lib/taskrabbit/version.rb +1 -1
- data/spec/taskrabbit/collection_spec.rb +2 -0
- data/taskrabbit.gemspec +2 -0
- metadata +34 -3
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
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
data/Rakefile
CHANGED
@@ -2,14 +2,14 @@ require 'bundler'
|
|
2
2
|
Bundler::GemHelper.install_tasks
|
3
3
|
|
4
4
|
require 'rubygems'
|
5
|
-
require '
|
6
|
-
require '
|
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
|
-
|
12
|
+
Gem::PackageTask.new(spec) do |pkg|
|
13
13
|
pkg.gem_spec = spec
|
14
14
|
end
|
15
15
|
|
data/lib/taskrabbit/config.rb
CHANGED
data/lib/taskrabbit/version.rb
CHANGED
@@ -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:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
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
|