right_develop 3.1.3 → 3.1.4
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/VERSION +1 -1
- data/lib/right_develop/net.rb +5 -12
- 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: da147622d2da6a9eccb649c48dfc0f29b4bef91b
|
|
4
|
+
data.tar.gz: a344372e8c9e2220e6f257ff0194303645f2db24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3cbadc63d3757265db1dd20b49492a066b8674ec8e6cdac4ef7e8224b4e981b1ad1894bd4fbbeea3473f5f9fc6e1630fbe27868531f6bee7b6863795f1b836ed
|
|
7
|
+
data.tar.gz: 6ce856b56735d38eb2415be266e2db4d6550eafa516bfe41a68b4b5fefb78abf227955177772484241e817edb2913e73af522a9ad024a0dfd69716e778724fbb
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.4
|
data/lib/right_develop/net.rb
CHANGED
|
@@ -20,25 +20,17 @@
|
|
|
20
20
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
|
|
23
|
-
# Try to load RSpec 2.x - 1.x
|
|
24
|
-
['rspec', 'rspec/mocks', 'spec'].each do |f|
|
|
25
|
-
begin
|
|
26
|
-
require f
|
|
27
|
-
rescue LoadError
|
|
28
|
-
# no-op, we will raise later
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
|
|
32
23
|
module RightDevelop::Net
|
|
33
24
|
# Extra fatal exceptions to add to RightSupport::Net::RequestBalancer
|
|
34
25
|
FATAL_TEST_EXCEPTIONS = []
|
|
35
26
|
|
|
36
27
|
spec_namespaces = []
|
|
37
28
|
|
|
38
|
-
if
|
|
39
|
-
|
|
29
|
+
if require_succeeds?('rspec')
|
|
30
|
+
require 'rspec/mocks'
|
|
31
|
+
require 'rspec/expectations'
|
|
40
32
|
spec_namespaces += [::RSpec::Mocks, ::RSpec::Expectations]
|
|
41
|
-
elsif
|
|
33
|
+
elsif require_succeeds?('spec')
|
|
42
34
|
# RSpec 1.x
|
|
43
35
|
spec_namespaces += [::Spec::Expectations]
|
|
44
36
|
end
|
|
@@ -58,3 +50,4 @@ module RightDevelop::Net
|
|
|
58
50
|
dfe << e unless dfe.include?(e)
|
|
59
51
|
end
|
|
60
52
|
end
|
|
53
|
+
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: right_develop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tony Spataro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: right_support
|