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 +4 -4
- data/README.md +2 -2
- data/VERSION +1 -1
- data/lib/retrospec/plugins.rb +5 -2
- data/retrospec.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d3d2153b5ed9d65c43e71ce71653a88908c1617
|
4
|
+
data.tar.gz: 32f2c04b51cd9af890afce64a80b047a137f2e80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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.
|
1
|
+
0.2.1
|
data/lib/retrospec/plugins.rb
CHANGED
@@ -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/} -
|
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
|
data/retrospec.gemspec
CHANGED