materialize 0.4.3 → 0.4.4

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: 21eee374167d93b6d9433228415934eaaf866c56
4
- data.tar.gz: 6575eea7471af894607b8f2de3502756807fe459
3
+ metadata.gz: aa604e8c56f64f7363e0d9c8b0970a7491fd6f78
4
+ data.tar.gz: af71efb792ccda4dfb869f78fd17178e6f5cc683
5
5
  SHA512:
6
- metadata.gz: bb1521d7c0c35bf047dfdb668d44a89469d13533e44bdb989abde58505c73119df3e41d405381d8654c4c45af2734a7e2fd3c4ae4174aea2cdb1f9b39d420f71
7
- data.tar.gz: ffb1b32de7609df712a6c1c2f63bb6338c421184a44e628ba246eb0393f49d2913e6a2d434ab67cb5d4cc9e182c5bc07789d6ae590963695fa0851751cdafba4
6
+ metadata.gz: 147cf25628af9f47344bf048a56cbf42360215e3b8955edc229ab0083bb0f1bdc8d32cc7376e0c3f88a266243a78a5197fc73206f05c041c80a3f8b59e8188aa
7
+ data.tar.gz: e7dd6ec3f6ccbc15498747501f2b6c7205cd161f0a98b930bb0a10510bfc0ceb5afabf9f0330013abb2ba86f3562113e046e8f68282056ad615afc2baa64a4af
@@ -1,20 +1,22 @@
1
- class Response
1
+ module Materialize
2
+ class Response
2
3
 
3
- attr_reader :message, :status, :options
4
+ attr_reader :message, :status, :options
4
5
 
5
- def initialize(options)
6
- @message = options['message']
7
- @status = options['status'].to_sym
8
- @options = options
9
- end
6
+ def initialize(options)
7
+ @message = options['message']
8
+ @status = options['status'].to_sym
9
+ @options = options
10
+ end
10
11
 
11
- def ok?
12
- status == :ok
13
- end
12
+ def ok?
13
+ status == :ok
14
+ end
14
15
 
15
- # This is used to look up ids -> e.g. patient_id, phase_id, etc.
16
- def method_missing(message)
17
- options.send(:[], message.to_s)
18
- end
16
+ # This is used to look up ids -> e.g. patient_id, phase_id, etc.
17
+ def method_missing(message)
18
+ options.send(:[], message.to_s)
19
+ end
19
20
 
21
+ end
20
22
  end
@@ -1,3 +1,3 @@
1
1
  module Materialize
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: materialize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Fiser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -106,6 +106,7 @@ files:
106
106
  - lib/materialize/response.rb
107
107
  - lib/materialize/utils.rb
108
108
  - lib/materialize/version.rb
109
+ - materialize-0.4.3.gem
109
110
  - materialize.gemspec
110
111
  homepage: http://bluebear.io
111
112
  licenses: