oozou-cli 0.1.0 → 0.1.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: e72b9f0e6d7f5e402fc6576082c9b05d8b43c4f9
4
- data.tar.gz: 31871f8891df3eba63c745cdd8757be64f4cd7b5
3
+ metadata.gz: a4a668e4b56060c138b00db554d9f1daf40b5dec
4
+ data.tar.gz: b8efb933e6bc3b781b2d42cea87e775936cf38cb
5
5
  SHA512:
6
- metadata.gz: b104ab84ad80a1fcd3b2fdd73b88cba5f2d6ed58eeb394a9cb5107c799f25d55fe615bbfae06db2d9bb15b7672e9b347cc3b463dcbc9965d408e9df957830ebe
7
- data.tar.gz: 38f8697c5b8682f16e763892c265b25f94bbdd12a52e426b34279eea5fb2ec4fcff80b2f94969a6869c0757c34eb5f1bb0c99849a989d394b1bf307515121016
6
+ metadata.gz: 376c8e4de791ef50a440ddedb1d76f08b3ddf78377733375ed73d4ddb87fd329f65c55afe2be42cbe7cc43c25d3e678ec5272cd3dfd7ffd362da2e79a101d16d
7
+ data.tar.gz: 67f97b9dc0a7711a5b374437ef97d85671b6f2cf656f286109a58049662c3772121916cbf5a407ba386154ce1bd0f7e63cfbcfa5a457c184ff0ac5c5068f2c5f
data/README.md CHANGED
@@ -30,7 +30,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
30
30
 
31
31
  ## Contributing
32
32
 
33
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/oozou-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/oozou/oozou-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
34
 
35
35
 
36
36
  ## License
@@ -23,6 +23,17 @@ module Oozou
23
23
  end
24
24
  puts ".oozou created successfully"
25
25
  end
26
+
27
+ desc "new APP_NAME", "Create a new app, based on rails template"
28
+ def new(app_name)
29
+ fail "APP_NAME is missing" if app_name.nil?
30
+ `mkdir #{app_name} &&
31
+ cd #{app_name} &&
32
+ git clone git@github.com:oozou/rails-template.git --single-branch ./ &&
33
+ git remote rename origin template &&
34
+ git remote add origin git@github.com:oozou/#{app_name}.git &&
35
+ git checkout -b develop`
36
+ end
26
37
  end
27
38
 
28
39
  def self.config(key)
@@ -1,5 +1,5 @@
1
1
  module Oozou
2
2
  module CLI
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oozou-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Constantin Hofstetter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor