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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24b7a1145615fef1ac0807e4d156380e7a50df4b
4
- data.tar.gz: c5a986289af301086f0edd20a4abca612febf9ab
3
+ metadata.gz: f9b1b53a5825498c6c124e8ef9a70c592decdf23
4
+ data.tar.gz: 0ee554253cd9339d5b833d1006be9ebe75a38379
5
5
  SHA512:
6
- metadata.gz: a580a90272eb5f566c4c6857811a94808b1fbc925407787bc07dc6cb02cbc6410c8b6494f4de13c3d42a8153fdd5f170c4fd9930b8d4bcf6f32fd2f7cc0420de
7
- data.tar.gz: 4b0aed3dd541395299404d7611f9ee29f76d82c4f64bfecd1829347c11ac0bb5f1cb66141a33e4f2018c973e9abb1b59283eb95652172d19d4470518f1249bb3
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,3 @@
1
- Dir['./lib/reactive_support/core_ext/**/*.rb'].each {|f| require f }
1
+ require_relative './core_ext/array'
2
+ require_relative './core_ext/hash'
3
+ require_relative './core_ext/object'
@@ -1 +1,2 @@
1
- Dir['./lib/reactive_support/core_ext/array/*.rb'].each {|f| require f }
1
+ require_relative './array/access'
2
+ require_relative './array/extract_options'
@@ -1 +1 @@
1
- Dir['./lib/reactive_support/core_ext/hash/*.rb'].each {|f| require f }
1
+ require_relative './hash/keys'
@@ -1 +1,7 @@
1
- Dir['./lib/reactive_support/core_ext/object/*.rb'].each {|f| require f }
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
- # The +#try+ method calls a given (with given +*args+ and +&block+)
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.
@@ -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-28'
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
@@ -7,7 +7,7 @@ module ReactiveSupport
7
7
  MAJOR = '0'
8
8
  MINOR = '5'
9
9
  PATCH = '0'
10
- PRE = 'beta2'
10
+ PRE = ''
11
11
 
12
12
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.').chomp('.')
13
13
  end
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.beta2
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-28 00:00:00.000000000 Z
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: 1.3.1
125
+ version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
128
  rubygems_version: 2.2.2