hairballs 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b451d9dca035b8a31711f51857d34261b6289a1
4
- data.tar.gz: 7e9a82d17a90212e503183b3218fb7abba4d051c
3
+ metadata.gz: 6f595d5cee9832427199aed6d743fa45841ba0f4
4
+ data.tar.gz: d9b4e863b96a0916fa18b213b42928cfa990457f
5
5
  SHA512:
6
- metadata.gz: 94b9f0bd9412d2f17f2eb9e138298a9e02538c4c26e250856dc8c4de8a2c93fa7b5837a73d7c24a35cdcc3363d371da7e84f941fdb66ab637b8a37851a5e1ffc
7
- data.tar.gz: ab973a795b79ab3b37e62fdbd45842a39b1a84754b3922d8c66f9566bba03221c7e7fec7350bad057ee11afa3629c37e673d04cf847783ce4f14a82a9866bbe3
6
+ metadata.gz: ba2513e8c762e7bb9c58fa08309833a083b50374a61723c8386c08ee76af1a4b6a0214dc095c7f456fdc3dc616886eced84cff2ab53b0c91392e44eef8080aa9
7
+ data.tar.gz: ffa35bc7c5760a6874594fc50605baf34334292dabaa78d3a30f1e908318613c0d5b68be606e5fccae843632d3eecad77b3936119a6096621e16b67c377c3b6f
data/History.md CHANGED
@@ -1,34 +1,49 @@
1
- ### 0.1.2 / 2015-04-13
2
-
3
- * Improvements
4
- * Used Rubocop for static analysis and clean-up.
5
- * Started running tests on travis-ci.
6
- * Bug Fixes
7
- * [#4](https://github.com/turboladen/hairballs/issues/4) Fixed installing of
8
- missing plugin/theme dependencies.
9
- * [#5](https://github.com/turboladen/hairballs/issues/5) Fixed bad use of
10
- `Hairballs.project_name` everywhere.
11
- * Fixed bad link to my .irbrc in the README.
12
-
13
- ### 0.1.1 / 2015-04-06
14
-
15
- * Bug Fixes
16
- * Fixed #root_by_git when not in a git director. This would result in
17
- `NoMethodError: undefined method 'strip' for nil:NilClass`.
18
- * Plugin: *irb_history* Fixed IRB history for non-project sessions. All IRB
19
- sessions that don't belong to a project are saved to `~/.irb_history`.
20
-
21
- ### 0.1.0 / 2015-02-18
22
-
23
- * Improvements
24
- * Added `Hairballs.project_root`, which tries to determine the root
25
- directory for the project you're working in.
26
- * Refactored configuration to `Hairballs::Configuration`.
27
- * Bug Fixes
28
- * Fixed `Hairballs::LibraryHelpers#find_latest_gem` to find the latest
29
- instead of the earliest.
30
- * Plugin: *tab_completion_for_files* Fixed nested file completion.
31
-
32
- ### 0.0.1 / 2014-12-19
33
-
34
- * Happy Birthday!
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
@@ -1,6 +1,8 @@
1
1
  hairballs
2
2
  =========
3
3
 
4
+ [![Build Status](https://travis-ci.org/turboladen/hairballs.svg?branch=develop)](https://travis-ci.org/turboladen/hairballs)
5
+
4
6
  Aka, "haIRBalls". Like [oh-my-zsh](http://ohmyz.sh), but for IRB.
5
7
 
6
8
  wat
@@ -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
- when Class
13
- public_methods.sort - Object.public_methods
14
- when Module
15
- public_methods.sort - Module.public_methods
16
- else
17
- public_methods.sort - Object.new.public_methods
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
@@ -1,4 +1,4 @@
1
1
  class Hairballs
2
2
  # @return [String]
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
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.2
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-04-14 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler