in_threads 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTlmNWM3Y2U1MGJiOTZlMzAwOTA1ODk3MjRkZmM1OTc3ZWFkNmUyOA==
4
+ MjRiZjE4NWM3ZGY5ZjUwNGQ2ZTY0NmU1MzE0ZWQ5N2ZiZWZkMjc0OQ==
5
5
  data.tar.gz: !binary |-
6
- ODcxOTQ5NjcxNGVjMDg1MzdkNzFlYWU4MjkwNjNhMDg2MzE3ZTE3Yg==
6
+ YjY3NmE2NWI0NjgzNDAyN2FhNWUxYjY3OWMxNTk3ZmY2NzQzZDBiMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NDIxYzg5YzY1OWIxYWJiMDAzMDBiNmU3ZTliYTkzNTZkMDA3ZDgxZGMyN2Nm
10
- MDdlYWVlZTYxNDc2ZjJlNDE0M2M2MTQ4OWZmNDQ3MGRjODBhOWQxMTkzOTkz
11
- OTRiY2NhZmEwNmY0OTI3ZWMyYjRjODEzNTkyYmM2NzAxNGU4YjM=
9
+ NjNkMzhlM2JhOGI0YzA2OTU5MWNlYzNlMDBiNjEyYTY5ZWY2ODdiYTE1MjY5
10
+ NDc4MmNkNmQ2MmJkZjhhN2ZhZDdjMDg4NTdkOGU5OTYyMGQ2ZjFkYWYyZGY0
11
+ MmQ3YjdiNDM4YTUyNWE2NjQ1MzIwMTA0MmQwYjY3YjRhOWRkMWM=
12
12
  data.tar.gz: !binary |-
13
- ZjUxYTMyYzdjNzVjYzU1YTQ5NTBmOWEwYmRlMjViMWM3M2ZhZjlhMWQyZmZk
14
- YzBmMWI1NGM4NWVlYjc1ZTNhZjdiMjgzN2QxY2I3ZmQ3MGQ5YjhkZWNlNDE2
15
- OWRmYzgzNTg4N2VmY2EwYmMzZWU2ZmRkYjQ5MTVkN2IzNTg4MDc=
13
+ NDBkOGUxZGFmZmY2YjE4YjFhNTk2NDJjMzQ0OTZkMWY1ZDVhMmIzZjYxYWIw
14
+ NGQ1NDQ4YTg0YWExZWZiY2I3N2I0NWQyZGY5MjM3NzJkZWU3MTE0N2Y5M2Ux
15
+ ZmUwZDhlMmMwMGY4NWVhY2MzYTk1MTE3ZDNmYzVjMDRjMDBhOGI=
data/.travis.yml CHANGED
@@ -6,7 +6,5 @@ rvm:
6
6
  - 2.0.0
7
7
  - jruby-18mode
8
8
  - jruby-19mode
9
- - rbx-18mode
10
- - rbx-19mode
11
9
  - ree
12
10
  script: "bundle exec rspec"
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2013 Ivan Kuchin
1
+ Copyright (c) 2010-2014 Ivan Kuchin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.markdown CHANGED
@@ -34,4 +34,4 @@ You can use any Enumerable method, but some of them can not use threads (`inject
34
34
 
35
35
  ## Copyright
36
36
 
37
- Copyright (c) 2010-2013 Ivan Kuchin. See LICENSE.txt for details.
37
+ Copyright (c) 2010-2014 Ivan Kuchin. See LICENSE.txt for details.
data/in_threads.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'in_threads'
5
- s.version = '1.2.0'
5
+ s.version = '1.2.1'
6
6
  s.summary = %q{Execute ruby code in parallel}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
data/lib/in_threads.rb CHANGED
@@ -95,9 +95,6 @@ protected
95
95
  @enumerable = obj
96
96
  end
97
97
 
98
- autoload :ThreadLimiter, 'in_threads/thread_limiter'
99
- autoload :Filler, 'in_threads/filler'
100
-
101
98
  # Use for methods which don't use block result
102
99
  def run_in_threads_return_original_enum(enumerable, method, *args, &block)
103
100
  if block
@@ -147,3 +144,5 @@ protected
147
144
  end
148
145
 
149
146
  require 'in_threads/enumerable'
147
+ require 'in_threads/filler'
148
+ require 'in_threads/thread_limiter'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: in_threads
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-20 00:00:00.000000000 Z
11
+ date: 2014-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec