rains 0.1.0 → 0.1.1

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: c22fc4439ba7d1e73ca9690fac1a06324e2be900
4
- data.tar.gz: 11854bceb0869db31511f2d4b5cac34613b4b8da
3
+ metadata.gz: 84ece7779c5c7c2e774180fcfb1e4a7b10dba8d0
4
+ data.tar.gz: ee6a6a9315689db95d6bd50f125ddf521db3978b
5
5
  SHA512:
6
- metadata.gz: 527b2cbd870e10c1b383f0297b78d93820e42706926a267b3fa3026f46b78ad0114bc7999ec51966f877da3c702482c7323ad91bffb5d6062fc94d208fd57b94
7
- data.tar.gz: 9b7ace8d34e8a7117b813456490643463cd12c467d4f3b3803152e2c760e04d97086b1b67835c0224824cb56c28bf9b1d0c7a2b1c434c803c8c70063f860cbfa
6
+ metadata.gz: 72cae1bbdf74e3a18cd8c9a9cf09e3270796c7c4333789a404d61faf9935d443b2ed9b712c43b778112ecda214f2913792884b346eb717cf840aeb1037c7eb80
7
+ data.tar.gz: affb189dd1c43ed97679875f89a3dfa408593c3444bb748f79fc76d1cce772468860cda025d14ef740cebe4ecb422b10ba446157dadbb8e28fb2f5ea387feeb6
data/README.md CHANGED
@@ -1,7 +1,22 @@
1
+ [gem]: https://rubygems.org/gems/rains
2
+ [travis]: https://travis-ci.org/artemeff/rains
3
+ [gemnasium]: https://gemnasium.com/artemeff/rains
4
+ [codeclimate]: https://codeclimate.com/github/artemeff/rains
5
+ [inchpages]: http://inch-ci.org/github/artemeff/rains
6
+
1
7
  ### rains
2
8
 
3
9
  ---
4
10
 
11
+ [![Gem Version](https://badge.fury.io/rb/rains.svg)][gem]
12
+ [![Build Status](https://travis-ci.org/artemeff/rains.svg?branch=master)][travis]
13
+ [![Dependency Status](https://gemnasium.com/artemeff/rains.svg)][gemnasium]
14
+ [![Code Climate](https://codeclimate.com/github/artemeff/rains/badges/gpa.svg)][codeclimate]
15
+ [![Test Coverage](https://codeclimate.com/github/artemeff/rains/badges/coverage.svg)][codeclimate]
16
+ [![Inline docs](http://inch-ci.org/github/artemeff/rains.svg?branch=master&style=flat)][inchpages]
17
+
18
+ ---
19
+
5
20
  ...
6
21
 
7
22
  ---
data/lib/rains/form.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Rains
2
2
  class Form
3
3
  extend DSL::Assertions
4
- include Virtus.model(strict: true)
4
+ include Virtus.model
5
5
 
6
6
  def as_form
7
7
  attributes
data/lib/rains/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rains
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -55,11 +55,5 @@ describe Rains::Form do
55
55
 
56
56
  expect(result.valid?).to eq(true)
57
57
  end
58
-
59
- it 'throws error when required attribute not provided' do
60
- expect {
61
- User::Form.new
62
- }.to raise_error(Virtus::CoercionError)
63
- end
64
58
  end
65
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rains
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Artemev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-10 00:00:00.000000000 Z
11
+ date: 2015-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus
@@ -146,3 +146,4 @@ signing_key:
146
146
  specification_version: 4
147
147
  summary: Gem for doing OOP the right way
148
148
  test_files: []
149
+ has_rdoc: