chulai 0.1.1 → 0.1.2

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: d2ea42ec70f7b51d360bba9e27e1083f4321616c
4
- data.tar.gz: 6880e4789418b7c37f4d83cf6f8e4177cacf168a
3
+ metadata.gz: 9090a06b5be8075828a567c5cb6dad4789602a0f
4
+ data.tar.gz: a7b19877c6cbcc533b93854a91cb725d75ab409a
5
5
  SHA512:
6
- metadata.gz: 373b3d4d8c70e62585bdb31c3aa70ff3009593e5e268f7d02529a737b9204335102bc68703a8ba3ae38b942ece39df840475a3c28d29fc91e2f24ce937dbfbb0
7
- data.tar.gz: c569a06c090d986ac6706e910d00b37edd5277e88ebfe4c28a2ff77ec05d10268a486c00d05de1976351f55871f2edd5a0941650308557cde0f3bd3a1566aca1
6
+ metadata.gz: 4b734b52faf4759186722cd24cd98df63363e41ae2ba57f36a47d1a548d1a91e04efc39190a19e08f5481361f5c2f40de3ca6ad0ae0bf30fb8fded70d8425e69
7
+ data.tar.gz: b0a5c69d04992cf687fef476882ff502be98f0602550e545c24dcd87c52127d666db0042eeccdd849679da93af6b7978302944384745f1cbb095d282e30cbc34
data/README.md CHANGED
@@ -1,29 +1,32 @@
1
1
  # Chulai
2
2
 
3
- TODO: Write a gem description
3
+ Rails PaaS
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
7
+ gem install chulai
8
8
 
9
- gem 'chulai'
9
+ ## How to
10
10
 
11
- And then execute:
11
+ sign up on http://wo.chulai.la/
12
12
 
13
- $ bundle
13
+ # create a new rails app
14
+ rails new example
15
+ cd example
16
+ bundle install
17
+ rails generate scaffold article title:string content:text
18
+ bundle exec rake db:migrate
19
+ cat <<EOF>config/routes.rb
20
+ Rails.application.routes.draw do
21
+ root :to => redirect("/articles")
22
+ resources :articles
23
+ end
24
+ EOF
14
25
 
15
- Or install it yourself as:
26
+ # commit
27
+ git init
28
+ git add .
29
+ git commit -m 'first commit'
16
30
 
17
- $ gem install chulai
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it ( https://github.com/[my-github-username]/chulai/fork )
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Add some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create a new Pull Request
31
+ # deploy with chulai.la
32
+ chulai
@@ -170,15 +170,6 @@ module Chulai
170
170
  exit
171
171
  end
172
172
 
173
- def clean
174
- puts "cleaning"
175
- res = http :post, "/clean.json", identity: @identity
176
- puts res.inspect
177
- rescue => exc
178
- puts "failed to clean old instances: #{exc.to_s}"
179
- exit
180
- end
181
-
182
173
  def open
183
174
  url = "http://#{@username}.#{@name}.#{SUFFIX}"
184
175
  Launchy.open url
@@ -1,3 +1,3 @@
1
1
  module Chulai
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chulai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dong Qingshan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-21 00:00:00.000000000 Z
11
+ date: 2014-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor