letter_generator 0.0.1 → 0.0.3

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: be0893576b7ad361c4faf4417f45028394e0ff11
4
- data.tar.gz: ee4c9f749d894a296b487c46c8717b1ef31067a1
3
+ metadata.gz: 701ca281c30d58fba3eca649ae9b795620f61736
4
+ data.tar.gz: e813a2afba9aeac373bf01501a24ac5d1371fe61
5
5
  SHA512:
6
- metadata.gz: b8e1ae11d6730c6f82b2ca734da898c6c68dc91a7e35b79798d0e82d7a8e8c17b5f50ae9cbe4184fd06c4804a38a549a28ed519f8348feba0774202f3ce1bcd2
7
- data.tar.gz: df33f8f93b4eb32cf11c1c83c6d4cc2df327529c0cf0e4ab1f4f8cbe7bd8342271c855d5fffbb405acbc653471ed84b53d727de81c975aebd87a87cfe2acd201
6
+ metadata.gz: 10d3d97b0dc9791d71e4bf53f4eb35f461cdf6b87b89ec1b0f6a410447c8438183475c1585a8cc7e4caf9d26680ea7487108b9e7721d4825fbc98beec13675e6
7
+ data.tar.gz: 126d46b7a08dabd7ea300116860c1065d9155a673b4856a4e3102363eda8aad8250d476a37b59d83ef2b2779abe3f4f47c06c0a4f496ce2785a9ced8c314a942
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
data/Gemfile.lock ADDED
@@ -0,0 +1,273 @@
1
+ GIT
2
+ remote: https://github.com/cucumber/aruba.git
3
+ revision: ec87d91bb43011eb49b619d58c16a9fa22b5ac2f
4
+ specs:
5
+ aruba (0.6.1)
6
+ childprocess (>= 0.3.6)
7
+ cucumber (>= 1.1.1)
8
+ rspec-expectations (>= 2.7.0)
9
+
10
+ PATH
11
+ remote: .
12
+ specs:
13
+ letter_generator (0.0.2)
14
+ activesupport
15
+ fedux_org-stdlib
16
+ thor
17
+ tilt
18
+
19
+ GEM
20
+ remote: https://rubygems.org/
21
+ specs:
22
+ abstract_type (0.0.7)
23
+ activesupport (4.2.0)
24
+ i18n (~> 0.7)
25
+ json (~> 1.7, >= 1.7.7)
26
+ minitest (~> 5.1)
27
+ thread_safe (~> 0.3, >= 0.3.4)
28
+ tzinfo (~> 1.1)
29
+ adamantium (0.2.0)
30
+ ice_nine (~> 0.11.0)
31
+ memoizable (~> 0.4.0)
32
+ addressable (2.3.6)
33
+ anima (0.2.0)
34
+ abstract_type (~> 0.0.7)
35
+ adamantium (~> 0.1)
36
+ equalizer (~> 0.0.8)
37
+ ast (2.0.0)
38
+ astrolabe (1.3.0)
39
+ parser (>= 2.2.0.pre.3, < 3.0)
40
+ awesome_print (1.6.1)
41
+ blockenspiel (0.4.5)
42
+ builder (3.2.2)
43
+ byebug (3.5.1)
44
+ columnize (~> 0.8)
45
+ debugger-linecache (~> 1.2)
46
+ slop (~> 3.6)
47
+ childprocess (0.5.5)
48
+ ffi (~> 1.0, >= 1.0.11)
49
+ coderay (1.1.0)
50
+ columnize (0.9.0)
51
+ command_exec (0.2.0)
52
+ activesupport
53
+ smart_colored
54
+ xml-simple
55
+ concord (0.1.5)
56
+ adamantium (~> 0.2.0)
57
+ equalizer (~> 0.0.9)
58
+ coveralls (0.7.1)
59
+ multi_json (~> 1.3)
60
+ rest-client
61
+ simplecov (>= 0.7)
62
+ term-ansicolor
63
+ thor
64
+ cucumber (1.3.18)
65
+ builder (>= 2.1.2)
66
+ diff-lcs (>= 1.1.3)
67
+ gherkin (~> 2.12)
68
+ multi_json (>= 1.7.5, < 2.0)
69
+ multi_test (>= 0.1.1)
70
+ debugger-linecache (1.2.0)
71
+ diff-lcs (1.2.5)
72
+ docile (1.1.5)
73
+ dotenv (1.0.2)
74
+ equalizer (0.0.9)
75
+ erubis (2.7.0)
76
+ excon (0.43.0)
77
+ fedux_org-stdlib (0.11.12)
78
+ activesupport
79
+ ffi (1.9.6)
80
+ filegen (0.4.3)
81
+ activesupport
82
+ foreman (0.77.0)
83
+ dotenv (~> 1.0.2)
84
+ thor (~> 0.19.1)
85
+ fuubar (2.0.0)
86
+ rspec (~> 3.0)
87
+ ruby-progressbar (~> 1.4)
88
+ gherkin (2.12.2)
89
+ multi_json (~> 1.3)
90
+ github-markup (1.3.1)
91
+ posix-spawn (~> 0.3.8)
92
+ httparty (0.13.3)
93
+ json (~> 1.8)
94
+ multi_xml (>= 0.5.2)
95
+ i18n (0.7.0)
96
+ ice_nine (0.11.1)
97
+ inch (0.5.10)
98
+ pry
99
+ sparkr (>= 0.2.0)
100
+ term-ansicolor
101
+ yard (~> 0.8.7.5)
102
+ json (1.8.2)
103
+ launchy (2.4.3)
104
+ addressable (~> 2.3)
105
+ libv8 (3.16.14.7)
106
+ license_finder (1.2)
107
+ bundler
108
+ httparty
109
+ sequel
110
+ sqlite3
111
+ thor
112
+ xml-simple
113
+ memoizable (0.4.2)
114
+ thread_safe (~> 0.3, >= 0.3.1)
115
+ method_source (0.8.2)
116
+ mime-types (2.4.3)
117
+ minitest (5.5.1)
118
+ morpher (0.2.3)
119
+ abstract_type (~> 0.0.7)
120
+ adamantium (~> 0.2.0)
121
+ anima (~> 0.2.0)
122
+ ast (~> 2.0.0)
123
+ concord (~> 0.1.4)
124
+ equalizer (~> 0.0.9)
125
+ ice_nine (~> 0.11.0)
126
+ procto (~> 0.0.2)
127
+ multi_json (1.10.1)
128
+ multi_test (0.1.1)
129
+ multi_xml (0.5.5)
130
+ mutant (0.7.4)
131
+ abstract_type (~> 0.0.7)
132
+ adamantium (~> 0.2.0)
133
+ anima (~> 0.2.0)
134
+ ast (~> 2.0)
135
+ concord (~> 0.1.5)
136
+ diff-lcs (~> 1.2)
137
+ equalizer (~> 0.0.9)
138
+ ice_nine (~> 0.11.1)
139
+ memoizable (~> 0.4.2)
140
+ morpher (~> 0.2.3)
141
+ parallel (~> 1.3)
142
+ parser (~> 2.2.pre.7)
143
+ procto (~> 0.0.2)
144
+ unparser (~> 0.1.16)
145
+ mutant-rspec (0.7.4)
146
+ mutant (~> 0.7.4)
147
+ rspec-core (>= 3.0.0, < 3.2.0)
148
+ netrc (0.10.2)
149
+ parallel (1.3.3)
150
+ parser (2.2.0.2)
151
+ ast (>= 1.1, < 3.0)
152
+ posix-spawn (0.3.9)
153
+ powerpack (0.0.9)
154
+ procto (0.0.2)
155
+ pry (0.10.1)
156
+ coderay (~> 1.1.0)
157
+ method_source (~> 0.8.1)
158
+ slop (~> 3.4)
159
+ pry-byebug (2.0.0)
160
+ byebug (~> 3.4)
161
+ pry (~> 0.10)
162
+ pry-doc (0.6.0)
163
+ pry (~> 0.9)
164
+ yard (~> 0.8)
165
+ rainbow (2.0.0)
166
+ rake (10.4.2)
167
+ redcarpet (3.2.2)
168
+ ref (1.0.5)
169
+ rest-client (1.7.2)
170
+ mime-types (>= 1.16, < 3.0)
171
+ netrc (~> 0.7)
172
+ rspec (3.1.0)
173
+ rspec-core (~> 3.1.0)
174
+ rspec-expectations (~> 3.1.0)
175
+ rspec-mocks (~> 3.1.0)
176
+ rspec-core (3.1.7)
177
+ rspec-support (~> 3.1.0)
178
+ rspec-expectations (3.1.2)
179
+ diff-lcs (>= 1.2.0, < 2.0)
180
+ rspec-support (~> 3.1.0)
181
+ rspec-mocks (3.1.3)
182
+ rspec-support (~> 3.1.0)
183
+ rspec-support (3.1.2)
184
+ rubocop (0.28.0)
185
+ astrolabe (~> 1.3)
186
+ parser (>= 2.2.0.pre.7, < 3.0)
187
+ powerpack (~> 0.0.6)
188
+ rainbow (>= 1.99.1, < 3.0)
189
+ ruby-progressbar (~> 1.4)
190
+ ruby-progressbar (1.7.1)
191
+ rugged (0.21.3)
192
+ sequel (4.18.0)
193
+ simplecov (0.9.1)
194
+ docile (~> 1.1.0)
195
+ multi_json (~> 1.0)
196
+ simplecov-html (~> 0.8.0)
197
+ simplecov-html (0.8.0)
198
+ slop (3.6.0)
199
+ smart_colored (1.1.1)
200
+ sparkr (0.4.1)
201
+ sqlite3 (1.3.10)
202
+ stackprof (0.2.7)
203
+ term-ansicolor (1.3.0)
204
+ tins (~> 1.0)
205
+ therubyracer (0.12.1)
206
+ libv8 (~> 3.16.14.0)
207
+ ref
208
+ therubyrhino (2.0.4)
209
+ therubyrhino_jar (>= 1.7.3)
210
+ therubyrhino_jar (1.7.4)
211
+ thor (0.19.1)
212
+ thread_safe (0.3.4)
213
+ tilt (2.0.1)
214
+ tins (1.3.3)
215
+ tmrb (1.2.7)
216
+ thor
217
+ travis-lint (2.0.0)
218
+ json
219
+ tzinfo (1.2.2)
220
+ thread_safe (~> 0.1)
221
+ unparser (0.1.16)
222
+ abstract_type (~> 0.0.7)
223
+ adamantium (~> 0.2.0)
224
+ concord (~> 0.1.5)
225
+ equalizer (~> 0.0.9)
226
+ parser (~> 2.2.0.pre.7)
227
+ procto (~> 0.0.2)
228
+ versionomy (0.4.4)
229
+ blockenspiel (>= 0.4.5)
230
+ xml-simple (1.1.4)
231
+ yard (0.8.7.6)
232
+
233
+ PLATFORMS
234
+ ruby
235
+
236
+ DEPENDENCIES
237
+ activesupport
238
+ addressable
239
+ aruba!
240
+ awesome_print
241
+ bundler
242
+ byebug
243
+ command_exec
244
+ coveralls
245
+ cucumber
246
+ erubis
247
+ excon
248
+ filegen
249
+ foreman
250
+ fuubar
251
+ github-markup
252
+ inch
253
+ launchy
254
+ letter_generator!
255
+ license_finder
256
+ mutant
257
+ mutant-rspec
258
+ pry
259
+ pry-byebug
260
+ pry-doc
261
+ rake
262
+ redcarpet
263
+ rspec
264
+ rubocop (>= 0.25.0)
265
+ rugged
266
+ simplecov
267
+ stackprof
268
+ therubyracer
269
+ therubyrhino
270
+ tmrb
271
+ travis-lint
272
+ versionomy
273
+ yard
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # LetterGenerator
2
2
 
