jobshop 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -15
- data/lib/jobshop/templates/quick_install.rb +15 -0
- data/lib/jobshop/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 141840179f9b9bb786e75da043b78bccb91458ec
|
4
|
+
data.tar.gz: f421d587ede766d3ebe25a393f7f0c1d65cb3e81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25fd122aedfd97182632133dea5adfac6f4a44aac989d1f9863ee929281c2aa240711f3c044cc6b5376a60d8e46e1553fbd2c0640c787295d290975283e03b6b
|
7
|
+
data.tar.gz: 797eb299ae0721f1e31f5babdd33db3ea58c964111472652dcfd27ab1baa7506fa93d8f782ce039fc7df8795bc78824760b3966145cd8d1d429d3e84914dba15
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ are always welcome.
|
|
28
28
|
First, generate a new rails app and target the PostgreSQL adapter.
|
29
29
|
|
30
30
|
```console
|
31
|
-
$ rails new my_jobshop --database=postgresql
|
31
|
+
$ rails new my_jobshop --database=postgresql -m https://templates.jobshop.io/quick_install.rb
|
32
32
|
```
|
33
33
|
|
34
34
|
Change into the app directory.
|
@@ -37,28 +37,16 @@ Change into the app directory.
|
|
37
37
|
$ cd my_jobshop
|
38
38
|
```
|
39
39
|
|
40
|
-
Add jobshop to the application `Gemfile`.
|
41
|
-
|
42
|
-
```ruby
|
43
|
-
gem "jobshop", "~> 0.0.5"
|
44
|
-
```
|
45
|
-
|
46
|
-
Bundle install the application's dependencies.
|
47
|
-
|
48
|
-
```console
|
49
|
-
$ bundle install
|
50
|
-
```
|
51
|
-
|
52
40
|
`config/database.yml` should work out of the box however you should review it
|
53
41
|
and edit as necessary. Create the database.
|
54
42
|
|
55
43
|
```console
|
56
|
-
$
|
44
|
+
$ rails db:create
|
57
45
|
```
|
58
46
|
Run the newly pending migrations.
|
59
47
|
|
60
48
|
```console
|
61
|
-
$
|
49
|
+
$ rails db:migrate
|
62
50
|
```
|
63
51
|
|
64
52
|
Fire up your server with `$ rails s` and point your web browser to
|
@@ -0,0 +1,15 @@
|
|
1
|
+
def source_paths
|
2
|
+
[ File.expand_path(File.dirname(__FILE__)) ]
|
3
|
+
end
|
4
|
+
|
5
|
+
# Add jobshop to the application `Gemfile`.
|
6
|
+
gem "jobshop", "~> 0.0.7"
|
7
|
+
|
8
|
+
# The generated config/secrets.yml file uses hardcoded values for
|
9
|
+
# test/development environments. Generate secrets pragmatically.
|
10
|
+
remove_file "config/secrets.yml"
|
11
|
+
copy_file "secrets.yml.tt", "config/secrets.yml"
|
12
|
+
|
13
|
+
after_bundle do
|
14
|
+
route %Q(mount Jobshop::Engine => "/")
|
15
|
+
end
|
data/lib/jobshop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jobshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank J. Mattia
|
@@ -350,6 +350,7 @@ files:
|
|
350
350
|
- lib/jobshop/support/memo_attr.rb
|
351
351
|
- lib/jobshop/templates/boot.rb.tt
|
352
352
|
- lib/jobshop/templates/dummy_template.rb
|
353
|
+
- lib/jobshop/templates/quick_install.rb
|
353
354
|
- lib/jobshop/templates/secrets.yml.tt
|
354
355
|
- lib/jobshop/version.rb
|
355
356
|
- lib/tasks/jobshop_tasks.rake
|