waldo 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +71 -1
- data/lib/waldo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fc94e59ad3b1093f421a29e63f6f21bdbb8e22a
|
4
|
+
data.tar.gz: 82dc3c15f2fda149a95d8bc325b2715b966d33d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21b5c9db05e9a0ef3545b6663720c5e98e945155eaebb6e3dcefc89075ede6d26b28f17d230fb423ff6c363d68bad901854dd995260597e2273d8671d6a9cf23
|
7
|
+
data.tar.gz: 5c610916956a0605f888f1e39b76665d5fd67f481e027258f5f3af542da2aef9db3e2840549a73de22ebc31a4475cb801f684b644dbc2df0bc7a4c5e892355bc
|
data/README.md
CHANGED
@@ -1,5 +1,76 @@
|
|
1
1
|
# Waldo
|
2
2
|
|
3
|
+
Waldo is a repo meant to show you the process of making your own Ruby gem
|
4
|
+
|
5
|
+
# Process
|
6
|
+
|
7
|
+
## Generate the gem
|
8
|
+
|
9
|
+
`bundle gem waldo`
|
10
|
+
|
11
|
+
## Edit the gemspec file
|
12
|
+
|
13
|
+
```
|
14
|
+
# coding: utf-8
|
15
|
+
lib = File.expand_path('../lib', __FILE__)
|
16
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
17
|
+
require 'waldo/version'
|
18
|
+
|
19
|
+
Gem::Specification.new do |spec|
|
20
|
+
spec.name = "waldo"
|
21
|
+
spec.version = Waldo::VERSION
|
22
|
+
spec.authors = ["Austin Trout"]
|
23
|
+
spec.email = ["trouta23@gmail.com"]
|
24
|
+
|
25
|
+
spec.summary = %q{Waldo is used to learn about making your own gem}
|
26
|
+
spec.homepage = "https://github.com/trouta23/waldo"
|
27
|
+
spec.license = "MIT"
|
28
|
+
|
29
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
30
|
+
spec.bindir = "exe"
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
|
+
spec.require_paths = ["lib"]
|
33
|
+
|
34
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
35
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
## Update the .gitignore file
|
40
|
+
|
41
|
+
```
|
42
|
+
/.bundle/
|
43
|
+
/.yardoc
|
44
|
+
/Gemfile.lock
|
45
|
+
/_yardoc/
|
46
|
+
/coverage/
|
47
|
+
/doc/
|
48
|
+
/pkg/
|
49
|
+
/spec/reports/
|
50
|
+
/tmp/
|
51
|
+
*.gem
|
52
|
+
```
|
53
|
+
|
54
|
+
## Add your code
|
55
|
+
|
56
|
+
## Deploy to GitHub
|
57
|
+
|
58
|
+
## Bundle Local Gemfile
|
59
|
+
|
60
|
+
`bundle install`
|
61
|
+
|
62
|
+
## Generate and Deploy to RubyGems.org
|
63
|
+
|
64
|
+
`bundle exec rake release`
|
65
|
+
|
66
|
+
---
|
67
|
+
|
68
|
+
# What you'll initially see when you initially make your gem
|
69
|
+
|
70
|
+
---
|
71
|
+
|
72
|
+
# Waldo
|
73
|
+
|
3
74
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/waldo`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
75
|
|
5
76
|
TODO: Delete this and the text above, and describe your gem
|
@@ -38,4 +109,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
|
|
38
109
|
## License
|
39
110
|
|
40
111
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
data/lib/waldo/version.rb
CHANGED