hairballs 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.md +49 -34
- data/README.md +2 -0
- data/lib/hairballs/plugins/interesting_methods.rb +7 -8
- data/lib/hairballs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f595d5cee9832427199aed6d743fa45841ba0f4
|
|
4
|
+
data.tar.gz: d9b4e863b96a0916fa18b213b42928cfa990457f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba2513e8c762e7bb9c58fa08309833a083b50374a61723c8386c08ee76af1a4b6a0214dc095c7f456fdc3dc616886eced84cff2ab53b0c91392e44eef8080aa9
|
|
7
|
+
data.tar.gz: ffa35bc7c5760a6874594fc50605baf34334292dabaa78d3a30f1e908318613c0d5b68be606e5fccae843632d3eecad77b3936119a6096621e16b67c377c3b6f
|
data/History.md
CHANGED
|
@@ -1,34 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## 0.1.3 / 2015-07-13
|
|
4
|
+
|
|
5
|
+
### Improvements
|
|
6
|
+
|
|
7
|
+
* `Ojbect#interesting_methods` now returns uniq Symbols.
|
|
8
|
+
|
|
9
|
+
## 0.1.2 / 2015-04-13
|
|
10
|
+
|
|
11
|
+
### Improvements
|
|
12
|
+
|
|
13
|
+
* Used Rubocop for static analysis and clean-up.
|
|
14
|
+
* Started running tests on travis-ci.
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* [#4](https://github.com/turboladen/hairballs/issues/4) Fixed installing of
|
|
19
|
+
missing plugin/theme dependencies.
|
|
20
|
+
* [#5](https://github.com/turboladen/hairballs/issues/5) Fixed bad use of
|
|
21
|
+
`Hairballs.project_name` everywhere.
|
|
22
|
+
* Fixed bad link to my .irbrc in the README.
|
|
23
|
+
|
|
24
|
+
## 0.1.1 / 2015-04-06
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* Fixed #root_by_git when not in a git director. This would result in
|
|
29
|
+
`NoMethodError: undefined method 'strip' for nil:NilClass`.
|
|
30
|
+
* Plugin: *irb_history* Fixed IRB history for non-project sessions. All IRB
|
|
31
|
+
sessions that don't belong to a project are saved to `~/.irb_history`.
|
|
32
|
+
|
|
33
|
+
## 0.1.0 / 2015-02-18
|
|
34
|
+
|
|
35
|
+
### Improvements
|
|
36
|
+
|
|
37
|
+
* Added `Hairballs.project_root`, which tries to determine the root directory
|
|
38
|
+
for the project you're working in.
|
|
39
|
+
* Refactored configuration to `Hairballs::Configuration`.
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* Fixed `Hairballs::LibraryHelpers#find_latest_gem` to find the latest instead
|
|
44
|
+
of the earliest.
|
|
45
|
+
* Plugin: *tab_completion_for_files* Fixed nested file completion.
|
|
46
|
+
|
|
47
|
+
## 0.0.1 / 2014-12-19
|
|
48
|
+
|
|
49
|
+
### Happy Birthday!
|
data/README.md
CHANGED
|
@@ -8,14 +8,13 @@ Hairballs.add_plugin(:interesting_methods) do |plugin|
|
|
|
8
8
|
Object.class_eval do
|
|
9
9
|
# @return [Array<Symbol>]
|
|
10
10
|
def interesting_methods
|
|
11
|
-
case self.class
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
end
|
|
11
|
+
other_methods = case self.class
|
|
12
|
+
when Class then Object.public_methods
|
|
13
|
+
when Module then Module.public_methods
|
|
14
|
+
else Object.new.public_methods
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
(public_methods.sort - other_methods).uniq
|
|
19
18
|
end
|
|
20
19
|
end
|
|
21
20
|
end
|
data/lib/hairballs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hairballs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steve Loveless
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|