rarse 1.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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/rarse.rb +10 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a6f2508d1e0a63d18775de1243f3228ca7a3d73d
4
+ data.tar.gz: b329f691b834e8bde857055b5312e0c14b0d8a58
5
+ SHA512:
6
+ metadata.gz: 13545994e39d58587ad2872f620c7a37c7154cbb296296fd4ff3cc309c9372d4da85bbc09a47a578e9dba12a81f418bf3c0f973afc9bb77b8605313ddbb7da17
7
+ data.tar.gz: c151b1822934a399036f97398747fcb4c73c8f63aa73407ea351dce088d45a48cce68c5dbf52032ad878e500bf6e2d7c76dd05f493e07470bce5ea4409f0a1c4
data/lib/rarse.rb ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'JSON'
4
+
5
+ class Rarse
6
+ def parse(file)
7
+ json = File.read(file)
8
+ json = JSON.parse(json)
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rarse
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ platform: ruby
6
+ authors:
7
+ - Josh
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-05-24 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: An easier way to read .json files and parse them into Ruby hashes
14
+ email: joshception@icloud.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/rarse.rb
20
+ homepage: http://rubygems.org/gems/rarse
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.2.2
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Ruby JSON File Read Parse
44
+ test_files: []
45
+ has_rdoc: