gitlab_ci 0.2.0 → 0.2.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitlab/ci/client/projects.rb +4 -3
- data/lib/gitlab/ci/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1f7bd8b3a20d28b7a1dd6c2179a86a989a19d7d
|
4
|
+
data.tar.gz: 0c5e87b52f140ba5739328dd5e5a785081154cae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60273806f984acf3c524f3c6bf0065a6e718270623266be901eccfea6a6d4c7b7eac59ca9292d23e79f6ad3ff85e41663602c48e03a60cc61964a52ee5789769
|
7
|
+
data.tar.gz: 420d19a14d19129e9cc8fc3d4162eb7b3317dc8c3a0a9dbaded9533b79e7f64d3391352cf6d387ecdb0f4727d8e1f4d92eeb76d58b1175cca604aaf40257fde1
|
data/Gemfile.lock
CHANGED
@@ -41,11 +41,12 @@ class Gitlab::CI::Client
|
|
41
41
|
#
|
42
42
|
# @param [String] name (required) - The name of the project
|
43
43
|
# @param [String] gitlab_id (required) - The ID of the project on the GitLab instance
|
44
|
+
# @param [String] path (required) - The gitlab project path
|
45
|
+
# @param [String] ssh_url_to_repo (required) - The gitlab SSH url to the repo
|
44
46
|
# @param [String] default_ref (optional) - The branch to run on (default to master)
|
45
47
|
# @return [Gitlab::ObjectifiedHash] Information about created project.
|
46
|
-
def create_project(name,
|
47
|
-
|
48
|
-
post(url, body: { name: name, gitlab_id: id, default_ref: ref })
|
48
|
+
def create_project(name, gitlab_id, path, ssh_url_to_repo, default_ref='master')
|
49
|
+
post('/projects', body: { name: name, gitlab_id: gitlab_id, path: path, ssh_url_to_repo: ssh_url_to_repo, default_ref: default_ref })
|
49
50
|
end
|
50
51
|
|
51
52
|
# Updates a GitLab CI project using GitLab project details that the authenticated user has access to.
|
data/lib/gitlab/ci/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_ci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christo De Lange
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|