c80_shared 0.1.58 → 0.1.59

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
  SHA256:
3
- metadata.gz: 9151fc67f1329cee1010ee34b6767f4cd5737b742eff2e89ad955bf00d7fa101
4
- data.tar.gz: 61a1ff11124aebd01d9245744392b068ca977090a37457fd2d6935547d451d65
3
+ metadata.gz: 993ce9456590de551437c7445c40261e3c33969538706dcfda35ff0cd432dae7
4
+ data.tar.gz: 18ada8fe20f884a4c09754903e5d9fe7659ffa8f4331efbeaf6aa87e1628efc6
5
5
  SHA512:
6
- metadata.gz: ece6fdcd54b737c9aa12bbfb822bdee3eb7bf794aebdd228623be136290dd9ff6699ae6be3b0aa0171a1561929591e0420e5b186cafad264d02703c60a2d2d9d
7
- data.tar.gz: e29a4054b0b65af2ac3f83d00eaa7e147119eb6de0740a0d417950931836d453872a0da523a3f16f86c2012c8e91577740b1687cdc924c2616dd6f0c5f9d9cbc
6
+ metadata.gz: 8cfcf130e1d432127c312f57562ec0c3b759869fa24def12c122e51860816a212532d3928bcf2bb86b33951ee67cc9a1a4ff19373394391f26cc76e80be1a58d
7
+ data.tar.gz: caf966a932a7ab15322fdcce8803fc4e32c13e73ea463784098132852ac0c640ff29f9e906ff37e3b6fbeeb0339b76ccae003d5c8106bcc7b8c79aa879989c43
@@ -6,35 +6,35 @@ module Lease
6
6
  class << self
7
7
 
8
8
  def available_attributes
9
- [
10
- :id,
11
- :token,
12
- :account_id,
13
- :state,
14
- :is_skippered,
15
- :is_my_price,
16
- :my_price,
17
- :my_price_currency,
18
- :address,
19
- :latitude,
20
- :longitude,
21
- :period,
22
- :period_formatted,
23
- :duration,
24
- :from,
25
- :to,
26
- :guests,
27
- :kids,
28
- :watersports,
29
- :need_transfer,
30
- :email,
31
- :name,
32
- :phone_number,
33
- :comments,
34
- :created_at,
35
- :created_at_full,
36
- :boat_types,
37
- :manager_email
9
+ %i[
10
+ account_id
11
+ address
12
+ boat_types
13
+ comments
14
+ created_at
15
+ created_at_full
16
+ duration
17
+ email
18
+ from
19
+ guests
20
+ id
21
+ is_my_price
22
+ is_skippered
23
+ kids
24
+ latitude
25
+ longitude
26
+ manager_email
27
+ my_price
28
+ my_price_currency
29
+ name
30
+ need_transfer
31
+ period
32
+ period_formatted
33
+ phone_number
34
+ state
35
+ to
36
+ token
37
+ watersports
38
38
  ].freeze
39
39
  end
40
40
 
@@ -1,3 +1,3 @@
1
1
  module C80Shared
2
- VERSION = "0.1.58"
2
+ VERSION = "0.1.59"
3
3
  end
@@ -0,0 +1,13 @@
1
+ ФУНКЦИЯ-1: показ блока с ценами аренды на странице просмотра лодки
2
+ На странице должна отобразиться минимальная цена аренды и кнопка 'request to book'
3
+
4
+ ПРЕДЫСТОРИЯ-2:
5
+ Допустим юзер входит на главную страницу
6
+ И кликает по лодке из блока FEATURES BOATS FOR RENT (http://localhost:3000/en/boat/carpe_diem?for=rent)
7
+ И лодка на продажу
8
+
9
+ @correct
10
+ СЦЕНАРИЙ:
11
+ На странице должна отобразиться минимальная цена аренды и кнопка 'request to book'
12
+ На странице не должно быть блока `contact seller`
13
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c80_shared
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.58
4
+ version: 0.1.59
5
5
  platform: ruby
6
6
  authors:
7
7
  - C80609A
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-31 00:00:00.000000000 Z
11
+ date: 2019-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,6 +123,7 @@ files:
123
123
  - lib/c80_shared/middleware/images_proxy.rb
124
124
  - lib/c80_shared/token_generator.rb
125
125
  - lib/c80_shared/version.rb
126
+ - scratch_105___02.txt
126
127
  homepage: http://google.com
127
128
  licenses:
128
129
  - MIT