bizside-redmine-client 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/README.md +1 -3
- data/bizside-redmine-client.gemspec +1 -1
- data/lib/bizside/redmine/client.rb +3 -3
- data/lib/bizside/redmine/client/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 75d7a8838ae863cebc1c4b8471cb13f56f2c447c1c90712c4405ca10f1e1fa98
|
4
|
+
data.tar.gz: 607c05428fc61c0e867d4d971fdef1c994de588c211c5386568cc805d666efbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eb4059c196580c27d8456614e67b67c23639df008165e4e494fbfdc9c4db20c1ebd4a5c4c5e982cc9a2483e3da51c04c44686fe914d9807e82b573e3a8eae56
|
7
|
+
data.tar.gz: fbac1fd09bdd517030010f72c57351225bb1fafcb1f23012c33843a7de07d6f4bd7ce5c9c37fdab75a095c60aa912ec8c4407c0c0a3760c5115055f6ac5b3279
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Bizside::Redmine::Client
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Redmine API client implmentation used by BizSide
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_dependency 'activesupport', '>= 3.2', '< 6.0.0'
|
27
27
|
spec.add_dependency 'nokogiri', '~> 1.10'
|
28
28
|
|
29
|
-
spec.add_development_dependency "bundler", "~>
|
29
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
30
30
|
spec.add_development_dependency "rake", "~> 10.0"
|
31
31
|
spec.add_development_dependency "minitest", "~> 5.0"
|
32
32
|
spec.add_development_dependency 'webmock', '~> 3.0'
|
@@ -105,19 +105,19 @@ class Bizside::Redmine::Client
|
|
105
105
|
path = "#{prefix}/projects/#{params[:project_identifier]}/wiki/#{params[:page_name]}.xml"
|
106
106
|
content = "<wiki_page><text>#{params[:content]}</text></wiki_page>"
|
107
107
|
response = connection.post_or_put(path, content)
|
108
|
-
|
108
|
+
Bizside::Redmine::ResultSet.new(:wiki_page, response.status)
|
109
109
|
end
|
110
110
|
|
111
111
|
def create_analyzed_wiki_pages(params)
|
112
112
|
content = "<wiki_page><text>#{params[:content]}</text></wiki_page>"
|
113
113
|
response = connection.post_or_put("#{prefix}/projects/#{params[:project_identifier]}/wiki/#{params[:page_name]}.xml", content)
|
114
|
-
|
114
|
+
Bizside::Redmine::ResultSet.new(:wiki_page, response.status)
|
115
115
|
end
|
116
116
|
|
117
117
|
def create_errors_wiki_pages(params)
|
118
118
|
content = "<wiki_page><text>h3. #{params[:page_name]} <notextile></notextile><pre>#{params[:content]}</pre></text></wiki_page>"
|
119
119
|
response = connection.post_or_put("#{prefix}/projects/#{params[:project_identifier]}/wiki/#{params[:page_name]}.xml", content)
|
120
|
-
|
120
|
+
Bizside::Redmine::ResultSet.new(:wiki_page, response.status)
|
121
121
|
end
|
122
122
|
|
123
123
|
def create_aggregated_wiki_page(params)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bizside-redmine-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- y-matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '2.0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '2.0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,8 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
|
-
|
159
|
-
rubygems_version: 2.5.2.3
|
158
|
+
rubygems_version: 3.0.4
|
160
159
|
signing_key:
|
161
160
|
specification_version: 4
|
162
161
|
summary: redmine client for bizside
|