ddr-aux-client 1.0.0.pre.2 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +1 -1
- data/Rakefile +0 -79
- data/lib/ddr_aux/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a146d36612ec7c09f60ad2582f8e762f9e12612
|
4
|
+
data.tar.gz: 2f4abcb0cf435adfa3ca399296573e8f98dc8e86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9ea9ad58db13d07e530c5d63c5260cc930ff121d351a9e4ff13e569ff621d70c212f971c0e82330c6d03f2e0ee73d06b93bb0060e1cbb7b158b41ccbc98c8e0
|
7
|
+
data.tar.gz: d39ad9b53321c4b59951ae2832305aaa967cdee2ba3f7b6a266a72400927028f7c9590a46bff3492155a898ad472e0229178510d10bf183f009aebbab4933f17
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
@@ -4,82 +4,3 @@ require "rspec/core/rake_task"
|
|
4
4
|
RSpec::Core::RakeTask.new(:spec)
|
5
5
|
|
6
6
|
task :default => :spec
|
7
|
-
|
8
|
-
DDR_AUX_VERSION = "1.0.0.rc2"
|
9
|
-
DDR_AUX_DOWNLOAD = "https://github.com/duke-libraries/ddr-aux/archive/v#{DDR_AUX_VERSION}.zip"
|
10
|
-
DDR_AUX_ZIP = "ddr-aux.zip"
|
11
|
-
DDR_AUX_HOST = "127.0.0.1"
|
12
|
-
DDR_AUX_PORT = "3030"
|
13
|
-
|
14
|
-
namespace :tmp do
|
15
|
-
desc "Create tmp directory"
|
16
|
-
task :create do
|
17
|
-
system "mkdir -p tmp"
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
namespace :ddr_aux do
|
22
|
-
desc "Cleanup ddr-aux app"
|
23
|
-
task :clean do
|
24
|
-
Dir.chdir("tmp") do
|
25
|
-
system "rm -rf ddr-aux"
|
26
|
-
system "rm", DDR_AUX_ZIP
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
desc "Download ddr-aux release"
|
31
|
-
task :download => ["tmp:create"] do
|
32
|
-
Dir.chdir("tmp") do
|
33
|
-
system "curl", "-kL", "-o", DDR_AUX_ZIP, DDR_AUX_DOWNLOAD
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
desc "Unzip ddr-aux download"
|
38
|
-
task :unzip do
|
39
|
-
Dir.chdir("tmp") do
|
40
|
-
system "unzip", DDR_AUX_ZIP
|
41
|
-
system "mv ddr-aux-#{DDR_AUX_VERSION} ddr-aux"
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
desc "Initialize ddr-aux app"
|
46
|
-
task :init do
|
47
|
-
Dir.chdir("tmp/ddr-aux") do
|
48
|
-
system "bin/bundle install"
|
49
|
-
system "bin/bundle exec bin/rake db:setup"
|
50
|
-
end
|
51
|
-
puts "ddr-aux app installed."
|
52
|
-
end
|
53
|
-
|
54
|
-
desc "Install ddr-aux app"
|
55
|
-
task :install => [:clean, :download, :unzip, :init]
|
56
|
-
|
57
|
-
desc "Start ddr-aux development server"
|
58
|
-
task :start do
|
59
|
-
Dir.chdir("tmp/ddr-aux") do
|
60
|
-
system("bin/bundle exec bin/rails server -d -b #{DDR_AUX_HOST} -p #{DDR_AUX_PORT}")
|
61
|
-
end
|
62
|
-
puts "ddr-aux development server started."
|
63
|
-
end
|
64
|
-
|
65
|
-
desc "Stop ddr-aux development server"
|
66
|
-
task :stop do
|
67
|
-
Dir.chdir("tmp/ddr-aux") do
|
68
|
-
system "kill -s QUIT $(cat tmp/pids/server.pid)"
|
69
|
-
end
|
70
|
-
puts "ddr-aux development server stopped."
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
desc "CI build"
|
75
|
-
task :ci do
|
76
|
-
unless Dir.exist?("tmp/ddr-aux")
|
77
|
-
Rake::Task["ddr_aux:install"].invoke
|
78
|
-
end
|
79
|
-
Rake::Task["ddr_aux:start"].invoke
|
80
|
-
begin
|
81
|
-
Rake::Task["spec"].invoke
|
82
|
-
ensure
|
83
|
-
Rake::Task["ddr_aux:stop"].invoke
|
84
|
-
end
|
85
|
-
end
|