timers 4.1.0 → 4.1.1

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: 8fd3554aab4028decec14d741c973f4ffe5d414a
4
- data.tar.gz: 082bf7c3ec19a1d60df84d1b81a033a888e6b922
3
+ metadata.gz: 107c4a8a97789c9580117a8eca6cb72af1390d54
4
+ data.tar.gz: 6687f8c8b655ce609a3ecf0a4519dd001baf4e2b
5
5
  SHA512:
6
- metadata.gz: 354c245b317b5cf5127b6bc0ce76d24c0c9c73f7a170afd4e2d7d286a007018a94ee9c628ce86793b799c71946e07a718d83154b3a8e1a25254adaea91e72725
7
- data.tar.gz: 56d3a3b9d8e54171892347c7ab67dc936216c12bda07f910ddc3b766a99f7ccd8398179e980285ab7307d734a516d91623b93e68db1ae59cc3df686585f78f5f
6
+ metadata.gz: 5f838fdcc30e595940ffc40325aea12578b16bf91a279feeafa247eb2d349d2724ec96715ab6d392531efcf7ff9f9e9a44a19b977bfb13a32629ead0a4358bda
7
+ data.tar.gz: 1fba4a0bad3f7b284ed4a45e6cc1e156cf66082041ec7a767cad14471e3b82a0c4bf068ea874d5e9f6bb90e3a8a571c73ebb710cb50df0d809dc3d65b470fffb
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ 4.1.1 (2015-08-21)
2
+ ------------------
3
+ * Remove `RubyProf` from Gemfile and a test, due to it providing no substantial benefit while increasing problems building bundles under Rubinius.
4
+
1
5
  4.1.0 (2015-08-16)
2
6
  ------------------
3
7
  * Addition of `now_and_every` method; fires block immediately, then sets recurring timer.
data/Gemfile CHANGED
@@ -4,7 +4,3 @@ gem 'coveralls', :require => false
4
4
 
5
5
  # Specify your gem's dependencies in timers.gemspec
6
6
  gemspec
7
-
8
- unless RUBY_PLATFORM =~ /java/
9
- gem "ruby-prof", :group => :development
10
- end
@@ -1,3 +1,3 @@
1
1
  module Timers
2
- VERSION = "4.1.0"
2
+ VERSION = "4.1.1"
3
3
  end
@@ -1,6 +1,4 @@
1
-
2
1
  require 'spec_helper'
3
- require 'ruby-prof' unless RUBY_PLATFORM =~ /java/
4
2
 
5
3
  # Event based timers:
6
4
 
@@ -41,25 +39,7 @@ require 'ruby-prof' unless RUBY_PLATFORM =~ /java/
41
39
  # Serviced 1142649 events in 11.194903921 seconds, 102068.70405115146 e/s.
42
40
 
43
41
  RSpec.describe Timers::Group do
44
- if defined? RubyProf
45
- before(:each) do
46
- # Running RubyProf makes the code slightly slower.
47
- RubyProf.start
48
- puts "*** Running with RubyProf reduces performance ***"
49
- end
50
42
 
51
- after(:each) do |arg|
52
- if RubyProf.running?
53
- # file = arg.metadata[:description].gsub(/\s+/, '-')
54
-
55
- result = RubyProf.stop
56
-
57
- printer = RubyProf::FlatPrinter.new(result)
58
- printer.print($stderr, min_percent: 1.0)
59
- end
60
- end
61
- end
62
-
63
43
  it "runs efficiently" do
64
44
  result = []
65
45
  range = (1..500)
metadata CHANGED
@@ -1,16 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timers
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-17 00:00:00.000000000 Z
11
+ date: 2015-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ version_requirements: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
14
19
  name: hitimes
15
20
  type: :runtime
16
21
  prerelease: false
@@ -19,12 +24,12 @@ dependencies:
19
24
  - - ">="
20
25
  - !ruby/object:Gem::Version
21
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
22
28
  version_requirements: !ruby/object:Gem::Requirement
23
29
  requirements:
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
33
  name: rake
29
34
  type: :development
30
35
  prerelease: false
@@ -33,12 +38,12 @@ dependencies:
33
38
  - - ">="
34
39
  - !ruby/object:Gem::Version
35
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - ">="
44
+ - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
46
+ version: 3.0.0
42
47
  name: rspec
43
48
  type: :development
44
49
  prerelease: false
@@ -47,11 +52,6 @@ dependencies:
47
52
  - - "~>"
48
53
  - !ruby/object:Gem::Version
49
54
  version: 3.0.0
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 3.0.0
55
55
  description: Pure Ruby one-shot and periodic timers
56
56
  email:
57
57
  - tony.arcieri@gmail.com