services 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/lib/services.rb +1 -1
- data/lib/services/base/uniqueness_checker.rb +1 -0
- data/lib/services/version.rb +1 -1
- data/spec/spec_helper.rb +8 -6
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27e055eee440bd9ed9a3dbd75cd00f7d3cb698f7
|
4
|
+
data.tar.gz: 2181326e31959eac2771f156dfbf70cd1823c879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7f8e924430f1cdcbcbcdf1ff641c6aa11ec7bc48a48e485af11116ae4e34a7423e4f3331bcd032a77fa6e030cf10f1611633cb8cfb8f034fcb7723903790b63
|
7
|
+
data.tar.gz: 04003c6e3ad8fb6ef39e48ec0c86d35ae039098884d3fe904e3bc2ff0d2efec903c75c12bb6907a62abb124a014d87157e4a81200e3c66f77474666e94c3381f
|
data/.travis.yml
ADDED
data/lib/services.rb
CHANGED
@@ -19,7 +19,7 @@ begin
|
|
19
19
|
rescue Services::BackgroundProcessorNotFound
|
20
20
|
end
|
21
21
|
require_relative 'services/base/call_logger'
|
22
|
-
require_relative 'services/base/
|
22
|
+
require_relative 'services/base/exception_wrapper'
|
23
23
|
require_relative 'services/base/uniqueness_checker'
|
24
24
|
require_relative 'services/base'
|
25
25
|
require_relative 'services/railtie' if defined?(Rails)
|
data/lib/services/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -43,7 +43,8 @@ RSpec.configure do |config|
|
|
43
43
|
pidfile: redis_pidfile
|
44
44
|
}
|
45
45
|
redis = support_dir.join('redis-server')
|
46
|
-
|
46
|
+
# TODO: Redis should be started here unless Rspec is executed by Travis CI
|
47
|
+
# system "#{redis} #{options_hash_to_string(redis_options)}"
|
47
48
|
|
48
49
|
# Start Sidekiq
|
49
50
|
sidekiq_options = {
|
@@ -68,11 +69,12 @@ RSpec.configure do |config|
|
|
68
69
|
|
69
70
|
# Stop Redis
|
70
71
|
redis_cli = support_dir.join('redis-cli')
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
72
|
+
# TODO: Redis should be stopped here unless Rspec is executed by Travis CI
|
73
|
+
# system "#{redis_cli} -p #{redis_port} shutdown"
|
74
|
+
# while File.exist?(redis_pidfile)
|
75
|
+
# puts 'Waiting for Redis to shut down...'
|
76
|
+
# sleep 1
|
77
|
+
# end
|
76
78
|
|
77
79
|
# Truncate log files
|
78
80
|
max_len = 1024 * 1024 # 1 MB
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Meurer
|
@@ -135,6 +135,7 @@ extensions: []
|
|
135
135
|
extra_rdoc_files: []
|
136
136
|
files:
|
137
137
|
- .gitignore
|
138
|
+
- .travis.yml
|
138
139
|
- Gemfile
|
139
140
|
- Guardfile
|
140
141
|
- LICENSE.txt
|