leankitkanban 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/leankitkanban.gemspec +2 -2
- data/lib/leankitkanban/config.rb +4 -4
- data/spec/leankitkanban/config_spec.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDYzYmEyZmYwOTk3ZmE0MDEzOTM2MWZhZTA3NjFlMWI2NmQ3M2YzMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTIxYTBmOGE2YTUwM2IyZmU4YzA2MTFkNzc5MzA4NzNiNmU5MDY4MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTUxMzJmNzdlY2I4ZDBjNTE5ZWJmYWNjY2VkNGFlN2E3NGU0MDQxNGMwNzk0
|
10
|
+
NWU0NTU2NzZiZWIyYzg4MjA4ZjQ3YTA0N2JmODRiZTMxODY0MDYxYTAwZjE0
|
11
|
+
YjYzYzk2N2M1MGRiMTQyMWY3NGU3ZDVhYTNmY2M4YmM0M2EzNDg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTJjODUyNGE0MjljM2ZiNjFlOTNmM2YxOWM1MDRjMjNhZjIyMDFkMGIwY2Zk
|
14
|
+
MmUxNDExZTU4YmMzNTI0N2NlMWZhYWNkOTAwNTZhYmYyOTU4YjllYjcxMzlh
|
15
|
+
ZjE0ZTc1ZWRkN2EyMjNmZDhkY2RjZGQ1MWJmYWVhNGEzOGIyYjQ=
|
data/leankitkanban.gemspec
CHANGED
@@ -5,8 +5,8 @@ $:.unshift lib unless $:.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = 'leankitkanban'
|
8
|
-
s.version = '0.
|
9
|
-
s.date = '
|
8
|
+
s.version = '0.2.0'
|
9
|
+
s.date = '2016-08-12'
|
10
10
|
s.summary = "leankitkanban-#{s.version}"
|
11
11
|
s.description = 'Ruby Wrapper around LeanKitKanban Api'
|
12
12
|
s.authors = ['Marc Lainez']
|
data/lib/leankitkanban/config.rb
CHANGED
@@ -6,8 +6,8 @@ module LeanKitKanban
|
|
6
6
|
class << self
|
7
7
|
attr_accessor :email, :password, :account
|
8
8
|
|
9
|
-
LKK_DOMAIN = "
|
10
|
-
API_SUFFIX = "/
|
9
|
+
LKK_DOMAIN = "leankit.com"
|
10
|
+
API_SUFFIX = "/kanban/api"
|
11
11
|
|
12
12
|
def validate
|
13
13
|
raise NoCredentials if email.nil? || password.nil?
|
@@ -16,7 +16,7 @@ module LeanKitKanban
|
|
16
16
|
|
17
17
|
def uri
|
18
18
|
validate
|
19
|
-
"
|
19
|
+
"https://#{account}.#{LKK_DOMAIN}#{API_SUFFIX}"
|
20
20
|
end
|
21
21
|
|
22
22
|
def basic_auth_hash
|
@@ -25,4 +25,4 @@ module LeanKitKanban
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
28
|
-
end
|
28
|
+
end
|
@@ -41,7 +41,7 @@ describe LeanKitKanban::Config do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
it "returns the domain including the account name" do
|
44
|
-
LeanKitKanban::Config.uri.should eql "
|
44
|
+
LeanKitKanban::Config.uri.should eql "https://#{TEST_ACCOUNT}.leankit.com/kanban/api"
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -56,4 +56,4 @@ describe LeanKitKanban::Config do
|
|
56
56
|
LeanKitKanban::Config.basic_auth_hash.should eql expected_hash
|
57
57
|
end
|
58
58
|
end
|
59
|
-
end
|
59
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leankitkanban
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Lainez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -111,10 +111,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.4.5
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
|
-
summary: leankitkanban-0.
|
117
|
+
summary: leankitkanban-0.2.0
|
118
118
|
test_files:
|
119
119
|
- spec/leankitkanban/archive_spec.rb
|
120
120
|
- spec/leankitkanban/backlog_spec.rb
|