bnb_blazer 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/overrides/controllers/blazer/base_controller_override.rb +133 -0
- data/app/views/{blazer → bnb_blazer}/_variables.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/_form.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/edit.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/index.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/new.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/_form.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/edit.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/new.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/show.html.haml +2 -2
- data/app/views/{blazer → bnb_blazer}/queries/_form.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/edit.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/home.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/new.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/run.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/show.html.haml +2 -2
- data/app/views/layouts/{blazer → bnb_blazer}/_footer.html.haml +0 -0
- data/app/views/layouts/{blazer → bnb_blazer}/_navbar.html.haml +0 -0
- data/app/views/layouts/{blazer → bnb_blazer}/application.html.haml +0 -0
- data/lib/{bnb_blazer/bnb_blazer.rb → bnb_blazer.rb} +5 -1
- data/lib/bnb_blazer/engine.rb +5 -0
- data/lib/bnb_blazer/version.rb +1 -1
- metadata +23 -96
- data/.docker-development-vars +0 -1
- data/.gitignore +0 -31
- data/.rspec +0 -3
- data/.ruby-version +0 -1
- data/.travis.yml +0 -6
- data/Gemfile +0 -54
- data/Gemfile.lock +0 -233
- data/LICENSE.txt +0 -21
- data/README.md +0 -35
- data/app/assets/config/manifest.js +0 -3
- data/app/assets/images/.keep +0 -0
- data/app/assets/images/bnb_intel_logo.png +0 -0
- data/app/assets/stylesheets/application.css +0 -83
- data/app/channels/application_cable/channel.rb +0 -4
- data/app/channels/application_cable/connection.rb +0 -4
- data/app/controllers/application_controller.rb +0 -2
- data/app/controllers/concerns/.keep +0 -0
- data/app/helpers/application_helper.rb +0 -2
- data/app/jobs/application_job.rb +0 -2
- data/app/mailers/application_mailer.rb +0 -4
- data/app/models/application_record.rb +0 -3
- data/app/models/concerns/.keep +0 -0
- data/app/models/user.rb +0 -2
- data/bin/bundle +0 -3
- data/bin/console +0 -14
- data/bin/rails +0 -9
- data/bin/rake +0 -9
- data/bin/setup +0 -36
- data/bin/spring +0 -17
- data/bin/update +0 -31
- data/bin/yarn +0 -11
- data/bnb_blazer.gemspec +0 -28
- data/config.ru +0 -5
- data/config/application.rb +0 -19
- data/config/blazer.yml +0 -79
- data/config/boot.rb +0 -4
- data/config/cable.yml +0 -10
- data/config/credentials.yml.enc +0 -1
- data/config/database.yml +0 -19
- data/config/environment.rb +0 -5
- data/config/environments/development.rb +0 -61
- data/config/environments/production.rb +0 -94
- data/config/environments/test.rb +0 -46
- data/config/initializers/application_controller_renderer.rb +0 -8
- data/config/initializers/assets.rb +0 -14
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/content_security_policy.rb +0 -25
- data/config/initializers/cookies_serializer.rb +0 -5
- data/config/initializers/filter_parameter_logging.rb +0 -4
- data/config/initializers/inflections.rb +0 -16
- data/config/initializers/mime_types.rb +0 -4
- data/config/initializers/wrap_parameters.rb +0 -14
- data/config/locales/en.yml +0 -33
- data/config/puma.rb +0 -37
- data/config/routes.rb +0 -3
- data/config/spring.rb +0 -6
- data/config/storage.yml +0 -34
- data/db/migrate/20210309231658_install_blazer.rb +0 -47
- data/db/migrate/20210309231908_create_users.rb +0 -13
- data/db/schema.rb +0 -85
- data/db/seeds.rb +0 -45
- data/docker-compose.yml +0 -22
- data/lib/assets/.keep +0 -0
- data/lib/tasks/.keep +0 -0
- data/log/.keep +0 -0
- data/package.json +0 -5
- data/public/404.html +0 -67
- data/public/422.html +0 -67
- data/public/500.html +0 -66
- data/public/apple-touch-icon-precomposed.png +0 -0
- data/public/apple-touch-icon.png +0 -0
- data/public/favicon.ico +0 -0
- data/public/robots.txt +0 -1
- data/tmp/.keep +0 -0
- data/vendor/.keep +0 -0
data/Gemfile.lock
DELETED
@@ -1,233 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
bnb_blazer (0.1.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
actioncable (5.2.4.5)
|
10
|
-
actionpack (= 5.2.4.5)
|
11
|
-
nio4r (~> 2.0)
|
12
|
-
websocket-driver (>= 0.6.1)
|
13
|
-
actionmailer (5.2.4.5)
|
14
|
-
actionpack (= 5.2.4.5)
|
15
|
-
actionview (= 5.2.4.5)
|
16
|
-
activejob (= 5.2.4.5)
|
17
|
-
mail (~> 2.5, >= 2.5.4)
|
18
|
-
rails-dom-testing (~> 2.0)
|
19
|
-
actionpack (5.2.4.5)
|
20
|
-
actionview (= 5.2.4.5)
|
21
|
-
activesupport (= 5.2.4.5)
|
22
|
-
rack (~> 2.0, >= 2.0.8)
|
23
|
-
rack-test (>= 0.6.3)
|
24
|
-
rails-dom-testing (~> 2.0)
|
25
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
26
|
-
actionview (5.2.4.5)
|
27
|
-
activesupport (= 5.2.4.5)
|
28
|
-
builder (~> 3.1)
|
29
|
-
erubi (~> 1.4)
|
30
|
-
rails-dom-testing (~> 2.0)
|
31
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
32
|
-
activejob (5.2.4.5)
|
33
|
-
activesupport (= 5.2.4.5)
|
34
|
-
globalid (>= 0.3.6)
|
35
|
-
activemodel (5.2.4.5)
|
36
|
-
activesupport (= 5.2.4.5)
|
37
|
-
activerecord (5.2.4.5)
|
38
|
-
activemodel (= 5.2.4.5)
|
39
|
-
activesupport (= 5.2.4.5)
|
40
|
-
arel (>= 9.0)
|
41
|
-
activestorage (5.2.4.5)
|
42
|
-
actionpack (= 5.2.4.5)
|
43
|
-
activerecord (= 5.2.4.5)
|
44
|
-
marcel (~> 0.3.1)
|
45
|
-
activesupport (5.2.4.5)
|
46
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
47
|
-
i18n (>= 0.7, < 2)
|
48
|
-
minitest (~> 5.1)
|
49
|
-
tzinfo (~> 1.1)
|
50
|
-
arel (9.0.0)
|
51
|
-
autoprefixer-rails (10.2.4.0)
|
52
|
-
execjs
|
53
|
-
bindex (0.8.1)
|
54
|
-
blazer (2.4.2)
|
55
|
-
activerecord (>= 5)
|
56
|
-
chartkick (>= 3.2)
|
57
|
-
railties (>= 5)
|
58
|
-
safely_block (>= 0.1.1)
|
59
|
-
bootsnap (1.7.2)
|
60
|
-
msgpack (~> 1.0)
|
61
|
-
bootstrap (4.6.0)
|
62
|
-
autoprefixer-rails (>= 9.1.0)
|
63
|
-
popper_js (>= 1.14.3, < 2)
|
64
|
-
sassc-rails (>= 2.0.0)
|
65
|
-
builder (3.2.4)
|
66
|
-
byebug (11.1.3)
|
67
|
-
chartkick (3.4.2)
|
68
|
-
concurrent-ruby (1.1.8)
|
69
|
-
crass (1.0.6)
|
70
|
-
errbase (0.2.1)
|
71
|
-
erubi (1.10.0)
|
72
|
-
erubis (2.7.0)
|
73
|
-
execjs (2.7.0)
|
74
|
-
faker (2.16.0)
|
75
|
-
i18n (>= 1.6, < 2)
|
76
|
-
ffi (1.15.0)
|
77
|
-
globalid (0.4.2)
|
78
|
-
activesupport (>= 4.2.0)
|
79
|
-
haml (5.2.1)
|
80
|
-
temple (>= 0.8.0)
|
81
|
-
tilt
|
82
|
-
haml-rails (2.0.1)
|
83
|
-
actionpack (>= 5.1)
|
84
|
-
activesupport (>= 5.1)
|
85
|
-
haml (>= 4.0.6, < 6.0)
|
86
|
-
html2haml (>= 1.0.1)
|
87
|
-
railties (>= 5.1)
|
88
|
-
html2haml (2.2.0)
|
89
|
-
erubis (~> 2.7.0)
|
90
|
-
haml (>= 4.0, < 6)
|
91
|
-
nokogiri (>= 1.6.0)
|
92
|
-
ruby_parser (~> 3.5)
|
93
|
-
i18n (1.8.9)
|
94
|
-
concurrent-ruby (~> 1.0)
|
95
|
-
jquery-rails (4.4.0)
|
96
|
-
rails-dom-testing (>= 1, < 3)
|
97
|
-
railties (>= 4.2.0)
|
98
|
-
thor (>= 0.14, < 2.0)
|
99
|
-
listen (3.1.5)
|
100
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
101
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
102
|
-
ruby_dep (~> 1.2)
|
103
|
-
loofah (2.9.0)
|
104
|
-
crass (~> 1.0.2)
|
105
|
-
nokogiri (>= 1.5.9)
|
106
|
-
mail (2.7.1)
|
107
|
-
mini_mime (>= 0.1.1)
|
108
|
-
marcel (0.3.3)
|
109
|
-
mimemagic (~> 0.3.2)
|
110
|
-
method_source (1.0.0)
|
111
|
-
mimemagic (0.3.5)
|
112
|
-
mini_mime (1.0.2)
|
113
|
-
mini_portile2 (2.5.0)
|
114
|
-
minitest (5.14.4)
|
115
|
-
msgpack (1.4.2)
|
116
|
-
nio4r (2.5.7)
|
117
|
-
nokogiri (1.11.1)
|
118
|
-
mini_portile2 (~> 2.5.0)
|
119
|
-
racc (~> 1.4)
|
120
|
-
pg (1.2.3)
|
121
|
-
popper_js (1.16.0)
|
122
|
-
puma (5.2.2)
|
123
|
-
nio4r (~> 2.0)
|
124
|
-
racc (1.5.2)
|
125
|
-
rack (2.2.3)
|
126
|
-
rack-test (1.1.0)
|
127
|
-
rack (>= 1.0, < 3)
|
128
|
-
rails (5.2.4.5)
|
129
|
-
actioncable (= 5.2.4.5)
|
130
|
-
actionmailer (= 5.2.4.5)
|
131
|
-
actionpack (= 5.2.4.5)
|
132
|
-
actionview (= 5.2.4.5)
|
133
|
-
activejob (= 5.2.4.5)
|
134
|
-
activemodel (= 5.2.4.5)
|
135
|
-
activerecord (= 5.2.4.5)
|
136
|
-
activestorage (= 5.2.4.5)
|
137
|
-
activesupport (= 5.2.4.5)
|
138
|
-
bundler (>= 1.3.0)
|
139
|
-
railties (= 5.2.4.5)
|
140
|
-
sprockets-rails (>= 2.0.0)
|
141
|
-
rails-dom-testing (2.0.3)
|
142
|
-
activesupport (>= 4.2.0)
|
143
|
-
nokogiri (>= 1.6)
|
144
|
-
rails-html-sanitizer (1.3.0)
|
145
|
-
loofah (~> 2.3)
|
146
|
-
railties (5.2.4.5)
|
147
|
-
actionpack (= 5.2.4.5)
|
148
|
-
activesupport (= 5.2.4.5)
|
149
|
-
method_source
|
150
|
-
rake (>= 0.8.7)
|
151
|
-
thor (>= 0.19.0, < 2.0)
|
152
|
-
rake (13.0.3)
|
153
|
-
rb-fsevent (0.10.4)
|
154
|
-
rb-inotify (0.10.1)
|
155
|
-
ffi (~> 1.0)
|
156
|
-
ruby_dep (1.5.0)
|
157
|
-
ruby_parser (3.15.1)
|
158
|
-
sexp_processor (~> 4.9)
|
159
|
-
safely_block (0.3.0)
|
160
|
-
errbase (>= 0.1.1)
|
161
|
-
sass (3.7.4)
|
162
|
-
sass-listen (~> 4.0.0)
|
163
|
-
sass-listen (4.0.0)
|
164
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
165
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
166
|
-
sass-rails (5.1.0)
|
167
|
-
railties (>= 5.2.0)
|
168
|
-
sass (~> 3.1)
|
169
|
-
sprockets (>= 2.8, < 4.0)
|
170
|
-
sprockets-rails (>= 2.0, < 4.0)
|
171
|
-
tilt (>= 1.1, < 3)
|
172
|
-
sassc (2.4.0)
|
173
|
-
ffi (~> 1.9)
|
174
|
-
sassc-rails (2.1.2)
|
175
|
-
railties (>= 4.0.0)
|
176
|
-
sassc (>= 2.0)
|
177
|
-
sprockets (> 3.0)
|
178
|
-
sprockets-rails
|
179
|
-
tilt
|
180
|
-
sexp_processor (4.15.2)
|
181
|
-
spring (2.1.1)
|
182
|
-
spring-watcher-listen (2.0.1)
|
183
|
-
listen (>= 2.7, < 4.0)
|
184
|
-
spring (>= 1.2, < 3.0)
|
185
|
-
sprockets (3.7.2)
|
186
|
-
concurrent-ruby (~> 1.0)
|
187
|
-
rack (> 1, < 3)
|
188
|
-
sprockets-rails (3.2.2)
|
189
|
-
actionpack (>= 4.0)
|
190
|
-
activesupport (>= 4.0)
|
191
|
-
sprockets (>= 3.0.0)
|
192
|
-
temple (0.8.2)
|
193
|
-
thor (1.1.0)
|
194
|
-
thread_safe (0.3.6)
|
195
|
-
tilt (2.0.10)
|
196
|
-
tzinfo (1.2.9)
|
197
|
-
thread_safe (~> 0.1)
|
198
|
-
uglifier (4.2.0)
|
199
|
-
execjs (>= 0.3.0, < 3)
|
200
|
-
web-console (3.7.0)
|
201
|
-
actionview (>= 5.0)
|
202
|
-
activemodel (>= 5.0)
|
203
|
-
bindex (>= 0.4.0)
|
204
|
-
railties (>= 5.0)
|
205
|
-
websocket-driver (0.7.3)
|
206
|
-
websocket-extensions (>= 0.1.0)
|
207
|
-
websocket-extensions (0.1.5)
|
208
|
-
|
209
|
-
PLATFORMS
|
210
|
-
ruby
|
211
|
-
|
212
|
-
DEPENDENCIES
|
213
|
-
blazer
|
214
|
-
bnb_blazer!
|
215
|
-
bootsnap (>= 1.1.0)
|
216
|
-
bootstrap (~> 4.6.0)
|
217
|
-
byebug
|
218
|
-
faker
|
219
|
-
haml-rails
|
220
|
-
jquery-rails
|
221
|
-
listen (>= 3.0.5, < 3.2)
|
222
|
-
pg
|
223
|
-
puma
|
224
|
-
rails (~> 5.2.4, >= 5.2.4.5)
|
225
|
-
sass-rails (~> 5.0)
|
226
|
-
spring
|
227
|
-
spring-watcher-listen (~> 2.0.0)
|
228
|
-
tzinfo-data
|
229
|
-
uglifier (>= 1.3.0)
|
230
|
-
web-console (>= 3.3.0)
|
231
|
-
|
232
|
-
BUNDLED WITH
|
233
|
-
1.17.2
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2021 Joe
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/README.md
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
# BnbBlazer
|
2
|
-
|
3
|
-
Welcome to BNB Blazer! This is a gem wrapper for the [Blazer](https://github.com/ankane/blazer) query tool designed specifically for BNB projects. In this directory, you'll find the files you need to edit the behavior/appearance of this gem. Additionally, you can spin up the test app to experiment with the appearance of the tool. Put your Ruby code in the file `lib/bnb_blazer`.
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
To use this wrapper in conjunction with Blazer, add this block to your application's Gemfile:
|
8
|
-
|
9
|
-
```ruby
|
10
|
-
gem "blazer"
|
11
|
-
gem "bnb_blazer"
|
12
|
-
```
|
13
|
-
|
14
|
-
And then execute:
|
15
|
-
|
16
|
-
$ bundle install
|
17
|
-
|
18
|
-
## Development
|
19
|
-
|
20
|
-
This gem comes bundled with a test app to help you test out new display designs with pre-populated blazer queries. To get the environment up and running:
|
21
|
-
|
22
|
-
1. Clone this repo down to your machine
|
23
|
-
2. Make sure you have [Dip](https://github.com/brandnewbox/bnb-dip-defaults) installed and configured
|
24
|
-
3. In your new `bnb_blazer` directory, run `docker-compose up`
|
25
|
-
4. Once all your containers have spun up, run `dip setup`
|
26
|
-
5. Navigate to http://localhost:300/blazer in your browser, and away you go!
|
27
|
-
|
28
|
-
## Contributing
|
29
|
-
|
30
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/brandnewbox/bnb_blazer.
|
31
|
-
|
32
|
-
|
33
|
-
## License
|
34
|
-
|
35
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/app/assets/images/.keep
DELETED
File without changes
|
Binary file
|
@@ -1,83 +0,0 @@
|
|
1
|
-
|
2
|
-
body {
|
3
|
-
background-color: #D3D3D3;
|
4
|
-
}
|
5
|
-
|
6
|
-
table{
|
7
|
-
table-layout: fixed;
|
8
|
-
}
|
9
|
-
|
10
|
-
.blazer-content {
|
11
|
-
padding-bottom: 2.5rem;
|
12
|
-
}
|
13
|
-
|
14
|
-
#footer {
|
15
|
-
position: relative;
|
16
|
-
bottom: 0;
|
17
|
-
width: 100%;
|
18
|
-
}
|
19
|
-
|
20
|
-
#results * {
|
21
|
-
background-color: #f5f5f5;
|
22
|
-
padding-left: 10px;
|
23
|
-
padding-right: 10px;
|
24
|
-
}
|
25
|
-
|
26
|
-
.results-container {
|
27
|
-
margin-top: 20px;
|
28
|
-
}
|
29
|
-
|
30
|
-
#branded-table {
|
31
|
-
background-color: #f5f5f5;
|
32
|
-
}
|
33
|
-
|
34
|
-
.chart-container {
|
35
|
-
background-color: #f5f5f5;
|
36
|
-
padding-top: 10px;
|
37
|
-
padding-bottom: 10px;
|
38
|
-
}
|
39
|
-
|
40
|
-
.navbar-default .navbar-nav > li > a {
|
41
|
-
color: #373737;
|
42
|
-
font-size: 18px;
|
43
|
-
}
|
44
|
-
|
45
|
-
.navbar-default .navbar-toggle .icon-bar {
|
46
|
-
background-color: #2EB1E6;
|
47
|
-
}
|
48
|
-
|
49
|
-
.dropdown {
|
50
|
-
background-color: #606060;
|
51
|
-
}
|
52
|
-
|
53
|
-
.btn-default {
|
54
|
-
background-color: #f8f8f8;
|
55
|
-
border-color: #f8f8f8;
|
56
|
-
color: #373737;
|
57
|
-
font-size: 18px;
|
58
|
-
}
|
59
|
-
|
60
|
-
.btn-default:hover {
|
61
|
-
color: #2EB1E6;
|
62
|
-
background-color: #f8f8f8;
|
63
|
-
border-color:#2EB1E6;
|
64
|
-
}
|
65
|
-
|
66
|
-
.btn-group > .btn + .dropdown-toggle:hover {
|
67
|
-
background-color: #f8f8f8;
|
68
|
-
border-color:#2EB1E6;
|
69
|
-
}
|
70
|
-
|
71
|
-
.btn-group.open .dropdown-toggle {
|
72
|
-
background-color: #f8f8f8;
|
73
|
-
border-color:#2EB1E6;
|
74
|
-
}
|
75
|
-
|
76
|
-
.navbar-default .navbar-nav > .open > a {
|
77
|
-
background-color: #f8f8f8;
|
78
|
-
border-color:#2EB1E6;
|
79
|
-
}
|
80
|
-
|
81
|
-
.navbar-nav .btn-group {
|
82
|
-
margin-top: 8px;
|
83
|
-
}
|
File without changes
|
data/app/jobs/application_job.rb
DELETED
data/app/models/concerns/.keep
DELETED
File without changes
|
data/app/models/user.rb
DELETED
data/bin/bundle
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "bnb_blazer"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|