jiralicious 0.1.0 → 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.
- data/.gitignore +2 -1
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +5 -0
- data/README.md +32 -4
- data/jiralicious.gemspec +7 -5
- data/lib/jiralicious.rb +10 -3
- data/lib/jiralicious/base.rb +114 -0
- data/lib/jiralicious/configuration.rb +13 -2
- data/lib/jiralicious/cookie_session.rb +5 -5
- data/lib/jiralicious/custom_field_option.rb +27 -0
- data/lib/jiralicious/field.rb +39 -0
- data/lib/jiralicious/issue.rb +111 -26
- data/lib/jiralicious/issue/comment.rb +62 -0
- data/lib/jiralicious/issue/fields.rb +93 -0
- data/lib/jiralicious/issue/transitions.rb +92 -0
- data/lib/jiralicious/issue/watchers.rb +47 -0
- data/lib/jiralicious/parsers/field_parser.rb +2 -2
- data/lib/jiralicious/project.rb +44 -0
- data/lib/jiralicious/search.rb +4 -1
- data/lib/jiralicious/search_result.rb +4 -0
- data/lib/jiralicious/version.rb +1 -1
- data/spec/basic_session_spec.rb +4 -4
- data/spec/comment_spec.rb +64 -0
- data/spec/configuration_spec.rb +9 -0
- data/spec/fixtures/comment.json +30 -0
- data/spec/fixtures/comment_single.json +29 -0
- data/spec/fixtures/issue.json +89 -93
- data/spec/fixtures/issue_2.json +30 -0
- data/spec/fixtures/issue_create.json +5 -0
- data/spec/fixtures/issue_createmeta.json +34 -0
- data/spec/fixtures/issue_editmeta.json +22 -0
- data/spec/fixtures/issue_update.json +164 -0
- data/spec/fixtures/jira.yml +7 -0
- data/spec/fixtures/project.json +87 -0
- data/spec/fixtures/project_issue_list.json +20 -0
- data/spec/fixtures/projects.json +22 -0
- data/spec/fixtures/search.json +9 -9
- data/spec/fixtures/test.json +24 -0
- data/spec/fixtures/transitions.json +61 -61
- data/spec/fixtures/watchers.json +17 -0
- data/spec/issue_spec.rb +255 -21
- data/spec/project_spec.rb +55 -0
- data/spec/search_result_spec.rb +20 -8
- data/spec/search_spec.rb +6 -6
- data/spec/support/http.rb +55 -2
- data/spec/watchers_spec.rb +43 -0
- metadata +154 -100
- data/.rvmrc +0 -1
- data/spec/cookie_session_spec.rb +0 -268
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
|
4
|
+
describe Jiralicious, "search" do
|
5
|
+
|
6
|
+
before :each do
|
7
|
+
Jiralicious.configure do |config|
|
8
|
+
config.username = "jstewart"
|
9
|
+
config.password = "topsecret"
|
10
|
+
config.uri = "http://localhost"
|
11
|
+
config.auth_type = :cookie
|
12
|
+
config.api_version = "latest"
|
13
|
+
end
|
14
|
+
|
15
|
+
FakeWeb.register_uri(:get,
|
16
|
+
"#{Jiralicious.rest_path}/project/",
|
17
|
+
:status => "200",
|
18
|
+
:body => projects_json)
|
19
|
+
FakeWeb.register_uri(:get,
|
20
|
+
"#{Jiralicious.rest_path}/project/EX",
|
21
|
+
:status => "200",
|
22
|
+
:body => project_json)
|
23
|
+
FakeWeb.register_uri(:get,
|
24
|
+
"#{Jiralicious.rest_path}/project/ABC",
|
25
|
+
:status => "200",
|
26
|
+
:body => project_json)
|
27
|
+
FakeWeb.register_uri(:post,
|
28
|
+
"#{Jiralicious.rest_path}/search",
|
29
|
+
:status => "200",
|
30
|
+
:body => project_issue_list_json)
|
31
|
+
end
|
32
|
+
|
33
|
+
it "finds all projects" do
|
34
|
+
projects = Jiralicious::Project.all
|
35
|
+
projects.should be_instance_of(Jiralicious::Project)
|
36
|
+
projects.count.should == 2
|
37
|
+
projects.EX.id.should == "10000"
|
38
|
+
end
|
39
|
+
|
40
|
+
it "finds project issue list class level" do
|
41
|
+
issues = Jiralicious::Project.issue_list("EX")
|
42
|
+
issues.should be_instance_of(Jiralicious::Issue)
|
43
|
+
issues.count.should == 2
|
44
|
+
issues.EX_1['id'].should == "10000"
|
45
|
+
end
|
46
|
+
|
47
|
+
it "finds project issue list instance level" do
|
48
|
+
project = Jiralicious::Project.find("EX")
|
49
|
+
issues = project.issues
|
50
|
+
issues.should be_instance_of(Jiralicious::Issue)
|
51
|
+
issues.count.should == 2
|
52
|
+
issues.EX_1['id'].should == "10000"
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
data/spec/search_result_spec.rb
CHANGED
@@ -4,9 +4,17 @@ require "spec_helper"
|
|
4
4
|
describe Jiralicious::SearchResult do
|
5
5
|
before :each do
|
6
6
|
FakeWeb.register_uri(:get,
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
"#{Jiralicious.rest_path}/issue/EX-1",
|
8
|
+
:status => "200",
|
9
|
+
:body => issue_json)
|
10
|
+
FakeWeb.register_uri(:get,
|
11
|
+
"#{Jiralicious.rest_path}/issue/EX-1/comment/",
|
12
|
+
:status => "200",
|
13
|
+
:body => comment_json)
|
14
|
+
FakeWeb.register_uri(:get,
|
15
|
+
"#{Jiralicious.rest_path}/issue/EX-1/watchers/",
|
16
|
+
:status => "200",
|
17
|
+
:body => watchers_json)
|
10
18
|
end
|
11
19
|
|
12
20
|
let(:search_data) {
|
@@ -15,17 +23,17 @@ describe Jiralicious::SearchResult do
|
|
15
23
|
"maxResults" => 50,
|
16
24
|
"total" => 1,
|
17
25
|
"issues" => [{
|
18
|
-
|
19
|
-
|
20
|
-
|
26
|
+
"self" => "http://www.example.com/jira/rest/api/2.0/jira/rest/api/2.0/issue/EX-1",
|
27
|
+
"key" => "EX-1"
|
28
|
+
}]
|
21
29
|
}
|
22
30
|
}
|
23
31
|
let(:search_result) { Jiralicious::SearchResult.new(search_data) }
|
24
32
|
|
25
33
|
it "assigns an array to back the search results" do
|
26
34
|
search_result.instance_variable_get('@issues').
|
27
|
-
should == [ {"self" => "http://www.example.com/jira/rest/api/2.0/jira/rest/api/2.0/issue/
|
28
|
-
|
35
|
+
should == [ {"self" => "http://www.example.com/jira/rest/api/2.0/jira/rest/api/2.0/issue/EX-1",
|
36
|
+
"key" => "EX-1"} ]
|
29
37
|
end
|
30
38
|
|
31
39
|
it "knows it's offset" do
|
@@ -39,4 +47,8 @@ describe Jiralicious::SearchResult do
|
|
39
47
|
it "fetches issues" do
|
40
48
|
search_result.issues.first.should be_instance_of(Jiralicious::Issue)
|
41
49
|
end
|
50
|
+
|
51
|
+
it "checks the issues raw result" do
|
52
|
+
search_result.issues_raw.class.should == Array
|
53
|
+
end
|
42
54
|
end
|
data/spec/search_spec.rb
CHANGED
@@ -15,9 +15,9 @@ describe Jiralicious, "search" do
|
|
15
15
|
context "when successful" do
|
16
16
|
before :each do
|
17
17
|
FakeWeb.register_uri(:post,
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
"#{Jiralicious.rest_path}/search",
|
19
|
+
:status => "200",
|
20
|
+
:body => search_json)
|
21
21
|
|
22
22
|
end
|
23
23
|
|
@@ -30,9 +30,9 @@ describe Jiralicious, "search" do
|
|
30
30
|
context "When there's a problem with the query" do
|
31
31
|
before :each do
|
32
32
|
FakeWeb.register_uri(:post,
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
"#{Jiralicious.rest_path}/search",
|
34
|
+
:body => '{"errorMessages": ["error"]}',
|
35
|
+
:status => "400")
|
36
36
|
end
|
37
37
|
|
38
38
|
it "raises an exception" do
|
data/spec/support/http.rb
CHANGED
@@ -14,8 +14,8 @@ module LoginHelper
|
|
14
14
|
}
|
15
15
|
}|
|
16
16
|
FakeWeb.register_uri(:post,
|
17
|
-
|
18
|
-
|
17
|
+
Jiralicious.uri + '/rest/auth/latest/session',
|
18
|
+
:body => response)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
@@ -24,6 +24,30 @@ module JsonResponse
|
|
24
24
|
File.new(File.expand_path('issue.json', File.dirname(__FILE__) + '/../fixtures')).read
|
25
25
|
end
|
26
26
|
|
27
|
+
def issue_update_json
|
28
|
+
File.new(File.expand_path('issue_update.json', File.dirname(__FILE__) + '/../fixtures')).read
|
29
|
+
end
|
30
|
+
|
31
|
+
def issue_2_json
|
32
|
+
File.new(File.expand_path('issue_2.json', File.dirname(__FILE__) + '/../fixtures')).read
|
33
|
+
end
|
34
|
+
|
35
|
+
def issue_3_json
|
36
|
+
File.new(File.expand_path('issue_update.json', File.dirname(__FILE__) + '/../fixtures')).read
|
37
|
+
end
|
38
|
+
|
39
|
+
def issue_create_json
|
40
|
+
File.new(File.expand_path('issue_create.json', File.dirname(__FILE__) + '/../fixtures')).read
|
41
|
+
end
|
42
|
+
|
43
|
+
def issue_createmeta_json
|
44
|
+
File.new(File.expand_path('issue_createmeta.json', File.dirname(__FILE__) + '/../fixtures')).read
|
45
|
+
end
|
46
|
+
|
47
|
+
def issue_editmeta_json
|
48
|
+
File.new(File.expand_path('issue_editmeta.json', File.dirname(__FILE__) + '/../fixtures')).read
|
49
|
+
end
|
50
|
+
|
27
51
|
def search_json
|
28
52
|
File.new(File.expand_path('search.json', File.dirname(__FILE__) + '/../fixtures')).read
|
29
53
|
end
|
@@ -31,4 +55,33 @@ module JsonResponse
|
|
31
55
|
def transitions_json
|
32
56
|
File.new(File.expand_path('transitions.json', File.dirname(__FILE__) + '/../fixtures')).read
|
33
57
|
end
|
58
|
+
|
59
|
+
def comment_json
|
60
|
+
File.new(File.expand_path('comment.json', File.dirname(__FILE__) + '/../fixtures')).read
|
61
|
+
end
|
62
|
+
|
63
|
+
def comment_single_json
|
64
|
+
File.new(File.expand_path('comment_single.json', File.dirname(__FILE__) + '/../fixtures')).read
|
65
|
+
end
|
66
|
+
|
67
|
+
def projects_json
|
68
|
+
File.expand_path('projects.json', File.dirname(__FILE__) + '/../fixtures')
|
69
|
+
end
|
70
|
+
|
71
|
+
def project_json
|
72
|
+
File.expand_path('project.json', File.dirname(__FILE__) + '/../fixtures')
|
73
|
+
end
|
74
|
+
|
75
|
+
def project_issue_list_json
|
76
|
+
File.expand_path('project_issue_list.json', File.dirname(__FILE__) + '/../fixtures')
|
77
|
+
end
|
78
|
+
|
79
|
+
def watchers_json
|
80
|
+
File.new(File.expand_path('watchers.json', File.dirname(__FILE__) + '/../fixtures')).read
|
81
|
+
end
|
82
|
+
|
83
|
+
def jira_yml
|
84
|
+
File.expand_path('jira.yml', File.dirname(__FILE__) + '/../fixtures')
|
85
|
+
end
|
86
|
+
|
34
87
|
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
|
4
|
+
describe Jiralicious, "search" do
|
5
|
+
|
6
|
+
before :each do
|
7
|
+
Jiralicious.configure do |config|
|
8
|
+
config.username = "jstewart"
|
9
|
+
config.password = "topsecret"
|
10
|
+
config.uri = "http://localhost"
|
11
|
+
config.auth_type = :cookie
|
12
|
+
config.api_version = "latest"
|
13
|
+
end
|
14
|
+
|
15
|
+
FakeWeb.register_uri(:get,
|
16
|
+
"#{Jiralicious.rest_path}/issue/EX-1/watchers/",
|
17
|
+
:status => "200",
|
18
|
+
:body => watchers_json)
|
19
|
+
FakeWeb.register_uri(:post,
|
20
|
+
"#{Jiralicious.rest_path}/issue/EX-1/watchers/",
|
21
|
+
:status => "204")
|
22
|
+
FakeWeb.register_uri(:delete,
|
23
|
+
"#{Jiralicious.rest_path}/issue/EX-1/watchers/?username=fred",
|
24
|
+
:status => "204")
|
25
|
+
end
|
26
|
+
|
27
|
+
it "finds by isusse key" do
|
28
|
+
watchers = Jiralicious::Issue::Watchers.find_by_key("EX-1")
|
29
|
+
watchers.should be_instance_of(Jiralicious::Issue::Watchers)
|
30
|
+
watchers.watchers.count.should == 1
|
31
|
+
watchers.watchers[0]['name'].should == "fred"
|
32
|
+
end
|
33
|
+
|
34
|
+
it "adds a new watcher" do
|
35
|
+
response = Jiralicious::Issue::Watchers.add("fred", "EX-1")
|
36
|
+
response.response.class.should == Net::HTTPNoContent
|
37
|
+
end
|
38
|
+
|
39
|
+
it "removes a watcher" do
|
40
|
+
response = Jiralicious::Issue::Watchers.remove("fred", "EX-1")
|
41
|
+
response.response.class.should == Net::HTTPNoContent
|
42
|
+
end
|
43
|
+
end
|
metadata
CHANGED
@@ -1,191 +1,245 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: jiralicious
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 0.1.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jason Stewart
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
12
|
+
date: 2013-04-29 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: crack
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.1.8
|
22
|
+
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.1.8
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: httparty
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
25
33
|
none: false
|
26
|
-
requirements:
|
34
|
+
requirements:
|
27
35
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 7
|
33
|
-
- 8
|
34
|
-
version: 0.7.8
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.11.0
|
35
38
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: hashie
|
39
39
|
prerelease: false
|
40
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
|
-
requirements:
|
42
|
+
requirements:
|
43
43
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.11.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: hashie
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.1'
|
50
54
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: json
|
54
55
|
prerelease: false
|
55
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
57
|
none: false
|
57
|
-
requirements:
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.1'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: json
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
58
67
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 6
|
64
|
-
- 3
|
65
|
-
version: 1.6.3
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.7.7
|
66
70
|
type: :runtime
|
67
|
-
|
68
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.7.7
|
78
|
+
- !ruby/object:Gem::Dependency
|
69
79
|
name: rspec
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '2.6'
|
86
|
+
type: :development
|
70
87
|
prerelease: false
|
71
|
-
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
89
|
none: false
|
73
|
-
requirements:
|
90
|
+
requirements:
|
74
91
|
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '2.6'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rake
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
82
102
|
type: :development
|
83
|
-
version_requirements: *id004
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: fakeweb
|
86
103
|
prerelease: false
|
87
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
105
|
none: false
|
89
|
-
requirements:
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: fakeweb
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
90
115
|
- - ~>
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
hash: 27
|
93
|
-
segments:
|
94
|
-
- 1
|
95
|
-
- 3
|
96
|
-
- 0
|
116
|
+
- !ruby/object:Gem::Version
|
97
117
|
version: 1.3.0
|
98
118
|
type: :development
|
99
|
-
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.3.0
|
100
126
|
description: A Ruby library for interacting with JIRA's REST API
|
101
127
|
email: jstewart@fusionary.com
|
102
128
|
executables: []
|
103
|
-
|
104
129
|
extensions: []
|
105
|
-
|
106
130
|
extra_rdoc_files: []
|
107
|
-
|
108
|
-
files:
|
131
|
+
files:
|
109
132
|
- .document
|
110
133
|
- .gitignore
|
111
134
|
- .rspec
|
112
|
-
- .
|
135
|
+
- .ruby-gemset
|
136
|
+
- .ruby-version
|
137
|
+
- .travis.yml
|
113
138
|
- Gemfile
|
114
139
|
- LICENSE
|
115
140
|
- README.md
|
116
141
|
- Rakefile
|
117
142
|
- jiralicious.gemspec
|
118
143
|
- lib/jiralicious.rb
|
144
|
+
- lib/jiralicious/base.rb
|
119
145
|
- lib/jiralicious/basic_session.rb
|
120
146
|
- lib/jiralicious/configuration.rb
|
121
147
|
- lib/jiralicious/cookie_session.rb
|
148
|
+
- lib/jiralicious/custom_field_option.rb
|
122
149
|
- lib/jiralicious/errors.rb
|
150
|
+
- lib/jiralicious/field.rb
|
123
151
|
- lib/jiralicious/issue.rb
|
152
|
+
- lib/jiralicious/issue/comment.rb
|
153
|
+
- lib/jiralicious/issue/fields.rb
|
154
|
+
- lib/jiralicious/issue/transitions.rb
|
155
|
+
- lib/jiralicious/issue/watchers.rb
|
124
156
|
- lib/jiralicious/parsers/field_parser.rb
|
157
|
+
- lib/jiralicious/project.rb
|
125
158
|
- lib/jiralicious/search.rb
|
126
159
|
- lib/jiralicious/search_result.rb
|
127
160
|
- lib/jiralicious/session.rb
|
128
161
|
- lib/jiralicious/version.rb
|
129
162
|
- spec/basic_session_spec.rb
|
163
|
+
- spec/comment_spec.rb
|
130
164
|
- spec/configuration_spec.rb
|
131
|
-
- spec/cookie_session_spec.rb
|
132
165
|
- spec/field_parser_spec.rb
|
166
|
+
- spec/fixtures/comment.json
|
167
|
+
- spec/fixtures/comment_single.json
|
133
168
|
- spec/fixtures/issue.json
|
169
|
+
- spec/fixtures/issue_2.json
|
170
|
+
- spec/fixtures/issue_create.json
|
171
|
+
- spec/fixtures/issue_createmeta.json
|
172
|
+
- spec/fixtures/issue_editmeta.json
|
173
|
+
- spec/fixtures/issue_update.json
|
174
|
+
- spec/fixtures/jira.yml
|
175
|
+
- spec/fixtures/project.json
|
176
|
+
- spec/fixtures/project_issue_list.json
|
177
|
+
- spec/fixtures/projects.json
|
134
178
|
- spec/fixtures/search.json
|
179
|
+
- spec/fixtures/test.json
|
135
180
|
- spec/fixtures/transitions.json
|
181
|
+
- spec/fixtures/watchers.json
|
136
182
|
- spec/issue_spec.rb
|
137
183
|
- spec/jiralicious_spec.rb
|
184
|
+
- spec/project_spec.rb
|
138
185
|
- spec/search_result_spec.rb
|
139
186
|
- spec/search_spec.rb
|
140
187
|
- spec/spec_helper.rb
|
141
188
|
- spec/support/configuration.rb
|
142
189
|
- spec/support/http.rb
|
143
|
-
|
190
|
+
- spec/watchers_spec.rb
|
144
191
|
homepage: http://github.com/jstewart/jiralicious
|
145
|
-
licenses:
|
192
|
+
licenses:
|
146
193
|
- MIT
|
147
194
|
post_install_message:
|
148
195
|
rdoc_options: []
|
149
|
-
|
150
|
-
require_paths:
|
196
|
+
require_paths:
|
151
197
|
- lib
|
152
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
198
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
199
|
none: false
|
154
|
-
requirements:
|
155
|
-
- -
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
|
158
|
-
|
159
|
-
- 0
|
160
|
-
version: "0"
|
161
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - ! '>='
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '0'
|
204
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
205
|
none: false
|
163
|
-
requirements:
|
164
|
-
- -
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
|
167
|
-
segments:
|
168
|
-
- 0
|
169
|
-
version: "0"
|
206
|
+
requirements:
|
207
|
+
- - ! '>='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
170
210
|
requirements: []
|
171
|
-
|
172
211
|
rubyforge_project:
|
173
|
-
rubygems_version: 1.
|
212
|
+
rubygems_version: 1.8.23
|
174
213
|
signing_key:
|
175
214
|
specification_version: 3
|
176
215
|
summary: A Ruby library for interacting with JIRA's REST API
|
177
|
-
test_files:
|
216
|
+
test_files:
|
178
217
|
- spec/basic_session_spec.rb
|
218
|
+
- spec/comment_spec.rb
|
179
219
|
- spec/configuration_spec.rb
|
180
|
-
- spec/cookie_session_spec.rb
|
181
220
|
- spec/field_parser_spec.rb
|
221
|
+
- spec/fixtures/comment.json
|
222
|
+
- spec/fixtures/comment_single.json
|
182
223
|
- spec/fixtures/issue.json
|
224
|
+
- spec/fixtures/issue_2.json
|
225
|
+
- spec/fixtures/issue_create.json
|
226
|
+
- spec/fixtures/issue_createmeta.json
|
227
|
+
- spec/fixtures/issue_editmeta.json
|
228
|
+
- spec/fixtures/issue_update.json
|
229
|
+
- spec/fixtures/jira.yml
|
230
|
+
- spec/fixtures/project.json
|
231
|
+
- spec/fixtures/project_issue_list.json
|
232
|
+
- spec/fixtures/projects.json
|
183
233
|
- spec/fixtures/search.json
|
234
|
+
- spec/fixtures/test.json
|
184
235
|
- spec/fixtures/transitions.json
|
236
|
+
- spec/fixtures/watchers.json
|
185
237
|
- spec/issue_spec.rb
|
186
238
|
- spec/jiralicious_spec.rb
|
239
|
+
- spec/project_spec.rb
|
187
240
|
- spec/search_result_spec.rb
|
188
241
|
- spec/search_spec.rb
|
189
242
|
- spec/spec_helper.rb
|
190
243
|
- spec/support/configuration.rb
|
191
244
|
- spec/support/http.rb
|
245
|
+
- spec/watchers_spec.rb
|