readymade 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
  SHA256:
3
- metadata.gz: '035139f1728cf58173aeec5b885c3ddc53988b5289251a3e43c96414ff587efe'
4
- data.tar.gz: 4da513ced3053c0144dc53ebce790e46151c5774c8a7d2e37c430858d95bf9ed
3
+ metadata.gz: 5518ad54b22a02728462c0d0ca01e71ebe9567c3ecd54a361ca8632cf4cc57b9
4
+ data.tar.gz: 63060f391776097416c481b295e9a558e3eea37e78ecaae5486d924d870c4367
5
5
  SHA512:
6
- metadata.gz: 01f38b397999a3aec6ce02a96e6abdc0666fd6c453af00b8bcac279172834e8f4e6769ab5a9cc3dba5e1d2d51a206c4e6a68ad61e5619b8b9908647861debb6e
7
- data.tar.gz: 9375736b65739433d6c818238763cacaaba5c0ebcc4098b5d92e769324f73c53700be74fc3b577f138889aafaffffe8182169bd9aa6be515dda8aa92a53e45cd
6
+ metadata.gz: 7c3b2f4f55272272223414fbd43f2a917368d0d8780dab5ffa83c575a630a39e8276fbbff63e20f125c88b994e8907592266a09c457e29e1cd823a85cf00de20
7
+ data.tar.gz: 9658eacbac92c969f2171ce1ab2a210f965416b265222ce5505c1e26802d86473391fbb494b6410fa42c6810c4da87a56e02db7530b0f7f517107b36ab800aba
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ [0.1.3] - 2021-11.20
5
+
6
+ Improvements
7
+
8
+ * Fix error when required param for instant form is not defined
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- readymade (0.1.2)
4
+ readymade (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
- # Lead
1
+ # Readymade
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/readymade`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ This gems contains basic components to follow [ABDI architecture](https://github.com/OrestF/OrestF/blob/master/abdi/ABDI_architecture.md)
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,7 +20,11 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ Inherit your components from:
24
+ * `Readymade::Response`
25
+ * `Readymade::Form`
26
+ * `Readymade::Action`
27
+ * `Readymade::Operation`
26
28
 
27
29
  ## Development
28
30
 
@@ -26,7 +26,7 @@ module Readymade
26
26
  @params&.slice!(*permitted_attributes) # if permitted_attributes.present?
27
27
 
28
28
  # dynamically creates attr accessors
29
- @params&.keys&.each do |key|
29
+ @permitted_attributes&.each do |key|
30
30
  singleton_class.class_eval do
31
31
  attr_accessor key
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Readymade
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readymade
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
  - OrestF
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-03 00:00:00.000000000 Z
11
+ date: 2021-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -62,6 +62,7 @@ files:
62
62
  - ".gitignore"
63
63
  - ".rspec"
64
64
  - ".travis.yml"
65
+ - CHANGELOG.md
65
66
  - CODE_OF_CONDUCT.md
66
67
  - Gemfile
67
68
  - Gemfile.lock