3
- TODO: Write a gem description
3
+ This generator will generate a LaTex Letter Template in the current directory.
4
4
 
5
5
  ## Installation
6
6
 
@@ -20,7 +20,43 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
23
+ You need to place an ERB-template at any of this places
24
+
25
+ 1. `<current working directory>/templates/letter.tt`
26
+ 2. `$HOME/.config/letter_generator/templates/letter.tt`
27
+ 3. `$HOME/.letter_generator/templates/letter.tt`
28
+ 4. `/etc/letter_generator/templates/letter.tt`
29
+
30
+ Generate letter based on template:
31
+
32
+ 1. Create a directory first
33
+
34
+ ```
35
+ mkdir -p directory
36
+ cd directory
37
+ ```
38
+
39
+ 2. Create a data file - e.g. data.yaml - in directory
40
+
41
+ ```yaml
42
+ from:
43
+ name: Max Muster
44
+ street: Musterstraße 1
45
+ city: 11111 Musterhausen
46
+ to:
47
+ name: Mina Muster
48
+ street: Musterstraße 2
49
+ city: 22222 Musterstadt
50
+ subject: Lovely hearing from you
51
+ ```
52
+
53
+ 3. Run generator
54
+
55
+ ```bash
56
+ letter_generator generate
57
+ ```
58
+
59
+ After this a tex file named "letter.tex" exists.
24
60
 
25
61
  ## Contributing
26
62
 
data/Rakefile CHANGED
@@ -1,3 +1,2 @@
1
- namespace :gem do
2
- require 'bundler/gem_tasks'
3
- end
1
+ require 'fedux_org_stdlib/rake_tasks/gems'
2
+ require 'fedux_org_stdlib/rake_tasks/software_version'
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+ # LetterGenerator
1
3
  module LetterGenerator
2
- VERSION = '0.0.1'
4
+ VERSION = '0.0.3'
3
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: letter_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Meyer
@@ -94,6 +94,7 @@ files:
94
94
  - ".simplecov"
95
95
  - ".yardopts"
96
96
  - Gemfile
97
+ - Gemfile.lock
97
98
  - LICENSE.txt
98
99
  - README.md
99
100
  - Rakefile