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 +4 -4
- data/History.txt +4 -0
- data/lib/ydim/mail.rb +1 -1
- data/lib/ydim/version.rb +1 -1
- data/readme.md +9 -0
- data/ydim.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70d04b6ba7bb61d3eb310d9acba4c9faed12bb94
|
4
|
+
data.tar.gz: eb85e935f2179e171af5ce157f68bf613256b794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b29399d8957eece7a4c87faabbfd0d88cfed316bbe73fc70458602096065ce2945ececc34da4a5e1bdd9d37a609e862c62f293acbd9ecbe257f3e813867c4821
|
7
|
+
data.tar.gz: 97f0992c2f9ec3987669b8df83ce3847600a8bbd64c87f63a68969b59c71027c99f2b4c9337d10ce5c6b15e01bb0a7afbe232e51d101958d3887ea1dae01f062
|
data/History.txt
CHANGED
data/lib/ydim/mail.rb
CHANGED
@@ -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("%
|
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
|
data/lib/ydim/version.rb
CHANGED
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
|
data/ydim.gemspec
CHANGED
@@ -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.
|
22
|
-
spec.add_dependency "ydbi", '>= 0.5.
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
349
|
+
rubygems_version: 2.6.8
|
350
350
|
signing_key:
|
351
351
|
specification_version: 4
|
352
352
|
summary: ywesee distributed invoice manager
|