data_files 1.0.0.rc1 → 1.0.0.rc2
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 +4 -4
- data/Rakefile +1 -11
- data/lib/data_files/version.rb +1 -1
- data/lib/data_files.rb +1 -0
- data/tasks/data_files.rake +11 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b0beb7fed0e1563b55eec2bedd9f9fd0fa2a6659ddceccda609f2fe339f76b3
|
4
|
+
data.tar.gz: 3e1e99b758eaeade0e0ccd95fa599fe9ecc2638c4c4db017a67baa7a37eb752e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 454ae83d52a490429d251a3d58b868370299d77e628be87747848f06e79434c260a2268f2431e64f1af783da4e4b9f39bd795c8b68b62876b6f1d7fb2e74ff95
|
7
|
+
data.tar.gz: c8e9d5afb0c874367d6224fb037360be86d0e800d377459d7e55ae0a292e7cac9d1e6e940c7500f3313b205f9f9835c0ed7b8e9fcad0cb3492507a0fa05dd343
|
data/Rakefile
CHANGED
@@ -1,19 +1,9 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
require "rake/testtask"
|
3
|
-
require_relative "lib/data_files
|
3
|
+
require_relative "lib/data_files.rb"
|
4
4
|
|
5
5
|
Rake::TestTask.new(:test) do |t|
|
6
6
|
t.libs << "test"
|
7
7
|
t.libs << "lib"
|
8
8
|
t.test_files = FileList["test/**/*_test.rb"]
|
9
9
|
end
|
10
|
-
|
11
|
-
task :"data_files" do |t|
|
12
|
-
unless Dir.exist?(File.join(Dir.pwd, 'data'))
|
13
|
-
puts 'Could not find data directory in working directory.'
|
14
|
-
exit
|
15
|
-
end
|
16
|
-
|
17
|
-
data_files = DataFiles::REPL.new(Dir.pwd)
|
18
|
-
data_files.prompt
|
19
|
-
end
|
data/lib/data_files/version.rb
CHANGED
data/lib/data_files.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Rake.add_rakelib 'tasks'
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require_relative "../lib/data_files/repl"
|
2
|
+
|
3
|
+
task :"data_files" do |t|
|
4
|
+
unless Dir.exist?(File.join(Dir.pwd, 'data'))
|
5
|
+
puts 'Could not find data directory in working directory.'
|
6
|
+
exit
|
7
|
+
end
|
8
|
+
|
9
|
+
data_files = DataFiles::REPL.new(Dir.pwd)
|
10
|
+
data_files.prompt
|
11
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_files
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Zecher
|
@@ -29,9 +29,11 @@ files:
|
|
29
29
|
- data-files.gemspec
|
30
30
|
- data/games.yml
|
31
31
|
- data/lists.yml
|
32
|
+
- lib/data_files.rb
|
32
33
|
- lib/data_files/active_data.rb
|
33
34
|
- lib/data_files/repl.rb
|
34
35
|
- lib/data_files/version.rb
|
36
|
+
- tasks/data_files.rake
|
35
37
|
homepage: https://github.com/pixelate/data-files
|
36
38
|
licenses:
|
37
39
|
- MIT
|