oozou-cli 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/oozou/cli.rb +11 -0
- data/lib/oozou/cli/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: a4a668e4b56060c138b00db554d9f1daf40b5dec
|
|
4
|
+
data.tar.gz: b8efb933e6bc3b781b2d42cea87e775936cf38cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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/
|
|
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
|
data/lib/oozou/cli.rb
CHANGED
|
@@ -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)
|
data/lib/oozou/cli/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2016-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|