thread_safe 0.1.1-java → 0.1.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +11 -6
- data/lib/thread_safe/version.rb +1 -1
- data/thread_safe.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 648d5fa3cf60a89416500b4e7264a43b14ce81ce
|
4
|
+
data.tar.gz: 7bc932b104316291a6c9e2bc3347bc478d638316
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac81fb1a4a3afa9712f3193ed30e6df4c894a5ca2bbb9ea5efa056ad2b7228f297c0f1a886e81afaae9e3b387b9247eb73b347cc53607469132f97c858bd5999
|
7
|
+
data.tar.gz: 562a7de1eefbea2b3752557b276bd6c9493fdd86a5888b6ee444ffc1db77d0fbd987c410b10760d44731a7b4797054363fda90145a72143797f0581a3cf4176e
|
data/Rakefile
CHANGED
@@ -4,11 +4,6 @@ require 'rake/testtask'
|
|
4
4
|
|
5
5
|
task :default => :test
|
6
6
|
|
7
|
-
Rake::TestTask.new :test do |t|
|
8
|
-
t.libs << "lib"
|
9
|
-
t.test_files = FileList["test/**/*.rb"]
|
10
|
-
end
|
11
|
-
|
12
7
|
if defined?(JRUBY_VERSION)
|
13
8
|
require 'ant'
|
14
9
|
|
@@ -33,4 +28,14 @@ if defined?(JRUBY_VERSION)
|
|
33
28
|
end
|
34
29
|
|
35
30
|
task :package => :jar
|
36
|
-
|
31
|
+
else
|
32
|
+
# No need to package anything for non-jruby rubies
|
33
|
+
task :package
|
34
|
+
end
|
35
|
+
|
36
|
+
Rake::TestTask.new :test => :package do |t|
|
37
|
+
t.libs << "lib"
|
38
|
+
t.test_files = FileList["test/**/*.rb"]
|
39
|
+
end
|
40
|
+
|
41
|
+
|
data/lib/thread_safe/version.rb
CHANGED
data/thread_safe.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.summary = %q{A collection of data structures and utilities to make thread-safe programming in Ruby easier}
|
9
9
|
gem.homepage = "https://github.com/headius/thread_safe"
|
10
10
|
|
11
|
-
gem.files = `git ls-files`.split($\)
|
11
|
+
gem.files = `git ls-files`.split($\) + ['lib/thread_safe/jruby_cache_backend.jar']
|
12
12
|
gem.platform = 'java' if defined?(JRUBY_VERSION)
|
13
13
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
14
14
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thread_safe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Charles Oliver Nutter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: atomic
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- test/test_helper.rb
|
68
68
|
- test/test_synchronized_delegator.rb
|
69
69
|
- thread_safe.gemspec
|
70
|
+
- lib/thread_safe/jruby_cache_backend.jar
|
70
71
|
homepage: https://github.com/headius/thread_safe
|
71
72
|
licenses:
|
72
73
|
- Apache-2.0
|