raboot 0.1.1 → 0.1.2
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 +2 -2
- data/lib/raboot/cli.rb +1 -1
- data/lib/raboot/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: 2a3b6ff063d8acf8151d698dca55cc199ab9ab95
|
|
4
|
+
data.tar.gz: 40acb46364125a55b6caebcdd1b79b6e92e6f9bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2513e14150137d069c7008380e6143bdefef247b75e41e270d09b429d0bef95a81056f3a3c5db8406c5ff17e03215967b854db5f72e1ce02f936ab0cd80dd128
|
|
7
|
+
data.tar.gz: 06a5a8ee6c3f6c10ff09fdffd5c83bc1a7aafca3854a5f3f3d32f8d08dc30b7f5a6d30e8c4e1c497bd22ba0dac4c77735daa418ecc4bb8a533d8bca34a122080
|
data/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Raboot
|
|
2
|
-
At the beginning of Ruby on Rails application development, developers need to set up gem etc. It makes me feel lazy. Raboot
|
|
2
|
+
At the beginning of Ruby on Rails application development, developers need to set up gem etc. It makes me feel lazy. Raboot set up new rails app by copying from already existed rails app as a template. By default, it use ```~/.raboot``` as a template.
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
@@ -9,7 +9,7 @@ $ gem install raboot
|
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
|
-
It is necessary to prepare an rails application to be a template in
|
|
12
|
+
It is necessary to prepare an rails application to be a template in ```~/.raboot```.
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
$ raboot new <new_rails_app_name>
|
data/lib/raboot/cli.rb
CHANGED
|
@@ -20,7 +20,7 @@ module Raboot
|
|
|
20
20
|
desc 'new', 'Generate a new Rails app from template'
|
|
21
21
|
def new(name)
|
|
22
22
|
if validate_name?(name)
|
|
23
|
-
template_path = File.expand_path('
|
|
23
|
+
template_path = File.expand_path('~/.raboot/*')
|
|
24
24
|
FileUtils.mkdir(name)
|
|
25
25
|
FileUtils.cp_r(Dir.glob(template_path), name)
|
|
26
26
|
rename_app(name)
|
data/lib/raboot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: raboot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tkmru
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|