omah 0.6.3 → 0.6.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d4121f18cc3e86a265a1e281ac2f18952b99e5a
4
- data.tar.gz: b215bf0df8972274c22f848fc9009cd43f2d6b99
3
+ metadata.gz: b146cfeb7578c86077aa7b208dba9a2a88d7098f
4
+ data.tar.gz: e9e07f160a0357e4fcb4272d8c250cb709e225c7
5
5
  SHA512:
6
- metadata.gz: 558b32b67053da5729f3a9ade66148816a7ed56452ab032c4f321b939502f383fa7659a1cf7f349d5404f4f7eb6cad54aeac5a2e1f0b2131d4068a8197a5299a
7
- data.tar.gz: 3489abf05ba3652199b72c6b7a112a84c2662922dcd87d76d895fec95798711b2ced675728a216654dba8c524998c62a3fb9cf0fed6a04715d48b858fd0b7780
6
+ metadata.gz: e84aeb89ef14106737f2f81188923944e45017bae38b41e62466b8298eb9dd71d8f0562bc8a201ea44c3e4849b0c550282fb71664e3df4fd8e0a2e01031738bc
7
+ data.tar.gz: 8f1541d6bbe3788f1eab29da4a0325bbe22a7649e1d5430a82f2aff32f6ffc7e8250277cf838f853735e1b9a2bff957a8d0a24a6ffcafe32a99d8cb106a3150c
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/omah.rb CHANGED
@@ -30,10 +30,15 @@ class Omah
30
30
 
31
31
 
32
32
  filepath_user = File.join(filepath, @user)
33
-
33
+
34
+
35
+ Dir.chdir filepath
36
+
34
37
  FileUtils.mkdir_p filepath_user # attempt to
35
38
  # mkdir regardless if it already exists
39
+
36
40
  Dir.chdir filepath_user
41
+
37
42
 
38
43
  dailyfile = 'dynarexdaily.xml'
39
44
 
@@ -198,7 +203,9 @@ class Omah
198
203
 
199
204
 
200
205
  def text_sanitiser(s)
201
-
206
+ # Parsing HTML has proved problematic either way. Instead we will just
207
+ # return whatever is given.
208
+ =begin
202
209
  begin
203
210
  Rexle.new "<root>#{s}</root>"
204
211
  s2 = s
@@ -206,7 +213,8 @@ class Omah
206
213
  doc = Nokorexi.new(s).to_doc
207
214
  s2 = doc.xml
208
215
  end
209
-
216
+ =end
217
+ s
210
218
  end
211
219
 
212
220
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  3LosTxP//qasvjSWNDjmKeTI4/c/fvSDtS5mLXCsxnJ/1Jp4zlO0rZWz0/BgcPFj
32
32
  GUN8SqUlRq5unw==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-05-26 00:00:00.000000000 Z
34
+ date: 2015-06-03 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex-daily
metadata.gz.sig CHANGED
Binary file