datacalc 0.0.0 → 0.0.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.
Files changed (2) hide show
  1. data/lib/datacalc.rb +1 -1
  2. metadata +3 -2
@@ -4,7 +4,7 @@ class DataCalc
4
4
  attr_accessor :length, :output, :input
5
5
 
6
6
  def initialize(input)
7
- @input = JSON.parse(File.read(input))
7
+ @input = JSON.parse(input)
8
8
  @length = @input.length
9
9
  @output = nil
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datacalc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-30 00:00:00.000000000 Z
12
+ date: 2014-01-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Some data calculation/manipulation for Transparency Toolkit.
15
15
  email: shidash@shidash.com
@@ -44,3 +44,4 @@ signing_key:
44
44
  specification_version: 3
45
45
  summary: Transparency Toolkit Data Calculation
46
46
  test_files: []
47
+ has_rdoc: