piko_model 1.0.0 → 1.0.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: 681445f88408495ae7aea043db0a1dcef90efa6e
4
- data.tar.gz: e3bcc0e9ef1dad396c8abd8b8a1bf7c0d990f31f
3
+ metadata.gz: a933a87e488f9cf2ff479281a72c48f5565b69a0
4
+ data.tar.gz: e05490c801f39f9c9131d846068f36f05773d514
5
5
  SHA512:
6
- metadata.gz: ebf266f8e858e0c3c447ad906c08e2a1163d32384159a8e414ca475484eeecacbac9ee9cd61dbc9e60685a3b729e3c92d81ab14849f1d6ed11dc101f10e65d23
7
- data.tar.gz: 629f416f7be972217a2e5282b5389476029d12fda7480aac3e81936bb0f63da16ef1fb731ab4d15493361d3aed055d4fe475c636728c791a4b035a780c8d0463
6
+ metadata.gz: 06c85335cdd60ca62325c937512b51623e94bd6d375b2d86a2b1eb2d469de3e26f4ba89f2fc924e7a3caea9924294692c11ce99f6f67f3743246955945e46f99
7
+ data.tar.gz: 34083bc30facba09c210faa84733cc5280a815b35cee0eb9108859168bb409a637c27a970e1bfd9fa8330ecf0cfca48ecdd99a056f78ed3ac8b19c1fd5eb4d35
@@ -1,3 +1,9 @@
1
- === 1.0.0 (2016.10.06)
1
+ ### 1.0.1 (2017.04.07)
2
+
3
+ * travis integration
4
+ * update license
5
+ * cleanup
6
+
7
+ ### 1.0.0 (2016.10.06)
2
8
 
3
9
  * publication of the code
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  source "https://rubygems.org"
2
3
 
3
4
  # Specify your gem's dependencies in mayaml.gemspec
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/piko_model.svg)](http://badge.fury.io/rb/piko_model)
4
4
  [![Code Climate](https://codeclimate.com/github/skopciewski/piko_model/badges/gpa.svg)](https://codeclimate.com/github/skopciewski/piko_model)
5
+ [![Dependency Status](https://gemnasium.com/badges/github.com/skopciewski/piko_model.svg)](https://gemnasium.com/github.com/skopciewski/piko_model)
5
6
 
6
7
  Simple model which can be initialized from Hash. It is possible to define default values and check if all reqired fields are set.
7
8
 
@@ -32,7 +33,7 @@ end
32
33
  foo = Config.new
33
34
  foo.valid? #=> false
34
35
  foo.missing_fields #=> ["a"]
35
- foo['b.c"] #=> true
36
+ foo["b.c"] #=> true
36
37
 
37
38
  bar = Config.new a: "value", "b.c": false
38
39
  bar.valid? #=> true
@@ -1,6 +1,6 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
- # Copyright (C) 2016 Szymon Kopciewski
3
+ # Copyright (C) 2016, 2017 Szymon Kopciewski
4
4
  #
5
5
  # This file is part of PikoModel.
6
6
  #
@@ -1,6 +1,6 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
- # Copyright (C) 2016 Szymon Kopciewski
3
+ # Copyright (C) 2016, 2017 Szymon Kopciewski
4
4
  #
5
5
  # This file is part of PikoModel.
6
6
  #
@@ -1,6 +1,6 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
- # Copyright (C) 2016 Szymon Kopciewski
3
+ # Copyright (C) 2016, 2017 Szymon Kopciewski
4
4
  #
5
5
  # This file is part of PikoModel.
6
6
  #
@@ -18,5 +18,5 @@
18
18
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
  module PikoModel
21
- VERSION = "1.0.0".freeze
21
+ VERSION = "1.0.1"
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piko_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Szymon Kopciewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-06 00:00:00.000000000 Z
11
+ date: 2017-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dothash
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: codeclimate-test-reporter
85
99
  requirement: !ruby/object:Gem::Requirement