data_accessible 1.0.1 → 1.0.2

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: 99ab12459828452824677b744a9f028ea51c548b
4
- data.tar.gz: 93783eb27c03791add656c63023b1c2604a2475d
3
+ metadata.gz: 225748d2b0c267463df7a377999d6194b1e1db28
4
+ data.tar.gz: 1c3e1e6016a257cb71aebd5f0e58b740db94f07d
5
5
  SHA512:
6
- metadata.gz: d7342dee996ad53ef5caa0cb048a1ab7c7d4ff3eacd5ccdee13c304536e8652fcb7b3b9403914952901aaa94e84d4c2a3452682a9fd412d97d791916580cfba0
7
- data.tar.gz: 8293503539f468b2bb7791bfe514bf1b17160f2672c95e26ed71883562fff04cb0d15f98ea4993eacf18a9acb34db0d52b8477c598c534ebff729ac20a0d1afe
6
+ metadata.gz: 20a833e2e2152dd06cf3011c53f9ecd9be95cf16f8ddd68fb481b4b6798b5020e4394c8b3019be9bf1997258d98a138b975f4f223ec5180c234b3e255b4670c3
7
+ data.tar.gz: 96f3f7b909409f396ad5365db53edb8eec23eb95759bbd549c637b9b42fc88a362dc620d32b76b02252f5c74e67e2054686eff0693d9bdec1f9669adb3227973
@@ -2,6 +2,10 @@ require "erb"
2
2
  require "yaml"
3
3
 
4
4
  module DataAccessible
5
+ def self.include_data(filename)
6
+ ERB.new(IO.read("#{filename}")).result
7
+ end
8
+
5
9
  module DataLoader
6
10
  module_function
7
11
 
@@ -1,3 +1,3 @@
1
1
  module DataAccessible
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_accessible
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Nyman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-28 00:00:00.000000000 Z
11
+ date: 2017-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,7 +109,7 @@ licenses:
109
109
  - MIT
110
110
  metadata: {}
111
111
  post_install_message: "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n
112
- \ DataAccessible 1.0.1 has been installed.\n(::) (::) (::) (::) (::) (::) (::) (::)
112
+ \ DataAccessible 1.0.2 has been installed.\n(::) (::) (::) (::) (::) (::) (::) (::)
113
113
  (::) (::) (::) (::)\n "
114
114
  rdoc_options: []
115
115
  require_paths: