wlog 1.2.0 → 1.2.1
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 +4 -4
- data/README.md +2 -1
- data/lib/wlog/ui/invoice_ui.rb +1 -1
- data/lib/wlog/ui/issue_ui.rb +7 -2
- data/lib/wlog/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b8af4a4bdef4d942ce3e0da56440ffd9e633c54
|
|
4
|
+
data.tar.gz: b3a0dc959da2586fb2b2b511ee729f5b262f61de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8212057e50030e791c0dddef5a35df96a44f80cefd96cacb095d13de12eba0c7daa3d0697a1f8deae287cc7ddc3844952302e9679d0f244ceb8c2af3474a1f6
|
|
7
|
+
data.tar.gz: 589a124eb21948703d5cd9847c2901f2586d38ca4cc627d62f79efd8462f82d98c0f2cefc9c708b6f8e9c74987b251adadab3d5230126347ad4aa01704218749
|
data/README.md
CHANGED
|
@@ -269,7 +269,8 @@ internet to use as your own.
|
|
|
269
269
|
|
|
270
270
|
Templates are set per database. So if you want to use different templates (1 at
|
|
271
271
|
a time) per database, it's possible. You can take a look at an example template
|
|
272
|
-
that exploits all the currently available template variables
|
|
272
|
+
that exploits all the currently available template variables
|
|
273
|
+
[here](https://gist.github.com/psyomn/790fd35f78d30d9d3604).
|
|
273
274
|
|
|
274
275
|
## Git Integration
|
|
275
276
|
|
data/lib/wlog/ui/invoice_ui.rb
CHANGED
data/lib/wlog/ui/issue_ui.rb
CHANGED
|
@@ -83,11 +83,16 @@ private
|
|
|
83
83
|
data = fh.read
|
|
84
84
|
fh.close
|
|
85
85
|
|
|
86
|
-
att = Attachment.new
|
|
87
|
-
|
|
86
|
+
att = Attachment.new
|
|
87
|
+
att.filename = loc.split('/').last
|
|
88
|
+
att.data = data
|
|
89
|
+
att.given_name = name_alias
|
|
90
|
+
|
|
88
91
|
@issue.attachments << att
|
|
89
92
|
|
|
90
93
|
puts 'Attached file.'
|
|
94
|
+
rescue Zlib::DataError
|
|
95
|
+
puts 'Problem attaching file due to wrong data'
|
|
91
96
|
rescue
|
|
92
97
|
puts 'You need to provide a proper path.'
|
|
93
98
|
end
|
data/lib/wlog/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wlog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- psyomn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-10-
|
|
11
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -223,7 +223,7 @@ rubyforge_project:
|
|
|
223
223
|
rubygems_version: 2.0.14
|
|
224
224
|
signing_key:
|
|
225
225
|
specification_version: 4
|
|
226
|
-
summary: 'A light ruby script to help track tasks and time commit:
|
|
226
|
+
summary: 'A light ruby script to help track tasks and time commit: 0c90fed'
|
|
227
227
|
test_files:
|
|
228
228
|
- spec/domain/attachment_spec.rb
|
|
229
229
|
- spec/domain/commands/concat_desc_spec.rb
|