pry-objects 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 +8 -8
- data/README.md +15 -25
- data/lib/pry-objects/version.rb +13 -1
- data/pry-objects.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODcxMzY2NjlhNGUwNzdkMTg2YjRhYTdmN2UzYzcxNWE1MDE2NDI1YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Zjc1NjcyYjNmMTczYWYyMjhhNDM2MjFhZDcxMWQ0MzAyZjQwYTkwNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWNiODNiNDQ4M2E1MTAwM2U1ZTFiMDExNDQwNGI1NzU4ZWE5YmY2ODc2MTg0
|
10
|
+
NTY2MzE4OWFhYjU1OTQ5MDYxYjVkNDZhNmIwNmU4N2E5Y2RkYjljNjAxNGUx
|
11
|
+
YzhkNWNkMWZkNWFmYmQ5MWJkNWY0NGY0MDIwMTVjZjFlYmMxZDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWU1Y2M3YjY4Y2Y4YmUxZTAwZDY5ZjQ4YTZhOGExNTY1Yjc1ODg0NDM2YTEw
|
14
|
+
YzJlNTk3OGQ2YmRjMWRiOGU4YTBjMDNiOGMwZGMzZjc4MDkwMTcxYjc5NzU4
|
15
|
+
MzdiMTkwNTc5MzFiODkyM2NmZDllNzc2ZDUyMWUyZDA5MzQwNDc=
|
data/README.md
CHANGED
@@ -1,36 +1,26 @@
|
|
1
|
-
#
|
1
|
+
# pry-objects
|
2
2
|
|
3
|
-
|
3
|
+
Evaluates expression and prints created objects.
|
4
4
|
|
5
|
-
|
5
|
+
```
|
6
|
+
$ pry
|
7
|
+
[1] pry(main)> string = 'hello hello'
|
8
|
+
[2] pry(main)> objects string.gsub('e', 'a')
|
9
|
+
=> ["hello hello", #<MatchData "e">, "hello hello", "hallo hallo", "hello hello", "e", "a", "e"]
|
10
|
+
[3] pry(main)> objects string.tr('e', 'a')
|
11
|
+
=> ["hallo hallo", "a", "e"]
|
12
|
+
```
|
6
13
|
|
7
14
|
## Installation
|
8
15
|
|
9
|
-
|
16
|
+
Install the gem globally or inside the `:development` group of your gemfile
|
10
17
|
|
11
|
-
```ruby
|
12
|
-
gem 'pry-objects'
|
13
18
|
```
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install pry-objects
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
19
|
+
gem install pry
|
20
|
+
gem install pry-objects
|
21
|
+
```
|
32
22
|
|
33
23
|
## Contributing
|
34
24
|
|
35
|
-
Bug reports and pull requests are welcome on
|
25
|
+
Bug reports and pull requests are welcome on github at https://github.com/akuhn/pry-objects
|
36
26
|
|
data/lib/pry-objects/version.rb
CHANGED
data/pry-objects.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["adrian.kuhn@airbnb.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Evaluate expression and print created objects.}
|
13
|
-
spec.homepage = "https://github.com/akuhn/pry-
|
13
|
+
spec.homepage = "https://github.com/akuhn/pry-objects"
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
16
|
spec.bindir = "exe"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Kuhn
|
@@ -27,7 +27,7 @@ files:
|
|
27
27
|
- lib/pry-objects.rb
|
28
28
|
- lib/pry-objects/version.rb
|
29
29
|
- pry-objects.gemspec
|
30
|
-
homepage: https://github.com/akuhn/pry-
|
30
|
+
homepage: https://github.com/akuhn/pry-objects
|
31
31
|
licenses: []
|
32
32
|
metadata: {}
|
33
33
|
post_install_message:
|