jimothy 0.0.017 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +50 -8
- data/lib/jimothy/the-office-characters.json +0 -112
- data/lib/jimothy.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6688f7f6fab37948882ff0cfded7d852aad3afe55accca03cc058634407f006
|
4
|
+
data.tar.gz: 444dd72e3d39502a0eb1a96cdbf6a10248c6fbe424591ec704ee47263a7b86de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9af755684f5fb2abcf0833dc2a0990cea424101c23159b19f4f77bd4e9301ee8374ed9ede8713a8bf306efa397fee8fb9a232c5502e9ddc249369e15f8df938b
|
7
|
+
data.tar.gz: 7bc9f7add052270324efb6e5a91d298bf4f40a72f1623dc8fa0ecaaed547eb58071c4ac96ed5a08216900e8f885ab5a4f4e399033f3fa223e9f772557b36b4ea
|
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.
|
4
|
+
version: 0.0.20
|
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
|
-
|
14
|
-
|
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
|
@@ -26,6 +67,7 @@ post_install_message:
|
|
26
67
|
rdoc_options: []
|
27
68
|
require_paths:
|
28
69
|
- lib
|
70
|
+
- app
|
29
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
30
72
|
requirements:
|
31
73
|
- - ">="
|
@@ -40,5 +82,5 @@ requirements: []
|
|
40
82
|
rubygems_version: 3.3.7
|
41
83
|
signing_key:
|
42
84
|
specification_version: 4
|
43
|
-
summary: Placeholder Rails users from The Office
|
85
|
+
summary: Placeholder Rails users from The Office.
|
44
86
|
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
|