ydim 1.1.0 → 1.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
  SHA1:
3
- metadata.gz: f33ceae9a5c2decf74dff605831b41bf21eb3bd1
4
- data.tar.gz: b05c64c9cb9d97d43fae1b54002dbdde49bfdf0b
3
+ metadata.gz: 70d04b6ba7bb61d3eb310d9acba4c9faed12bb94
4
+ data.tar.gz: eb85e935f2179e171af5ce157f68bf613256b794
5
5
  SHA512:
6
- metadata.gz: 12913ec735c3f445ea019dc9a6286701c7013c68b525ed310526bf3a7cf4b82d78148d0da089c29305ce0bf0f0a6ca76966ab63958c090bd9c35603330dd311a
7
- data.tar.gz: 7f4db9c500c22d8f61a98a68138be4e61abc0bfc13934200c8d67d63404217848f559c41057502b953c50178613487d28afa78000edde2ceb0427f425979fe3d
6
+ metadata.gz: b29399d8957eece7a4c87faabbfd0d88cfed316bbe73fc70458602096065ce2945ececc34da4a5e1bdd9d37a609e862c62f293acbd9ecbe257f3e813867c4821
7
+ data.tar.gz: 97f0992c2f9ec3987669b8df83ce3847600a8bbd64c87f63a68969b59c71027c99f2b4c9337d10ce5c6b15e01bb0a7afbe232e51d101958d3887ea1dae01f062
@@ -1,3 +1,7 @@
1
+ === 1.1.1/ 23.01.2018
2
+
3
+ * Update to ydbi 0.5.6 to avoid error with PGconn
4
+
1
5
  === 1.1.0 / 09.01.2018
2
6
 
3
7
  * Send correct e-mail body
@@ -31,7 +31,7 @@ module YDIM
31
31
  @mail.from = config.mail_from
32
32
  @mail.subject = invoice_subject
33
33
  @mail.body = body(config, debitor, invoice)
34
- @mail.add_file(:filename => sprintf("%s.pdf", invoice_subject.tr(' /', '_-')), :content => invoice.to_pdf(sort_args))
34
+ @mail.add_file(:filename => sprintf("%i.pdf", invoice.unique_id), :content => invoice.to_pdf(sort_args))
35
35
  @mail.deliver
36
36
  (@mail.to + @mail.cc + @mail.bcc).flatten
37
37
  rescue Timeout::Error
@@ -1,3 +1,3 @@
1
1
  module YDIM
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
data/readme.md CHANGED
@@ -10,6 +10,15 @@ ywesee distributed invoice manager, Ruby
10
10
 
11
11
  * gem install ydim
12
12
 
13
+ If you have a non standard path of postgres use something like
14
+
15
+ * gem install pg -- --with-pg-config=/usr/local/pgsql-10.1/bin/pg_config
16
+
17
+ Or if you are using bundler
18
+
19
+ * bundle config build.pg --with-pg-config=/usr/local/pgsql-10.1/bin/pg_config
20
+ * bundle install
21
+
13
22
  ## Migrating an old database
14
23
 
15
24
  An old database can be migrated to UTF-8 by calling
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_dependency "odba", '>= 1.1.2'
21
- spec.add_dependency "ydbd-pg", '>= 0.5.1'
22
- spec.add_dependency "ydbi", '>= 0.5.1'
21
+ spec.add_dependency "ydbd-pg", '>= 0.5.5'
22
+ spec.add_dependency "ydbi", '>= 0.5.5'
23
23
  spec.add_dependency "syck"
24
24
  spec.add_dependency "mail"
25
25
  spec.add_dependency "rclconf"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ydim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-09 00:00:00.000000000 Z
11
+ date: 2018-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: odba
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.5.1
33
+ version: 0.5.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.5.1
40
+ version: 0.5.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ydbi
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.5.1
47
+ version: 0.5.5
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.5.1
54
+ version: 0.5.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: syck
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -346,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
346
346
  version: '0'
347
347
  requirements: []
348
348
  rubyforge_project:
349
- rubygems_version: 2.5.1
349
+ rubygems_version: 2.6.8
350
350
  signing_key:
351
351
  specification_version: 4
352
352
  summary: ywesee distributed invoice manager