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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf3a45ded3324dfded8db4f59ed37b82fcb91da5
4
- data.tar.gz: 8cb64fa6a2ce0dee67f5aae452ae780d18d5817f
3
+ metadata.gz: 648d5fa3cf60a89416500b4e7264a43b14ce81ce
4
+ data.tar.gz: 7bc932b104316291a6c9e2bc3347bc478d638316
5
5
  SHA512:
6
- metadata.gz: a3ea40a7ad6256df359b64ea27a23dbd27174e05a068b615e4b67f221638a350fa8b32f6d04f3976025f3c571fb0e034299e3c5aaa7d150da13d0bb3b36e2994
7
- data.tar.gz: c66f4c83ad5d9e174a077c3655623d8ea4f0829c85169c32658b2ebfb57d20a31c76664956d79fa64fff6c0b2b32f9e1786bb96798462adedfa7d069de79a02f
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
- end
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
+
@@ -1,3 +1,3 @@
1
1
  module Threadsafe
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -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.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-23 00:00:00.000000000 Z
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