memosig 0.0.3 → 0.1.0

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: 61259555af8cb829a3e5e7dad21bb9dc87213cbb
4
- data.tar.gz: f2de007ee11e004301c5c0b77cbc849a06d491a0
3
+ metadata.gz: c9fa57b1b6d5b6a8e40250ef628e438f733c140f
4
+ data.tar.gz: c4ec921e947d8ecd6e736f83bdae95541de8ca25
5
5
  SHA512:
6
- metadata.gz: b577a7c67b658592c1423d0024d6aa7a8c73577ec94933f18107cf5afd7cae33a44d2c4bab4be5d36020589d1d7b13db1a01aedc63e0f586fef69c736a163c51
7
- data.tar.gz: 35c68d11c0a21b3e24f5a265e7001f9a4aadd7d11f1b4da58a78a8cd28f8abdf823f7b15beb0746edbfb90cfb40ef66fef24834e945e0e9fc8ae16df1c4bd629
6
+ metadata.gz: b3a38e0768903354d42420d1ed999ae17b48b93129bc62186c685e38a19f635dbdc16902585ee545e64e6488ba3561224af44451bcb86c0835ac797c2720822e
7
+ data.tar.gz: 8d45ed28118d53b4691f34e4991534046d649144d5e050f0d98c62cba1e6e91c113cf3afd1fc3553aab089b6c63029d9c32cf7002f3c5181cf8afc6640ca1a0d
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  .*.sw[pon]
2
2
  .AppleDouble
3
+ .byebug_history
3
4
  .rvmrc
4
5
  Gemfile.lock
5
6
  coverage
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ GemHadar do
13
13
  'is exceeded.'
14
14
  test_dir 'spec'
15
15
  ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', 'coverage', '.rvmrc',
16
- '.AppleDouble', 'errors.lst'
16
+ '.AppleDouble', 'errors.lst', '.byebug_history'
17
17
  readme 'README.md'
18
18
  title "#{name.camelize}"
19
19
  licenses << 'Apache-2.0'
@@ -21,7 +21,7 @@ GemHadar do
21
21
  executables << 'memosig'
22
22
 
23
23
  dependency 'tins', '~>1.0'
24
- dependency 'complex_config'
24
+ dependency 'complex_config', '~>0.9'
25
25
  development_dependency 'rake'
26
26
  development_dependency 'rspec'
27
27
  development_dependency 'simplecov'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.1.0
@@ -38,7 +38,7 @@ class Memosig::App
38
38
  def check_memory
39
39
  output "checking memory limits"
40
40
  processes = current_processes
41
- for (pattern, config) in Array(@config.processes)
41
+ for (pattern, config) in @config.processes
42
42
  check_memory_for pattern, config, processes
43
43
  end
44
44
  end
@@ -1,6 +1,6 @@
1
1
  module Memosig
2
2
  # Memosig version
