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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb1500ac42d14da38d81a8d5521cf0d580125bc4
4
- data.tar.gz: 450ff321402cab445420574c1df406296b13f906
3
+ metadata.gz: 06211ad50dea46a165db75b6366faac072ea603e
4
+ data.tar.gz: ea05b85aadd33fe4c5b70b1f99e1493032c7649d
5
5
  SHA512:
6
- metadata.gz: fcd507fecf933954c0a97751958de93e16a8080ccc2eb81c11e1c8ba29dc0f1a1b8b6ac9968995d4041c585bb629ba8f706431cf7bd583785e7f3b6c050cdc09
7
- data.tar.gz: 98d64a900dc4795bde7867d4a164afdd8432d92a1d17a662f16a622da8c49bd5a7ec82c42d9154f30ff5be04cac7127ca2d00a7eb73dfbe9fc8c0ef4cc9a98c3
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')
@@ -4,8 +4,8 @@ module Lolp
4
4
  connection.get('projects')
5
5
  end
6
6
 
7
- def create_project(template, params = {})
8
- connection.post('projects', params.merge(haco_type: template))
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)
@@ -1,3 +1,3 @@
1
1
  module Lolp
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-24 00:00:00.000000000 Z
11
+ date: 2017-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler