hash_mapper 0.1.2 → 0.1.3

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: 912e32950a4fceefdad04dd30556e3ef8aa97b0d
4
- data.tar.gz: 4c5d3e780d583cde029da50485d43091d48aba7d
3
+ metadata.gz: 3fcd7f8475d938cf6002450682f5e4bf17865074
4
+ data.tar.gz: a16e082eb53d60cf26fc99c67cbecb31c04787b0
5
5
  SHA512:
6
- metadata.gz: 7feba0c5a94818ce8c874e6b2292a605ba00aa319d27e52d2e97b4ff9f57bca57636fd3e0cc582fac0aafc11b86ef71f58545d30affa9c9728f76bbd92016c73
7
- data.tar.gz: 88fcd85225191fce714a3035d2ade519472cf7c8ae5c63c246a8e6b407cbafb6c5de23a989cb99cc235e5cfa60606bfa893b78879fac5337a75f1478f0273fbe
6
+ metadata.gz: 1075ad77863f0b6ec01b6178a1257d5bb676c556dfe02183dfa5bb3ec67e90548871e58943b3bb6e6e5fedf87a77172793e089bb8c80ee9adbcc12f09007358e
7
+ data.tar.gz: ce2cdf149dd160c82ad29e441fa17f4eacde912b36fe31ac93f3e3edd74b74776747d94a83b5bdecef5ce5aef380c53e4a001f31e1117147d3e55723843ae4af
data/README.md CHANGED
@@ -111,7 +111,7 @@ You can pass :to_i, :to_s or anything available method that makes sense. Don't f
111
111
  You guessed it. That means that you can actually pass custom blocks to each to() definition as well. The following is similar to the previous example:
112
112
 
113
113
  ```ruby
114
- map from('/one), to('/one'){|value| value.to_i}
114
+ map from('/one'), to('/one'){|value| value.to_i}
115
115
  ```
116
116
 
117
117
  #### Custom value filtering
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -1,3 +1,3 @@
1
1
  module HashMapper
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -5,9 +5,12 @@
5
5
  #
6
6
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
7
  RSpec.configure do |config|
8
- config.treat_symbols_as_metadata_keys_with_true_values = true
9
8
  config.run_all_when_everything_filtered = true
10
- config.filter_run :focus
9
+ config.filter_run focus: true
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :should
13
+ end
11
14
  end
12
15
 
13
16
  $:.unshift(File.dirname(__FILE__) + '/../lib')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismael Celis