3
- VERSION = '0.0.3'
3
+ VERSION = '0.1.0'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -1,53 +1,53 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: memosig 0.0.3 ruby lib
2
+ # stub: memosig 0.1.0 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "memosig"
6
- s.version = "0.0.3"
5
+ s.name = "memosig".freeze
6
+ s.version = "0.1.0"
7
7
 
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
- s.require_paths = ["lib"]
10
- s.authors = ["Florian Frank"]
11
- s.date = "2015-10-26"
12
- s.description = "This excecutable supervises the memory usage of processes, and sends a configurable signal to them if a configured limit is exceeded."
13
- s.email = "flori@ping.de"
14
- s.executables = ["memosig"]
15
- s.extra_rdoc_files = ["README.md", "lib/memosig.rb", "lib/memosig/app.rb", "lib/memosig/matcher.rb", "lib/memosig/output.rb", "lib/memosig/proc_stat.rb", "lib/memosig/version.rb"]
16
- s.files = [".gitignore", ".rspec", ".utilsrc", "COPYING", "Gemfile", "README.md", "Rakefile", "VERSION", "bin/memosig", "lib/memosig.rb", "lib/memosig/app.rb", "lib/memosig/matcher.rb", "lib/memosig/output.rb", "lib/memosig/proc_stat.rb", "lib/memosig/version.rb", "memosig.gemspec", "spec/assets/memosig.yml", "spec/memosig/app_spec.rb", "spec/memosig/matcher_spec.rb", "spec/memosig/output_spec.rb", "spec/memosig/proc_stat_spec.rb", "spec/spec_helper.rb"]
17
- s.homepage = "http://flori.github.com/memosig"
18
- s.licenses = ["Apache-2.0"]
19
- s.rdoc_options = ["--title", "Memosig", "--main", "README.md"]
20
- s.rubygems_version = "2.4.8"
21
- s.summary = "Executable that supervises memory use of processes and signals them"
22
- s.test_files = ["spec/memosig/app_spec.rb", "spec/memosig/matcher_spec.rb", "spec/memosig/output_spec.rb", "spec/memosig/proc_stat_spec.rb", "spec/spec_helper.rb"]
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
+ s.require_paths = ["lib".freeze]
10
+ s.authors = ["Florian Frank".freeze]
11
+ s.date = "2016-11-30"
12
+ s.description = "This excecutable supervises the memory usage of processes, and sends a configurable signal to them if a configured limit is exceeded.".freeze
13
+ s.email = "flori@ping.de".freeze
14
+ s.executables = ["memosig".freeze]
15
+ s.extra_rdoc_files = ["README.md".freeze, "lib/memosig.rb".freeze, "lib/memosig/app.rb".freeze, "lib/memosig/matcher.rb".freeze, "lib/memosig/output.rb".freeze, "lib/memosig/proc_stat.rb".freeze, "lib/memosig/version.rb".freeze]
16
+ s.files = [".gitignore".freeze, ".rspec".freeze, ".utilsrc".freeze, "COPYING".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/memosig".freeze, "lib/memosig.rb".freeze, "lib/memosig/app.rb".freeze, "lib/memosig/matcher.rb".freeze, "lib/memosig/output.rb".freeze, "lib/memosig/proc_stat.rb".freeze, "lib/memosig/version.rb".freeze, "memosig.gemspec".freeze, "spec/assets/memosig.yml".freeze, "spec/memosig/app_spec.rb".freeze, "spec/memosig/matcher_spec.rb".freeze, "spec/memosig/output_spec.rb".freeze, "spec/memosig/proc_stat_spec.rb".freeze, "spec/spec_helper.rb".freeze]
17
+ s.homepage = "http://flori.github.com/memosig".freeze
18
+ s.licenses = ["Apache-2.0".freeze]
19
+ s.rdoc_options = ["--title".freeze, "Memosig".freeze, "--main".freeze, "README.md".freeze]
20
+ s.rubygems_version = "2.6.8".freeze
21
+ s.summary = "Executable that supervises memory use of processes and signals them".freeze
22
+ s.test_files = ["spec/memosig/app_spec.rb".freeze, "spec/memosig/matcher_spec.rb".freeze, "spec/memosig/output_spec.rb".freeze, "spec/memosig/proc_stat_spec.rb".freeze, "spec/spec_helper.rb".freeze]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  s.specification_version = 4
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_development_dependency(%q<gem_hadar>, ["~> 1.3.1"])
29
- s.add_development_dependency(%q<rake>, [">= 0"])
30
- s.add_development_dependency(%q<rspec>, [">= 0"])
31
- s.add_development_dependency(%q<simplecov>, [">= 0"])
32
- s.add_development_dependency(%q<byebug>, [">= 0"])
33
- s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
34
- s.add_runtime_dependency(%q<complex_config>, [">= 0"])
28
+ s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
29
+ s.add_development_dependency(%q<rake>.freeze, [">= 0"])
30
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
31
+ s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
32
+ s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
33
+ s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.0"])
34
+ s.add_runtime_dependency(%q<complex_config>.freeze, ["~> 0.9"])
35
35
  else
36
- s.add_dependency(%q<gem_hadar>, ["~> 1.3.1"])
37
- s.add_dependency(%q<rake>, [">= 0"])
38
- s.add_dependency(%q<rspec>, [">= 0"])
39
- s.add_dependency(%q<simplecov>, [">= 0"])
40
- s.add_dependency(%q<byebug>, [">= 0"])
41
- s.add_dependency(%q<tins>, ["~> 1.0"])
42
- s.add_dependency(%q<complex_config>, [">= 0"])
36
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
37
+ s.add_dependency(%q<rake>.freeze, [">= 0"])
38
+ s.add_dependency(%q<rspec>.freeze, [">= 0"])
39
+ s.add_dependency(%q<simplecov>.freeze, [">= 0"])
40
+ s.add_dependency(%q<byebug>.freeze, [">= 0"])
41
+ s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
42
+ s.add_dependency(%q<complex_config>.freeze, ["~> 0.9"])
43
43
  end
44
44
  else
45
- s.add_dependency(%q<gem_hadar>, ["~> 1.3.1"])
46
- s.add_dependency(%q<rake>, [">= 0"])
47
- s.add_dependency(%q<rspec>, [">= 0"])
48
- s.add_dependency(%q<simplecov>, [">= 0"])
49
- s.add_dependency(%q<byebug>, [">= 0"])
50
- s.add_dependency(%q<tins>, ["~> 1.0"])
51
- s.add_dependency(%q<complex_config>, [">= 0"])
45
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
46
+ s.add_dependency(%q<rake>.freeze, [">= 0"])
47
+ s.add_dependency(%q<rspec>.freeze, [">= 0"])
48
+ s.add_dependency(%q<simplecov>.freeze, [">= 0"])
49
+ s.add_dependency(%q<byebug>.freeze, [">= 0"])
50
+ s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
51
+ s.add_dependency(%q<complex_config>.freeze, ["~> 0.9"])
52
52
  end
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memosig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-26 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3.1
19
+ version: 1.9.1
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.3.1
26
+ version: 1.9.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: complex_config
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '0.9'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '0.9'
111
111
  description: This excecutable supervises the memory usage of processes, and sends
112
112
  a configurable signal to them if a configured limit is exceeded.
113
113
  email: flori@ping.de
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubyforge_project:
172
- rubygems_version: 2.4.8
172
+ rubygems_version: 2.6.8
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: Executable that supervises memory use of processes and signals them