chemlab-library-gitlab 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/gitlab.rb +6 -0
- data/lib/gitlab/page/login.rb +21 -0
- metadata +73 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8ea439c8d4aa408b1177d3faa2d4a4d756c01c9dda57db80fe148a6b1bcc51d4
|
4
|
+
data.tar.gz: cc2fded2df5db9349a7963aacffddd3cc4cb777c7a6341b141b1dd5a9e599de8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e1047bbbccf911fad1a6e8fb9785a043e7ea07afc460a5d3e342e0a109dce930013e62e2c36df0264cfbf705afa07b5ae48c75a80c11ce8128909a4f29d1a716
|
7
|
+
data.tar.gz: 645896f4c0aafd6faf2e6e2804e155017e04ea5b41c9f0a2431bf460c03270548ef34f6aaefd45ce3ee414334063399e110885a01f6851457b05f0fdf764f2d2
|
data/lib/gitlab.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Gitlab
|
4
|
+
module Page
|
5
|
+
class Login < Chemlab::Page
|
6
|
+
url '/users/sign_in'
|
7
|
+
|
8
|
+
text_field :login_field
|
9
|
+
text_field :password_field
|
10
|
+
|
11
|
+
button :sign_in_button
|
12
|
+
|
13
|
+
def login_as(username, password)
|
14
|
+
self.login_field = username
|
15
|
+
self.password_field = password
|
16
|
+
|
17
|
+
sign_in_button
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chemlab-library-gitlab
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- GitLab Quality
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-11-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: chemlab
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.7'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.7'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- quality@gitlab.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- lib/gitlab.rb
|
49
|
+
- lib/gitlab/page/login.rb
|
50
|
+
homepage: https://about.gitlab.com
|
51
|
+
licenses:
|
52
|
+
- MIT
|
53
|
+
metadata: {}
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options: []
|
56
|
+
require_paths:
|
57
|
+
- lib
|
58
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
requirements: []
|
69
|
+
rubygems_version: 3.0.6
|
70
|
+
signing_key:
|
71
|
+
specification_version: 4
|
72
|
+
summary: Page Libraries for GitLab.com
|
73
|
+
test_files: []
|