jimothy 0.0.017 → 0.0.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f5f0f6cf83e943bd28f89ca656e9cdec30882184a8a4b1f16d96120fee36097
4
- data.tar.gz: 408b8394993ba71add0f022f5a76d8b574d29c24fedd59647826fbbd3b83fb7b
3
+ metadata.gz: cc4a6f5d54c8030afacd7e8748bd323dec8e264df24b14dbf91831ccfc3f79a8
4
+ data.tar.gz: f5baf7379e69cd6e0a444fa535cd382e4a1df18d9a4cc8946527c6fd762d4ab3
5
5
  SHA512:
6
- metadata.gz: e296cecb05b92d38f2284415c4bb9f8c8e5d491c7c1555d31dd8081d98f4a9eb91facb70e5f4073999e5a11004b9db0d9b249ad09c38ee5ebfb7cbb97655d583
7
- data.tar.gz: 61d57a59181b57271bb77546f0ceda29d7565512a05b453031cc7efe972ec8ae83cfa36a27b2738ac1d1c7d75b03523d2968b55c575d10126ea651180c27a7d7
6
+ metadata.gz: 2b85834da4b1a10812974b7ed9c390a880b425e237144b80baa9bad6cdb96b184eab7e5596bf0e33cf3118257b601e7b5810c99f612806f24a56698821c7e2d2
7
+ data.tar.gz: b784db67f7fb0e6b14f7cdac3d71a0152ef5bf3a00acdd77aecf9aecc96545253a027c63fef036aecc72140e1d0a037a0bcbcfe0fdbc3de31ef4dc49f87c2204
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.017
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark McDermott
@@ -9,15 +9,56 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2023-02-21 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Placeholder Rails users from The Office
14
- email: mark@markmcdermott.io
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '3.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '3.1'
55
+ description:
56
+ email:
57
+ - mark@markmcdermott.io
15
58
  executables: []
16
59
  extensions: []
17
60
  extra_rdoc_files: []
18
- files:
19
- - lib/jimothy.rb
20
- - lib/jimothy/the-office-characters.json
61
+ files: []
21
62
  homepage: https://rubygems.org/gems/jimothy
22
63
  licenses:
23
64
  - MIT
@@ -40,5 +81,5 @@ requirements: []
40
81
  rubygems_version: 3.3.7
41
82
  signing_key:
42
83
  specification_version: 4
43
- summary: Placeholder Rails users from The Office
84
+ summary: Placeholder Rails users from The Office.
44
85
  test_files: []
@@ -1,112 +0,0 @@
1
- {
2
- "users": [
3
- {
4
- "firstname": "Michael",
5
- "lastname": "Scott",
6
- "email": "michaelscott@dundermifflin.com",
7
- "image": "michael-scott.png"
8
- },
9
- {
10
- "firstname": "Jim",
11
- "lastname": "Halpert",
12
- "email": "jimhalpert@dundermifflin.com",
13
- "image": "jim-halpert.png"
14
- },
15
- {
16
- "firstname": "Dwight",
17
- "lastname": "Schrute",
18
- "email": "dwightschrute@dundermifflin.com",
19
- "image": "dwight-schrute.png"
20
- },
21
- {
22
- "firstname": "Pam",
23
- "lastname": "Beesly",
24
- "email": "pambeesly@dundermifflin.com",
25
- "image": "pam-beesly.png"
26
- },
27
- {
28
- "firstname": "Ryan",
29
- "lastname": "Howard",
30
- "email": "ryanhoward@dundermifflin.com",
31
- "image": "ryan-howard.png"
32
- },
33
- {
34
- "firstname": "Andy",
35
- "lastname": "Bernard",
36
- "email": "andybernard@dundermifflin.com",
37
- "image": "andy-bernard.png"
38
- },
39
- {
40
- "firstname": "Kevin",
41
- "lastname": "Malone",
42
- "email": "kevinmalone@dundermifflin.com",
43
- "image": "kevin-malone.png"
44
- },
45
- {
46
- "firstname": "Erin",
47
- "lastname": "Hannon",
48
- "email": "erinhannon@dundermifflin.com",
49
- "image": "erin-hannon.png"
50
- },
51
- {
52
- "firstname": "Angela",
53
- "lastname": "Martin",
54
- "email": "angelamartin@dundermifflin.com",
55
- "image": "angela-martin.png"
56
- },
57
- {
58
- "firstname": "Toby",
59
- "lastname": "Flenderson",
60
- "email": "tobyflenderson@dundermifflin.com",
61
- "image": "toby-flenderson.png"
62
- },
63
- {
64
- "firstname": "Kelly",
65
- "lastname": "Kapoor",
66
- "email": "kellykapoor@dundermifflin.com",
67
- "image": "kelly-kapoor.png"
68
- },
69
- {
70
- "firstname": "Phyllis",
71
- "lastname": "Vance",
72
- "email": "phyllisvance@dundermifflin.com",
73
- "image": "phyllis-vance.png"
74
- },
75
- {
76
- "firstname": "Darryl",
77
- "lastname": "Philbin",
78
- "email": "darrylphilbin@dundermifflin.com",
79
- "image": "darryl-philbin.png"
80
- },
81
- {
82
- "firstname": "Oscar",
83
- "lastname": "Martinez",
84
- "email": "oscarmartinez@dundermifflin.com",
85
- "image": "oscar-martinez.png"
86
- },
87
- {
88
- "firstname": "Ryan",
89
- "lastname": "Howard",
90
- "email": "ryanhoward@dundermifflin.com",
91
- "image": "ryan-howard.png"
92
- },
93
- {
94
- "firstname": "Stanley",
95
- "lastname": "Hudson",
96
- "email": "stanleyhudson@dundermifflin.com",
97
- "image": "stanley-hudson.png"
98
- },
99
- {
100
- "firstname": "Meredith",
101
- "lastname": "Palmer",
102
- "email": "meredithpalmer@dundermifflin.com",
103
- "image": "meredith-palmer.png"
104
- },
105
- {
106
- "firstname": "Creed",
107
- "lastname": "Bratton",
108
- "email": "creedbratton@dundermifflin.com",
109
- "image": "creed-bratton.png"
110
- }
111
- ]
112
- }
data/lib/jimothy.rb DELETED
@@ -1,21 +0,0 @@
1
- require 'json'
2
-
3
- GEM_ROOT = File.expand_path("../..", __FILE__)
4
-
5
- module Jimothy
6
-
7
- class Engine < ::Rails::Engine
8
- end
9
-
10
- def self.get_users
11
- users = JSON.parse(IO.read("#{GEM_ROOT}/lib/jimothy/the-office-characters.json"))['users']
12
- end
13
-
14
- def self.seed_users
15
- users = get_users
16
- users.each do |user|
17
- User.create(name: user['firstname'] + " " + user['lastname'], email: user['email'], image: user['image'])
18
- end
19
- end
20
-
21
- end