ranbanery 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -0,0 +1,4 @@
1
+ module Kanbanery
2
+ class Column < Kanbanery::Base
3
+ end
4
+ end
data/lib/ranbanery.rb CHANGED
@@ -3,6 +3,7 @@ require 'ranbanery/base'
3
3
  require 'ranbanery/project'
4
4
  require 'ranbanery/task'
5
5
  require 'ranbanery/subtask'
6
+ require 'ranbanery/column'
6
7
 
7
8
  module Kanbanery
8
9
  class Client
@@ -31,6 +32,10 @@ module Kanbanery
31
32
  resource(:project)
32
33
  end
33
34
 
35
+ def columns(project_id)
36
+ resource(:column, prefix: "projects/#{project_id}/")
37
+ end
38
+
34
39
  def tasks(project_id)
35
40
  resource(:task, prefix: "projects/#{project_id}/")
36
41
  end
data/ranbanery.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ranbanery"
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jan Schwenzien"]
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
  "VERSION",
29
29
  "lib/ranbanery.rb",
30
30
  "lib/ranbanery/base.rb",
31
+ "lib/ranbanery/column.rb",
31
32
  "lib/ranbanery/project.rb",
32
33
  "lib/ranbanery/subtask.rb",
33
34
  "lib/ranbanery/task.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ranbanery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -142,6 +142,7 @@ files:
142
142
  - VERSION
143
143
  - lib/ranbanery.rb
144
144
  - lib/ranbanery/base.rb
145
+ - lib/ranbanery/column.rb
145
146
  - lib/ranbanery/project.rb
146
147
  - lib/ranbanery/subtask.rb
147
148
  - lib/ranbanery/task.rb
@@ -163,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
164
  version: '0'
164
165
  segments:
165
166
  - 0
166
- hash: 745956335595922354
167
+ hash: -2285213476467834695
167
168
  required_rubygems_version: !ruby/object:Gem::Requirement
168
169
  none: false
169
170
  requirements: