jimothy 0.0.34 → 1.0.001

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -3
  3. data/lib/jimothy/version.rb +1 -1
  4. metadata +5 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4420439db60d5fa2d2aec818cba4c0c63b0cf6fc342b703eee0196757071ea3
4
- data.tar.gz: 9facbe2f644fb523c087d5cb90815775bc127fab816c66556bd4a57ed13664c7
3
+ metadata.gz: 3449c2e563d203444526d05f5740d8d0b7a484a5eb88dce2362c7275e6bd4ccf
4
+ data.tar.gz: 976d694f3854574fba19992a6f90230be1aa0be73d1089b362b1d9b7c29d0993
5
5
  SHA512:
6
- metadata.gz: 9643cb22e85a3451fd998128020532c71660275a24787d03bdaa3b53ee8f58aad0d91d4ace9ae692208c9e3d158e4ddb21225242b8b37a365693491e84952172
7
- data.tar.gz: 5907c72c488575a587584c83402fe01327e63e841bc781e0df48134d081320895a81a3f8bffa8bc09ecc37fc84da90a993b65c10008570b9c60a5bb880592b13
6
+ metadata.gz: 37ae2a52918aaa37e3fcf60887d8c5d4564fc364fadd9737a2c8b126bf3bf4e1abbf164657e73a2774f57ac1cbf560d50818af826cac156c51c8a5813c1ee6b4
7
+ data.tar.gz: 870da2ecfb8778c6be4f3b94f6494b4a5568cd8f365c1ae0b3fe532da0ab960309d2eabad44445165d1471930ac86c03d56e355e06b71e8c7e9f631927d93fb2
data/README.md CHANGED
@@ -5,17 +5,18 @@ Placeholder user data from The Office
5
5
 
6
6
  ## What This Does
7
7
 
8
- Quickly seed amusing placeholder user data for your rails toy app or prototype app. Generate the names, emails and profile pictures of eighteen characters from The Office.
8
+ Quickly seed placeholder user data for your Rails toy app or prototype app. Generate the names, emails and profile pictures of eighteen characters from The Office.
9
9
 
10
10
  ## Why
11
11
 
12
- This is obviously a (much) less robust version of something like Faker (https://github.com/faker-ruby/faker). But I built it to be more reliable than Faker, with more solid data. Faker is great for what it does, but if you generate users from TV data, sometimes users get weird names like "Skinny Pete", where "Pete" isn't really a last name and it can mess up your data. Yeah it's just placeholder data, but we want it to look right.
12
+ This is a (much) less robust version of something like Faker (https://github.com/faker-ruby/faker). But I built it to be more reliable than Faker, with more solid data. Faker is great for what it does, but if you generate users from TV data, sometimes users get weird names like "Skinny Pete", where "Pete" isn't really a last name and it can mess up your data. Yeah it's just placeholder data, but we want it to look right.
13
13
 
14
14
  ## Usage (Quick, Using Custom Generator)
15
15
  - Add `gem "jimothy"` to your `Gemfile`
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`
@@ -1,3 +1,3 @@
1
1
  module Jimothy
2
- VERSION = "0.0.34"
2
+ VERSION = "1.0.001"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jimothy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 1.0.001
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark McDermott
@@ -24,7 +24,9 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 7.0.4.2
27
- description: Placeholder Rails users from The Office
27
+ description: Quickly seed placeholder user data for your Rails toy app or prototype
28
+ app. Generate the names, emails and profile pictures of eighteen characters from
29
+ The Office.
28
30
  email:
29
31
  - mark@markmcdermott.io
30
32
  executables: []
@@ -67,7 +69,7 @@ files:
67
69
  - lib/jimothy/the-office-characters.json
68
70
  - lib/jimothy/version.rb
69
71
  - lib/tasks/jimothy_tasks.rake
70
- homepage: https://rubygems.org/gems/jimothy
72
+ homepage: https://github.com/mark-mcdermott/jimothy/
71
73
  licenses:
72
74
  - MIT
73
75
  metadata: {}