dorsale 3.14.11 → 3.15.0

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: 6866c7560ef92fbd39d25e808a3839c2cd2cebc74f96032e822ec91da2d15d22
4
- data.tar.gz: 178783cfc18bcd2e657679d8aba7d03c03f5a1576d89c36811767fdf10d4d2a0
3
+ metadata.gz: 0bd710629c9ecaa72a71a0df0645d38fae72cc1a0f5203a0e4c5ddfd8c966f24
4
+ data.tar.gz: 726555caa581d9251e2d40388414b974f5d1570fa5463be6ee28bd17c9a26b80
5
5
  SHA512:
6
- metadata.gz: 7c13fd4a88831a65793b92a20fe25008e53313d80c05e94cf10b96b12b5b15e315e679b00177f96f700028b9b7bcecbf361cb0e25d7196d2e6d6ab78e91cdaab
7
- data.tar.gz: ab777662670e599361601e3e4a052785f9208835b2170232e6da9fd72c74e7d6dbb99a2b65828d5432ff4df843370cc3ba908aee85d8f8f1c81ca0c1a4da9355
6
+ metadata.gz: e8d08edee46c29a4f80adbc0f371d70c532f9e06325141837ff94bd19c9d116ae7e7f41fa077ae6ce94305ab45362502f3d459c2a703563c5b72fbead3bc47ae
7
+ data.tar.gz: d41ad18d76e122b20249254ec2df1e79d016411cf3ca11060396cc859026d15f4a7a893e089e4dac32eb624aba83dcbf4bac7a1a1581f996da14306740352f7d
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## 3.15.0
6
+ - Fix Ruby 2.7 warnings
7
+ - Faker 2
8
+
5
9
  ## 3.14.11
6
10
  - Fix BM missing PDFs
7
11
 
@@ -11,7 +11,7 @@ class Dorsale::Flyboy::TaskMailer < ::Dorsale::ApplicationMailer
11
11
 
12
12
  mail(
13
13
  :to => task.owner.email,
14
- :subject => t("task_mailer.new_task.subject", @locals),
14
+ :subject => t("task_mailer.new_task.subject", **@locals),
15
15
  )
16
16
  end
17
17
 
@@ -26,7 +26,7 @@ class Dorsale::Flyboy::TaskMailer < ::Dorsale::ApplicationMailer
26
26
 
27
27
  mail(
28
28
  :to => task.owner.email,
29
- :subject => t("task_mailer.term_email.subject", @locals),
29
+ :subject => t("task_mailer.term_email.subject", **@locals),
30
30
  )
31
31
  end
32
32
  end
@@ -1 +1 @@
1
- p == lf2br t("task_mailer.new_task.body", @locals)
1
+ p == lf2br t("task_mailer.new_task.body", **@locals)
@@ -1 +1 @@
1
- p == lf2br t("task_mailer.term_email.body", @locals)
1
+ p == lf2br t("task_mailer.term_email.body", **@locals)
@@ -7,7 +7,7 @@ Then(/^the file is downloaded$/) do
7
7
  end
8
8
 
9
9
  Given(/^a very long comment on this person$/) do
10
- text = Faker::Lorem.paragraph(30)
10
+ text = Faker::Lorem.paragraph(sentence_count: 30)
11
11
  @comment = create(:customer_vault_event_comment, person: @person, text: text)
12
12
  end
13
13
 
@@ -1,3 +1,3 @@
1
1
  module Dorsale
2
- VERSION = "3.14.11"
2
+ VERSION = "3.15.0"
3
3
  end
@@ -1,17 +1,17 @@
1
1
  FactoryBot.define do
2
2
  factory :customer_vault_individual, class: ::Dorsale::CustomerVault::Individual do
3
- origin { create(:customer_vault_origin) }
4
- first_name { Faker::Name.first_name }
5
- last_name { Faker::Name.last_name }
6
- short_name { "SN" }
7
- email { Faker::Internet.email("#{first_name} #{last_name}") }
8
- title { "Individual-Title" }
9
- twitter { "#{first_name}#{last_name}" }
10
- www { Faker::Internet.url }
11
- context { "Individual-Context" }
12
- phone { "01 23 xx xx xx" }
13
- fax { "09 xx xx xx xx" }
14
- mobile { "06 xx xx xx xx" }
15
- address { build(:dorsale_address) }
3
+ origin { create(:customer_vault_origin) }
4
+ first_name { Faker::Name.first_name }
5
+ last_name { Faker::Name.last_name }
6
+ short_name { "SN" }
7
+ email { Faker::Internet.email(name: name) }
8
+ title { "Individual-Title" }
9
+ twitter { "#{first_name}#{last_name}" }
10
+ www { Faker::Internet.url }
11
+ context { "Individual-Context" }
12
+ phone { "01 23 xx xx xx" }
13
+ fax { "09 xx xx xx xx" }
14
+ mobile { "06 xx xx xx xx" }
15
+ address { build(:dorsale_address) }
16
16
  end
17
17
  end
@@ -1,7 +1,7 @@
1
1
  FactoryBot.define do
2
2
  factory :expense_gun_category, class: ::Dorsale::ExpenseGun::Category do
3
- name { Faker::Lorem.word }
4
- code { Faker::Number.number(4) }
5
- vat_deductible { [true, false].sample }
3
+ name { Faker::Lorem.word }
4
+ code { Faker::Number.number(digits: 4) }
5
+ vat_deductible { [true, false].sample }
6
6
  end
7
7
  end
@@ -1,11 +1,11 @@
1
1
  FactoryBot.define do
2
2
  factory :expense_gun_expense_line, class: ::Dorsale::ExpenseGun::ExpenseLine do
3
- expense { build(:expense_gun_expense) }
4
- name { Faker::Lorem.sentence(3) }
5
- category { build(:expense_gun_category) }
6
- date { Faker::Date.backward(30) }
7
- total_all_taxes { rand(100..1000) }
8
- vat { rand(1..(total_all_taxes/5)) }
9
- company_part { [25, 50, 75, 100].sample }
3
+ expense { build(:expense_gun_expense) }
4
+ name { Faker::Lorem.sentence(word_count: 3) }
5
+ category { build(:expense_gun_category) }
6
+ date { Faker::Date.backward(days: 30) }
7
+ total_all_taxes { rand(100..1000) }
8
+ vat { rand(1..(total_all_taxes/5)) }
9
+ company_part { [25, 50, 75, 100].sample }
10
10
  end
11
11
  end
@@ -1,8 +1,8 @@
1
1
  FactoryBot.define do
2
2
  factory :expense_gun_expense, class: ::Dorsale::ExpenseGun::Expense do
3
- name { Faker::Lorem.sentence(3) }
4
- date { Date.current }
5
- user { create(:user) }
3
+ name { Faker::Lorem.sentence(word_count: 3) }
4
+ date { Date.current }
5
+ user { create(:user) }
6
6
 
7
7
  after(:create) { |expense|
8
8
  rand(2..5).times {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorsale
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.11
4
+ version: 3.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-04 00:00:00.000000000 Z
11
+ date: 2020-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -989,7 +989,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
989
989
  - !ruby/object:Gem::Version
990
990
  version: '0'
991
991
  requirements: []
992
- rubygems_version: 3.0.3
992
+ rubygems_version: 3.1.4
993
993
  signing_key:
994
994
  specification_version: 4
995
995
  summary: Modular ERP made with Ruby on Rails