tramway-user 1.0.5 → 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
  SHA256:
3
- metadata.gz: 92f563dea9f814eadb465ac9534c6d943f1381439e1be9f9680837c255e27bce
4
- data.tar.gz: f8a26f4052ca6d35c6fe237a5ea6fa3dd4daf8182d164c1f77af938a37d3d096
3
+ metadata.gz: a94cfae93f0e1f3a9be23b5e42daa817d2db537f5f6edf8ee6a308d93d2e7eb9
4
+ data.tar.gz: 666c34ff3c2c368d836d8418ea6db56f3d63e2e16f3a9016d36d22101c29024f
5
5
  SHA512:
6
- metadata.gz: 84c644577f55b357b2142c5c148ce0c159bcfb327753a9bda7b62fc3d9b564c3cb90cf098eb1c0a4e4a78992091fca5b86ff95c34196569abc88a5ba6e461a6f
7
- data.tar.gz: 289258d01e44f76519d63a04eef2cc232b1db3d256a27bf89d86bd8804ba13ff56d6b0e6160787a30dc76232274ced896a89e16138615a247bb80a7903601a10
6
+ metadata.gz: 33b4e7e7d9abc9b659ae07c5627da79c7b1f45dde04dc7923cbe55e5f62b653f7399dd68e1a20dd591e9adf27a033991dcc63eaaae98008a58b8b985794d5a80
7
+ data.tar.gz: 5f512feb01b20b7fa0fb21e0e33f158eae013704efe501d511c5659a2ecc44389d7ae38586fe860bd556eb59dc002aa955b5d83408ab57f7eb472347f55b03c7
@@ -0,0 +1,13 @@
1
+ class Tramway::User::UserForm < ::Tramway::Core::ApplicationForm
2
+ properties :email, :password, :first_name, :last_name, :role
3
+
4
+ def initialize(object)
5
+ super(object).tap do
6
+ form_properties email: :string,
7
+ password: :string,
8
+ first_name: :string,
9
+ last_name: :string,
10
+ role: :default
11
+ end
12
+ end
13
+ end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module User
3
- VERSION = '1.0.5'
3
+ VERSION = '1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-user
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-10 00:00:00.000000000 Z
11
+ date: 2018-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -70,6 +70,7 @@ files:
70
70
  - app/controllers/tramway/user/web/sessions_controller.rb
71
71
  - app/decorators/tramway/user/user_decorator.rb
72
72
  - app/forms/tramway/user/session_form.rb
73
+ - app/forms/tramway/user/user_form.rb
73
74
  - app/helpers/tramway/user/application_helper.rb
74
75
  - app/jobs/tramway/user/application_job.rb
75
76
  - app/mailers/tramway/user/application_mailer.rb