lolp 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/lolp/project.rb +2 -2
- data/lib/lolp/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: 06211ad50dea46a165db75b6366faac072ea603e
|
4
|
+
data.tar.gz: ea05b85aadd33fe4c5b70b1f99e1493032c7649d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d7c72e65adb59897cce3ec79bce9f4c65505a793d1ef3b2d916fb72a60367130e9df7c5ef31a0c45dfb068e5cbd81b3e542571efb3221dab045cdd1f530e43
|
7
|
+
data.tar.gz: 2999e2153e4667b49ca7cb9e3a0e6e9d6c635e8aee28aa066163d526ba9421b47ca3b20942718459b0c639bec781825a1caf59759d599296be1e8cc9ef3463c3
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ end
|
|
33
33
|
|
34
34
|
```ruby
|
35
35
|
Lolp.projects
|
36
|
-
Lolp.create_project(:rails) # :wordpress, :php, ...
|
36
|
+
Lolp.create_project(:rails, db_password: 'db_password') # :wordpress, :php, ...
|
37
37
|
Lolp.delete_project('jungly-naha-2778')
|
38
38
|
Lolp.create_custom_domain('jungly-naha-2778.lolipop.ohr','example.com')
|
39
39
|
Lolp.delete_custom_domain('jungly-naha-2778.lolipop.ohr','example.com')
|
data/lib/lolp/project.rb
CHANGED
@@ -4,8 +4,8 @@ module Lolp
|
|
4
4
|
connection.get('projects')
|
5
5
|
end
|
6
6
|
|
7
|
-
def create_project(
|
8
|
-
connection.post('projects', params.merge(
|
7
|
+
def create_project(type, params = {})
|
8
|
+
connection.post('projects', params.merge(type: type))
|
9
9
|
end
|
10
10
|
|
11
11
|
def delete_project(name)
|
data/lib/lolp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- linyows
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|