logs_visualizer 0.1.0 → 0.2.0

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: a9d5356fbd24e89d31d0da0b7d7e1e52f2681034
4
- data.tar.gz: 9cfe0723d53bffeda1dba5d276def131537ba974
3
+ metadata.gz: 4a26c51607f483b9e21ef5d487fba28340e21a90
4
+ data.tar.gz: db3f391bf7cf89286da63d4c8606dd174c540d79
5
5
  SHA512:
6
- metadata.gz: e8adbed0f74d39f72bcc2eaa1e4148a9a88fde9a3ec112cd576f0f71922fb5a86ce17d3fc4f8d78a83ab864ee9dc9769ffb31bd846eb205d1ee334d9038090c9
7
- data.tar.gz: e6926cfcd1c377c123fc96c96e8508fbbc9ceb06e55fcae51e779e6d918683153625374b88bbbcdbcc2d80d22f0d098828361f2df4bca9fb1ef5c70a4026bc26
6
+ metadata.gz: b4101b68d67b4f4e07ae760c3541e2c66023b70f523d786e165ed19f354c34de07053f1f96abc6871b70ac4c2320e4ecc4eb2a773615e76591663115e51509f3
7
+ data.tar.gz: 670eaf1fd1f77bce62286d2ac3406b72295ea1067efe1ae0c1bf898dd1d20a664ca1fa6a7c090c3f17c4709b0432ec5e832a2e5a64f7df232461f2250f2f49e7
@@ -1,3 +1,7 @@
1
+ ## 0.2.0 (2016-09-16)
2
+
3
+ Some minimal changes regarding where to save the image files
4
+
1
5
  ## 0.1.0 (2016-09-03)
2
6
 
3
7
  Initial commit
@@ -229,7 +229,10 @@ module LogsVisualizer
229
229
  end
230
230
  end
231
231
 
232
- directory_name = 'graphs'
232
+ directory_name = 'app/assets/images/graphs'
233
+ FileUtils.mkdir_p('app') unless File.directory?('app')
234
+ FileUtils.mkdir_p('app/assets') unless File.directory?('app/assets')
235
+ FileUtils.mkdir_p('app/assets/images') unless File.directory?('app/assets/images')
233
236
  FileUtils.mkdir_p(directory_name) unless File.directory?(directory_name)
234
237
  graph.output(:png => "#{directory_name}/#{graph_name.present? ? graph_name : "graph_#{DateTime.now.strftime('%H%M%S%L')}" }.png" )
235
238
  end
@@ -1,3 +1,3 @@
1
1
  module LogsVisualizer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logs_visualizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasilis Kalligas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-03 00:00:00.000000000 Z
11
+ date: 2016-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler