creative_rails_utilities 0.3.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52f575590a5eb905eeeeabe26d62f73c34f50024
4
- data.tar.gz: a4c05488013391198e707db44654f25b6181bfe7
3
+ metadata.gz: 659c881b3a274cfde2d12897738873d28251e418
4
+ data.tar.gz: 3f02b2a1c7371c4f63cf0dcef947c2dbbe12d336
5
5
  SHA512:
6
- metadata.gz: 6972799546c4425a8de92e230dbd3a19d94d62e596ea2a3d9fc5085cf6bed163d6f9c4f00d8fab783ebd4b914d8b7ac9c7811cd3e480efd6209931ed9d90e969
7
- data.tar.gz: b3376c3151d2f6c02738193fb149de8f2d83a58c1a42b14fa32185395211a01d6c15bb1cc70ef4c2c40f2a5b3f378a55415ae2e3498dbfc7934c8b7a6630d244
6
+ metadata.gz: b33798102b44262376951f6380247d0b2bf54abfce0f071f06bf5ae5d85eb4c63e6dd1ed93a01da8179bc2179ea05d9a3bd96ed45699e263731291b4eda66682
7
+ data.tar.gz: 7eae1eab13c24e4bf4e4ef06d62b55754ec7bd1fe59f712f1c6a49577093d77d10bcc5a559d2bbefd878d9158d3b20d0337d405b55860e42a21bf0079e14ff02
data/README.md CHANGED
@@ -6,7 +6,7 @@ Intended for `Rails >= 4.0.0`, but will probably work for older projects with ro
6
6
 
7
7
  ## Installation
8
8
 
9
- `gem 'creative_rails_utilities', "~> 0.3.3"` and `bundle`
9
+ `gem 'creative_rails_utilities', "~> 0.4.0"` and `bundle`
10
10
 
11
11
  ## Usage
12
12
 
@@ -107,10 +107,10 @@ a.dig(:a, :b, :c, :x) #=> nil
107
107
 
108
108
  ```ruby
109
109
  # build a hash from variables and methods, more at https://github.com/Epigene/hashrush
110
- key1 = "a"
110
+ @key1 = "a"
111
111
  def key2; return "b"; end
112
112
 
113
- Hash.rush(binding, :key1, :key2)
113
+ Hash.rush(binding, :@key1, :key2)
114
114
  #=> {key1: "a", key2: "b"}
115
115
  ```
116
116
 
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_dependency "activesupport", ">= 3"
25
25
  spec.add_dependency "ranger"
26
- spec.add_dependency "hashrush"
26
+ spec.add_dependency "hashrush"#, "~> 2.0.0"
27
27
  spec.add_dependency "ruby_dig" # provides hash and array .dig
28
28
 
29
29
  spec.add_development_dependency "bundler", "~> 1.10"
@@ -1,3 +1,3 @@
1
1
  module CreativeRailsUtilities
2
- VERSION = "0.3.5"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: creative_rails_utilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Creative
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2016-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport