fanforce-app-worker 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +12 -38
- data/lib/fanforce/app_worker/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: 7cd3df7b54f40fd3a6aea8b03fcce152237f1f3d
|
4
|
+
data.tar.gz: d6a19406215b82d0a075b179a3f3e4c7b5ef6774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0af0b9f7f408d23638841246eb64f96e8f8fbae779cf7d085f2b077a3bacb8996c9d0aa6b75a2e64d0af0a36a6089569be8d33b7ae27d9c0971c18042858c419
|
7
|
+
data.tar.gz: 17804af0fe92c35bfd2287f2f783609a18bc91ebf6478eb65e99f4fb58d10acb85e6b15f93cd69ff469764b4b0659624f39b8fbba2594311c3ce31d78cd2c4bf
|
data/Rakefile
CHANGED
@@ -1,27 +1,18 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
|
-
require 'rubygems'
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'fileutils'
|
5
|
-
require 'logger'
|
6
|
-
require 'rake/testtask'
|
7
|
-
require 'active_support/all'
|
8
1
|
require 'bundler/gem_tasks'
|
2
|
+
require 'rake/testtask'
|
3
|
+
require 'fileutils'
|
4
|
+
include FileUtils
|
9
5
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
6
|
+
task :run_test do
|
7
|
+
Rake::Task['test'].execute
|
8
|
+
puts '---------------------------------------------------------------------'
|
9
|
+
puts 'TESTS PASSED... READY TO BUILD...'
|
10
|
+
puts '---------------------------------------------------------------------'
|
11
|
+
end
|
12
|
+
task :build => :run_test
|
13
|
+
task :default => :build
|
16
14
|
|
17
|
-
|
18
|
-
lines.each do |line|
|
19
|
-
keyValue = line.split('=', 2)
|
20
|
-
next unless keyValue.count == 2
|
21
|
-
ENV[keyValue.first] = keyValue.last.gsub("'",'').gsub('"','')
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end if !ENV['RACK_ENV'] or ENV['RACK_ENV'] == 'development'
|
15
|
+
########################################################################
|
25
16
|
|
26
17
|
Rake::TestTask.new do |t|
|
27
18
|
t.libs.push 'lib'
|
@@ -29,20 +20,3 @@ Rake::TestTask.new do |t|
|
|
29
20
|
t.pattern = 'test/**/*_test.rb'
|
30
21
|
t.verbose = false
|
31
22
|
end
|
32
|
-
|
33
|
-
#########################################################################################################
|
34
|
-
|
35
|
-
Rake::TaskManager.record_task_metadata = true
|
36
|
-
|
37
|
-
task :default do
|
38
|
-
puts "\nAVAILABLE TASKS:"
|
39
|
-
Rake.application.options.show_tasks = :tasks
|
40
|
-
Rake.application.options.full_description = false
|
41
|
-
Rake.application.options.show_task_pattern = //
|
42
|
-
Rake.application.display_tasks_and_comments
|
43
|
-
puts "\n"
|
44
|
-
end
|
45
|
-
|
46
|
-
task :environment do
|
47
|
-
|
48
|
-
end
|