reactive_support 0.2.2.beta → 0.2.2.beta2
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/lib/reactive_support/extensions/reactive_extensions.rb +0 -3
- data/lib/reactive_support.rb +1 -0
- data/spec/spec_helper.rb +1 -2
- data/version.rb +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: 1df366e9c83f6723e0fc634eb0028ba690051bbf
|
4
|
+
data.tar.gz: fa71805317d8b4051f47a051d20e47443587580f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fde4b90121f00b053c5d64f694ab8e97ddc317ad2e45852c8745d9ab29a5403cb7dd0abf26f329ac656ebfd9b419bc8cdb1780e0daa52612075c06362cebe97
|
7
|
+
data.tar.gz: 375a135b61ec7a6a6ea0547f92cecdff893e329b6a19215996dca4c7edf0594fae40887423b58be7498655d4b5f8ab448759974832771ff98373805621ade20b
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'reactive_support'
|
2
|
-
|
3
1
|
# The ReactiveExtensions module consists of methods I wish ActiveSupport provided.
|
4
2
|
# These methods do not adhere to the ActiveSupport API. If you wish to include
|
5
3
|
# them in your project, you will need to put this in your main project file:
|
@@ -9,7 +7,6 @@ require 'reactive_support'
|
|
9
7
|
# requires for ReactiveSupport as it will raise a SystemStackError.
|
10
8
|
|
11
9
|
module ReactiveExtensions
|
12
|
-
Dir['./**/*.rb'].each {|f| require f }
|
13
10
|
|
14
11
|
# The +#try_rescue+ method extends ReactiveSupport's +#try+ method so it
|
15
12
|
# rescues NoMethodErrors and TypeErrors as well as returning +nil+ when
|
data/lib/reactive_support.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
Dir['./lib/reactive_support/core_ext/**/*.rb'].each {|f| require f }
|
2
|
+
Dir['./lib/reactive_support/extensions/**/*.rb'].each {|f| require f }
|
2
3
|
|
3
4
|
# The ReactiveSupport module implements methods from ActiveSupport. It can be
|
4
5
|
# included in Ruby's +Object+ class by adding +require 'reactive_support'+ to
|
data/spec/spec_helper.rb
CHANGED
@@ -9,8 +9,7 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
|
9
9
|
SimpleCov.start if ENV["COVERAGE"]
|
10
10
|
Coveralls.wear!
|
11
11
|
|
12
|
-
|
13
|
-
require File.expand_path('../../lib/reactive_support/extensions/reactive_extensions', __FILE__)
|
12
|
+
require File.expand_path('../../lib/reactive_support.rb', __FILE__)
|
14
13
|
|
15
14
|
RSpec.configure do |c|
|
16
15
|
c.order = 'random'
|
data/version.rb
CHANGED