servitore 0.1.0 → 0.2.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: df066388cfeb3e7920148de5e54dcae4a4bc3d41
4
- data.tar.gz: 299aef186e882497b00a85703c4954979d886f1c
3
+ metadata.gz: 987eee7aec9df54675a85d0f7162242591c557f8
4
+ data.tar.gz: c4cc46b71643b472c0114efe746fb9403bfa0742
5
5
  SHA512:
6
- metadata.gz: e4b1a39fec643dd6628e8eb09d1fda482fee3d21608b056b42b9d4046244ad785cbbd65908d75314e8955ac01605134fcefa9a407347d49e218c9ab2d4e4bbe9
7
- data.tar.gz: cd14a1e5e545de23aa92b51c5a02407e695789d77a4f13a2eef6c88b829d84a9110a3c6196321b2fc6ba24b9c5704ef5a17d8bdb91d88e37b5aa868407e78c32
6
+ metadata.gz: ef6cdbf6121616b284987b743b002e69defd69db41bf6408fd3bfbb365a9a4191878b0b8cea1473f5cf134aa6ff248ca5812721d7ed84a900f03a68bf3850595
7
+ data.tar.gz: be9a58f7fd93e8138a79556201395f6651d7c8073576a10670f02e6c2c678288dea6d337f64002bf5eea0a54daa1cfbcfd7de380fa556e7c2feb0e1927e227e4
@@ -3,7 +3,7 @@ module Servitore
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- attr_reader :params
6
+ attr_reader :_params
7
7
 
8
8
  class << self
9
9
  alias_method :_new, :new
@@ -15,7 +15,7 @@ module Servitore
15
15
  end
16
16
 
17
17
  def initialize(params)
18
- @params = params || {}
18
+ @_params = params || {}
19
19
  end
20
20
 
21
21
  def call
@@ -30,7 +30,7 @@ module Servitore
30
30
  def param_reader(*names)
31
31
  names.each do |name|
32
32
  define_method(name) do
33
- params[name]
33
+ _params[name]
34
34
  end
35
35
  end
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module Servitore
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servitore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Kriss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-20 00:00:00.000000000 Z
11
+ date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails