retrospec 0.2.0 → 0.2.1

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: a2cd45726cebda553995e231943a0471f733edf4
4
- data.tar.gz: c5e151d70b8045fc843b30eeb995344b93a91e37
3
+ metadata.gz: 2d3d2153b5ed9d65c43e71ce71653a88908c1617
4
+ data.tar.gz: 32f2c04b51cd9af890afce64a80b047a137f2e80
5
5
  SHA512:
6
- metadata.gz: e32c52220839c540b7a7a6f3461a8b85cfd091a44c49c040c6d1af5e9029ba35b2c3d5c24ff96c4e7fd768c2e4eca7551a34d1372d2f20344f4ec50570b03ae3
7
- data.tar.gz: 51ed46bc2d938f5738f67294b60db40ad2562ce6d3982a87a46dce1c4f04fa8e97d2e4545d22bb49d6260ea7ea99df00fa66b84b9d82d06b60cf4d9d75b37544
6
+ metadata.gz: e6761648c36f88475ef7101863683bc51f59bd4ef6daf71f12e12d30ad4b2e451004f25cc8e32d9ee7a31a314638dd68de5c77f34c857571bb7435af88e1e57c
7
+ data.tar.gz: d314b53bce2f2ba377faa2250277e71343f69c7c5a39c144a5b82b4326f130e4133608554f2535166eeb6477566878870051d6e2510d3ed9d8a5548dbbecd7f4
data/README.md CHANGED
@@ -103,7 +103,7 @@ Please see the following [list](https://raw.githubusercontent.com/nwops/retrospe
103
103
  ## Plugin development
104
104
  Please see the [plugin document](plugin_development.md) for creating new retrospec plugins.
105
105
 
106
- == Contributing to retrospec
106
+ ## Contributing to retrospec
107
107
 
108
108
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
109
109
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
@@ -113,7 +113,7 @@ Please see the [plugin document](plugin_development.md) for creating new retrosp
113
113
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
114
114
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
115
115
 
116
- == Copyright
116
+ ## Copyright
117
117
 
118
118
  Copyright (c) 2015 Corey Osman. See LICENSE.txt for
119
119
  further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -10,13 +10,16 @@ module Retrospec
10
10
  Retrospec::PluginLoader.load_from_gems('v1')
11
11
  end
12
12
 
13
+ def excluded_classes
14
+ [Retrospec::Plugins::V1::ContextObject,Retrospec::Plugins::V1::Plugin]
15
+ end
16
+
13
17
  # returns an array of plugin classes by looking in the object space for all loaded classes
14
18
  # that start with Retrospec::Plugins::V1
15
19
  def plugin_classes
16
20
  unless @plugin_classes
17
21
  load_plugins
18
- @plugin_classes = ObjectSpace.each_object(Class).find_all {|c| c.name =~ /Retrospec::Plugins/} - [Retrospec::Plugins::V1::Plugin]|| []
19
-
22
+ @plugin_classes = ObjectSpace.each_object(Class).find_all { |c| c.name =~ /Retrospec::Plugins/} - excluded_classes || []
20
23
  end
21
24
  @plugin_classes
22
25
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "retrospec"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corey Osman"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retrospec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Osman