File tree 4 files changed +25
-1
lines changed
4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 7
7
remote: https://rubygems.org/
8
8
specs:
9
9
ast (2.3.0 )
10
+ coderay (1.1.1 )
10
11
diff-lcs (1.3 )
12
+ method_source (0.9.0 )
11
13
parser (2.4.0.0 )
12
14
ast (~> 2.2 )
13
15
powerpack (0.1.1 )
16
+ pry (0.11.3 )
17
+ coderay (~> 1.1.0 )
18
+ method_source (~> 0.9.0 )
14
19
rainbow (2.2.1 )
15
20
rake (11.3.0 )
16
21
rspec (3.5.0 )
@@ -40,10 +45,11 @@ PLATFORMS
40
45
41
46
DEPENDENCIES
42
47
bundler (~> 1.14 )
48
+ pry
43
49
rake
44
50
rspec
45
51
rubocop (~> 0.48 )
46
52
vrt !
47
53
48
54
BUNDLED WITH
49
- 1.15.3
55
+ 1.16.0
Original file line number Diff line number Diff line change @@ -21,6 +21,14 @@ rails generate vrt:install
21
21
```
22
22
23
23
## Usage
24
+
25
+ For convenience in development, we provide a utility for spinning up a
26
+ playground for playing with the gem. You can invoke it with:
27
+
28
+ ``` bash
29
+ bin/console
30
+ ```
31
+
24
32
When one has a VRT Classification ID, one can check it's validity:
25
33
``` ruby
26
34
vrt = VRT ::Map .new
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'vrt'
5
+ require 'pry'
6
+
7
+ # An interactive console for the VRT gem
8
+
9
+ Pry . start
Original file line number Diff line number Diff line change @@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
spec . add_development_dependency 'rake'
23
23
spec . add_development_dependency 'rspec'
24
24
spec . add_development_dependency 'rubocop' , '~> 0.48'
25
+ spec . add_development_dependency 'pry'
25
26
end
You can’t perform that action at this time.
0 commit comments