jimothy 0.0.34 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/jimothy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af09e006b5a25ef95862f11ab685b6b76c532459ef064218559072d0ca059ba6
|
4
|
+
data.tar.gz: a3c4ab9e046405700c206b6c88d3854fe4247d0b68050ae8304802f934866013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc1a3e10a6c3408331b9c27c975677426a21716f26ec8d9833630260e3587df00ee781a329afbad2d87d88ec9e1cab70c2c3df0f321f503bfbd978c5e64b8afe
|
7
|
+
data.tar.gz: df8be05afda1c07c9f9e79c82dd8a3835a5128b74b0fb72d55c498082512c79f90e7bd72d7f22275dac9bf477b73524c4d9f2b3602c1ab784dc77c63f0295476
|
data/README.md
CHANGED
@@ -16,6 +16,7 @@ This is obviously a (much) less robust version of something like Faker (https://
|
|
16
16
|
- Run `bundle install`
|
17
17
|
- Run `rails g jimothy:install`
|
18
18
|
- This will scaffold user model/views, import images, seed users and add an image tag to the user view's `_user.html.erb` partial.
|
19
|
+
- Run `rails server` and open `http://127.0.0.1:3000/users` - you should see the users from The Office.
|
19
20
|
|
20
21
|
## Usage (Slow, Doing Everything By Hand)
|
21
22
|
- Add `gem "jimothy"` to your `Gemfile`
|
@@ -32,7 +33,7 @@ Jimothy::seed_users
|
|
32
33
|
```
|
33
34
|
- Run `rails db:seed`
|
34
35
|
- In `app/views/users/_user.html.erb`, change `<%= user.image %>` to `<%= image_tag user.image %>`
|
35
|
-
- Run `rails server` and go to `http://127.0.0.1:3000/users`
|
36
|
+
- Run `rails server` and go to `http://127.0.0.1:3000/users` - you should see the users from The Office.
|
36
37
|
|
37
38
|
## Details
|
38
39
|
- Main methods (`seed_users`, etc) are in `lib/jimothy.rb`
|
data/lib/jimothy/version.rb
CHANGED