t1k 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/t1k/repository.rb +10 -3
- data/lib/t1k/tracker.rb +6 -3
- data/lib/t1k/trackers/anything.rb +18 -0
- data/lib/t1k/version.rb +1 -1
- data/lib/t1k.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 516a96aa267096efafdfc33f81573ab19af29f9c
|
4
|
+
data.tar.gz: 30133a5d5670dfafdfc355b072f8933560aef61a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6609a3768e5eeeef6eedcf114768249abd71fee562c3239dd2040bbb7cc4205768cfdb3d4acb96a5ddffc2e17a08a0273aaff3aba003e3a1aea262ab53fedced
|
7
|
+
data.tar.gz: 0117d09ae28e5d7b7966a6a49173a2dfc4dbfb977b67c8ff0e70a609c1108a885f19bac95924495dc07c418f3444a059b0ec5502099f7456e0f27e38342288ca
|
data/lib/t1k/repository.rb
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
module T1k
|
2
2
|
class Repository
|
3
|
-
|
4
3
|
cattr_accessor :adapter
|
5
4
|
@@adapter = T1k::Repositories::Github # default adapter
|
6
5
|
|
7
|
-
|
8
|
-
|
6
|
+
def self.create_issue card_name
|
7
|
+
adapter.create_issue card_name
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.get_issue existent_issue_number
|
11
|
+
adapter.get_issue existent_issue_number
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.get_issue_number issue
|
15
|
+
adapter.get_issue_number issue
|
9
16
|
end
|
10
17
|
|
11
18
|
def self.setup &block
|
data/lib/t1k/tracker.rb
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
module T1k
|
2
2
|
class Tracker
|
3
|
-
|
4
3
|
cattr_accessor :adapter
|
5
4
|
@@adapter = T1k::Trackers::Trello # default adapter
|
6
5
|
|
7
|
-
|
8
|
-
|
6
|
+
def self.get_card url_card
|
7
|
+
adapter.get_card url_card
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.update_card card, issue_number
|
11
|
+
adapter.update_card card, issue_number
|
9
12
|
end
|
10
13
|
|
11
14
|
def self.setup &block
|
data/lib/t1k/version.rb
CHANGED
data/lib/t1k.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: t1k
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Maia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- lib/t1k/repositories/github.rb
|
84
84
|
- lib/t1k/repository.rb
|
85
85
|
- lib/t1k/tracker.rb
|
86
|
+
- lib/t1k/trackers/anything.rb
|
86
87
|
- lib/t1k/trackers/pivotal.rb
|
87
88
|
- lib/t1k/trackers/trello.rb
|
88
89
|
- lib/t1k/version.rb
|