reactive_support 0.5.0.beta2 → 0.5.0
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/README.md +1 -1
- data/lib/reactive_support/core_ext.rb +3 -1
- data/lib/reactive_support/core_ext/array.rb +2 -1
- data/lib/reactive_support/core_ext/hash.rb +1 -1
- data/lib/reactive_support/core_ext/object.rb +7 -1
- data/lib/reactive_support/core_ext/object/try.rb +2 -1
- data/reactive_support.gemspec +1 -1
- data/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9b1b53a5825498c6c124e8ef9a70c592decdf23
|
4
|
+
data.tar.gz: 0ee554253cd9339d5b833d1006be9ebe75a38379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f74f71bb24b37630f69056a4da8adb968eba4c01d2ae6fea8ba2b5a31d22bf3a0876175d2b6c9ad8e3d2a5da045f5a0114ca5bbd80a6da90f8d7b9bda23bfff
|
7
|
+
data.tar.gz: fd49b9dcf84aa48ab65574534a3a2dad07c5616edda5e1a48dcd410d45459dbf99e1f5409f8c78a42b10bd2db4574738c9d379c88208410cbd393cd0d243b0e6
|
data/README.md
CHANGED
@@ -19,7 +19,7 @@ using in your app. For that reason, you will need to specify in your project fil
|
|
19
19
|
exactly what you're using. For example, in Canto, I have the following requires:
|
20
20
|
<pre><code>require 'reactive_support/core_ext/object/blank'
|
21
21
|
require 'reactive_support/core_ext/object/inclusion'
|
22
|
-
require 'reactive_support/core_ext/object/try'
|
22
|
+
require 'reactive_support/core_ext/object/try'</code></pre>
|
23
23
|
I do have plans to add the ability to require the entire gem, or broader parts of it, in the future. This would also be a welcome contribution to the project if you're interested.
|
24
24
|
|
25
25
|
Please note that version 0.1.2 is the earliest available version of ReactiveSupport.
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
require_relative './array/access'
|
2
|
+
require_relative './array/extract_options'
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require_relative './hash/keys'
|
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
require_relative './object/blank'
|
2
|
+
require_relative './object/deep_dup'
|
3
|
+
require_relative './object/duplicable'
|
4
|
+
require_relative './object/exist'
|
5
|
+
require_relative './object/inclusion'
|
6
|
+
require_relative './object/instance_variables'
|
7
|
+
require_relative './object/try'
|
@@ -1,5 +1,6 @@
|
|
1
1
|
class Object
|
2
|
-
|
2
|
+
|
3
|
+
# The +#try+ method calls a given method (with given +*args+ and +&block+)
|
3
4
|
# on the object calling it. If the receiving object is +nil+, then the +#try+
|
4
5
|
# method returns +nil+; otherwise, +#try+ returns the output of the method
|
5
6
|
# passed to it, or any error raised when the method is called.
|
data/reactive_support.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
|
9
9
|
s.name = 'reactive_support'
|
10
10
|
s.version = ReactiveSupport.gem_version
|
11
|
-
s.date = '2014-11-
|
11
|
+
s.date = '2014-11-30'
|
12
12
|
|
13
13
|
s.description = "ActiveSupport methods re-implemented independently of the Rails ecosystem"
|
14
14
|
s.summary = "ReactiveSupport provides useful ActiveSupport methods in a gem that is simple, stable, agnostic, and transparent."
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reactive_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.0
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dana Scheider
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -120,9 +120,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: 1.9.3
|
121
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - "
|
123
|
+
- - ">="
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
125
|
+
version: '0'
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
128
|
rubygems_version: 2.2.2
|