hazelcast-jars 3.0.SNAPSHOT-jruby → 3.2.6-jruby

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 378dda5eee1be2b9b4dc285f544f89697b8a677a
4
+ data.tar.gz: ed0607928929c14a1cff215e3f8c44e647a695c4
5
+ SHA512:
6
+ metadata.gz: 8da3c26444e6a9e975af8b1d48a9d526a94faa59d0942635c3bb5898c9da62099548b18eb05e270acd97fc4f97401f87446d17e064235b547f5a83073ddd6320
7
+ data.tar.gz: ce9e08eaf8c32d7424d0fdb2d0bd41ed721740f34fdb46a728e536044a4f1d188b998915bf660ef8eece650638e356536e77f4cd9a7bb828facc5a0db441f9ee
@@ -0,0 +1,27 @@
1
+ .DS_Store
2
+ *.gem
3
+ *.rbc
4
+ .bundle
5
+ .config
6
+ .yardoc
7
+ Gemfile.lock
8
+ InstalledFiles
9
+ _yardoc
10
+ coverage
11
+ doc/
12
+ lib/bundler/man
13
+ pkg
14
+ rdoc
15
+ spec/reports
16
+ test/tmp
17
+ test/version_tmp
18
+ tmp
19
+ .idea/*
20
+ .rvmrc
21
+ .rbenv*
22
+ .ruby-version
23
+ coverage
24
+ rdoc
25
+ pkg
26
+ Gemfile.lock
27
+ tmp
data/Gemfile CHANGED
@@ -1,6 +1,4 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
- group :development do
4
- gem 'bundler'
5
- gem 'jeweler'
6
- end
3
+ # Specify your gem's dependencies in hazelcast-jars.gemspec
4
+ gemspec
@@ -0,0 +1,36 @@
1
+ # Hazelcast::Jars
2
+
3
+ All the necessary Hazelcast jars in one place for easy access from JRuby.
4
+ Current version is: Hazelcast-3.1.4
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ gem 'hazelcast-jars'
11
+
12
+ And then execute:
13
+
14
+ $ bundle
15
+
16
+ Or install it yourself as:
17
+
18
+ $ gem install hazelcast-jars
19
+
20
+ ## Usage
21
+
22
+ You can easily require the jars now like so:
23
+
24
+ ````ruby
25
+ Hazelcast::Jars.client
26
+ Hazelcast::Jars.server
27
+ Hazelcast::Jars.all
28
+ ````
29
+
30
+ ## Contributing
31
+
32
+ 1. Fork it
33
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
34
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
35
+ 4. Push to the branch (`git push origin my-new-feature`)
36
+ 5. Create new Pull Request
data/Rakefile CHANGED
@@ -1,28 +1 @@
1
- require 'rubygems'
2
- require 'rake'
3
- require File.expand_path(File.dirname(__FILE__) + '/lib/hazelcast-jars/version')
4
-
5
- begin
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gem|
8
- gem.name = 'hazelcast-jars'
9
- gem.homepage = 'http://github.com/aemadrid/hazelcast-jars'
10
- gem.license = 'MIT'
11
-
12
- gem.summary = 'Utility gem to carry the latest Hazelcast jars.'
13
- gem.description = 'Something to make my life easier.'
14
-
15
- gem.email = 'aemadrid@gmail.com'
16
- gem.authors = ['Adrian Madrid']
17
-
18
- gem.platform = 'jruby'
19
- gem.rubyforge_project = 'hazelcast-jars'
20
- gem.version = Hazelcast::Jars.gem_version
21
-
22
- gem.files.include 'lib/*.jar'
23
- Jeweler::GemcutterTasks.new
24
- end
25
- Jeweler::RubygemsDotOrgTasks.new
26
- rescue LoadError
27
- puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
28
- end
1
+ require "bundler/gem_tasks"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0
1
+ 3.2.6
@@ -1 +0,0 @@
1
- SNAPSHOT
@@ -1,58 +1,24 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'hazelcast/jars/version'
5
5
 
6
- Gem::Specification.new do |s|
7
- s.name = "hazelcast-jars"
8
- s.version = "3.0.SNAPSHOT"
9
- s.platform = "jruby"
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'hazelcast-jars'
8
+ spec.version = Hazelcast::Jars.gem_version
9
+ spec.authors = ['Adrian Madrid']
10
+ spec.email = %w( aemadrid@gmail.com )
11
+ spec.description = %q{All the necessary Hazelcast jars in one place}
12
+ spec.summary = %q{All the necessary Hazelcast jars in one place}
13
+ spec.homepage = 'http://github.com/aemadrid/hazelcast-jars'
14
+ spec.license = 'MIT'
15
+ spec.platform = 'jruby'
10
16
 
11
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
12
- s.authors = ["Adrian Madrid"]
13
- s.date = "2013-06-26"
14
- s.description = "Something to make my life easier."
15
- s.email = "aemadrid@gmail.com"
16
- s.extra_rdoc_files = [
17
- "LICENSE.txt",
18
- "README.rdoc"
19
- ]
20
- s.files = [
21
- ".document",
22
- "Gemfile",
23
- "LICENSE.txt",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "VERSION_EXT",
28
- "hazelcast-jars.gemspec",
29
- "lib/hazelcast-3.0-SNAPSHOT.jar",
30
- "lib/hazelcast-all-3.0-SNAPSHOT.jar",
31
- "lib/hazelcast-client-3.0-SNAPSHOT.jar",
32
- "lib/hazelcast-jars.rb",
33
- "lib/hazelcast-jars/hazelcast-jars.rb",
34
- "lib/hazelcast-jars/version.rb"
35
- ]
36
- s.homepage = "http://github.com/aemadrid/hazelcast-jars"
37
- s.licenses = ["MIT"]
38
- s.require_paths = ["lib"]
39
- s.rubyforge_project = "hazelcast-jars"
40
- s.rubygems_version = "1.8.24"
41
- s.summary = "Utility gem to carry the latest Hazelcast jars."
17
+ spec.files = `git ls-files`.split($/)
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = %w( lib )
42
21
 
43
- if s.respond_to? :specification_version then
44
- s.specification_version = 3
45
-
46
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
- s.add_development_dependency(%q<bundler>, [">= 0"])
48
- s.add_development_dependency(%q<jeweler>, [">= 0"])
49
- else
50
- s.add_dependency(%q<bundler>, [">= 0"])
51
- s.add_dependency(%q<jeweler>, [">= 0"])
52
- end
53
- else
54
- s.add_dependency(%q<bundler>, [">= 0"])
55
- s.add_dependency(%q<jeweler>, [">= 0"])
56
- end
22
+ spec.add_development_dependency 'bundler', '~> 1.3'
23
+ spec.add_development_dependency 'rake'
57
24
  end
58
-
@@ -1 +1 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../lib/hazelcast-jars/hazelcast-jars')
1
+ require 'hazelcast/jars'
@@ -0,0 +1,21 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../../lib/hazelcast/jars/version')
2
+
3
+ module Hazelcast
4
+ class Jars
5
+ class << self
6
+
7
+ def client
8
+ require "hazelcast/jars/hazelcast-client-#{version}.jar"
9
+ end
10
+
11
+ def server
12
+ require "hazelcast/jars/hazelcast-#{version}.jar"
13
+ end
14
+
15
+ def all
16
+ require "hazelcast/jars/hazelcast-all-#{version}.jar"
17
+ end
18
+
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,38 @@
1
+ module Hazelcast
2
+ class Jars
3
+
4
+ LIB_PATH = File.expand_path(File.dirname(File.dirname(File.dirname(__FILE__)))) unless defined?(LIB_PATH)
5
+ ROOT_PATH = File.dirname(LIB_PATH) unless defined?(ROOT_PATH)
6
+
7
+ $:.unshift(LIB_PATH) unless $:.include?(LIB_PATH)
8
+
9
+ class << self
10
+
11
+ def version
12
+ @version ||= File.read File.join(ROOT_PATH, 'VERSION')
13
+ end
14
+
15
+ def version_ext
16
+ @version_ext ||= File.read File.join(ROOT_PATH, 'VERSION_EXT')
17
+ end
18
+
19
+ def gem_version
20
+ unless @gem_version
21
+ @gem_version = version
22
+ @gem_version += ".#{version_ext}" unless version_ext.empty?
23
+ end
24
+ @gem_version
25
+ end
26
+
27
+ def full_version
28
+ unless @full_version
29
+ @full_version = version
30
+ @full_version += "-#{version_ext}" unless version_ext.empty?
31
+ end
32
+ @full_version
33
+ end
34
+
35
+ end
36
+
37
+ end
38
+ end
metadata CHANGED
@@ -1,73 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hazelcast-jars
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.SNAPSHOT
5
- prerelease: 4
4
+ version: 3.2.6
6
5
  platform: jruby
7
6
  authors:
8
7
  - Adrian Madrid
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-26 00:00:00.000000000 Z
11
+ date: 2014-10-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  version_requirements: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - '>='
17
+ - - ~>
19
18
  - !ruby/object:Gem::Version
20
- version: '0'
21
- none: false
19
+ version: '1.3'
22
20
  requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
- - - '>='
22
+ - - ~>
25
23
  - !ruby/object:Gem::Version
26
- version: '0'
27
- none: false
24
+ version: '1.3'
28
25
  prerelease: false
29
26
  type: :development
30
27
  - !ruby/object:Gem::Dependency
31
- name: jeweler
28
+ name: rake
32
29
  version_requirements: !ruby/object:Gem::Requirement
33
30
  requirements:
34
31
  - - '>='
35
32
  - !ruby/object:Gem::Version
36
33
  version: '0'
37
- none: false
38
34
  requirement: !ruby/object:Gem::Requirement
39
35
  requirements:
40
36
  - - '>='
41
37
  - !ruby/object:Gem::Version
42
38
  version: '0'
43
- none: false
44
39
  prerelease: false
45
40
  type: :development
46
- description: Something to make my life easier.
47
- email: aemadrid@gmail.com
41
+ description: All the necessary Hazelcast jars in one place
42
+ email:
43
+ - aemadrid@gmail.com
48
44
  executables: []
49
45
  extensions: []
50
- extra_rdoc_files:
51
- - LICENSE.txt
52
- - README.rdoc
46
+ extra_rdoc_files: []
53
47
  files:
54
48
  - .document
49
+ - .gitignore
55
50
  - Gemfile
56
51
  - LICENSE.txt
57
- - README.rdoc
52
+ - README.md
58
53
  - Rakefile
59
54
  - VERSION
60
55
  - VERSION_EXT
61
56
  - hazelcast-jars.gemspec
62
- - lib/hazelcast-3.0-SNAPSHOT.jar
63
- - lib/hazelcast-all-3.0-SNAPSHOT.jar
64
- - lib/hazelcast-client-3.0-SNAPSHOT.jar
65
57
  - lib/hazelcast-jars.rb
66
- - lib/hazelcast-jars/hazelcast-jars.rb
67
- - lib/hazelcast-jars/version.rb
58
+ - lib/hazelcast/jars.rb
59
+ - lib/hazelcast/jars/hazelcast-3.2.6.jar
60
+ - lib/hazelcast/jars/hazelcast-all-3.2.6.jar
61
+ - lib/hazelcast/jars/hazelcast-client-3.2.6.jar
62
+ - lib/hazelcast/jars/version.rb
68
63
  homepage: http://github.com/aemadrid/hazelcast-jars
69
64
  licenses:
70
65
  - MIT
66
+ metadata: {}
71
67
  post_install_message:
72
68
  rdoc_options: []
73
69
  require_paths:
@@ -76,21 +72,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
72
  requirements:
77
73
  - - '>='
78
74
  - !ruby/object:Gem::Version
79
- segments:
80
- - 0
81
- hash: 2
82
75
  version: '0'
83
- none: false
84
76
  required_rubygems_version: !ruby/object:Gem::Requirement
85
77
  requirements:
86
- - - '>'
78
+ - - '>='
87
79
  - !ruby/object:Gem::Version
88
- version: 1.3.1
89
- none: false
80
+ version: '0'
90
81
  requirements: []
91
- rubyforge_project: hazelcast-jars
92
- rubygems_version: 1.8.24
82
+ rubyforge_project:
83
+ rubygems_version: 2.1.9
93
84
  signing_key:
94
- specification_version: 3
95
- summary: Utility gem to carry the latest Hazelcast jars.
85
+ specification_version: 4
86
+ summary: All the necessary Hazelcast jars in one place
96
87
  test_files: []
@@ -1,19 +0,0 @@
1
- = hazelcast-jars
2
-
3
- Description goes here.
4
-
5
- == Contributing to hazelcast-jars
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
- * Fork the project
10
- * Start a feature/bugfix branch
11
- * Commit and push until you are happy with your contribution
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2011 Adrian Madrid. See LICENSE.txt for
18
- further details.
19
-
@@ -1,21 +0,0 @@
1
- raise 'hazelcast-jars only runs on JRuby. Sorry!' unless (RUBY_PLATFORM =~ /java/)
2
-
3
- require File.expand_path(File.dirname(__FILE__) + '/version')
4
-
5
- module Hazelcast
6
- class Jars
7
-
8
- def self.client
9
- require "hazelcast-client-#{full_version}.jar"
10
- end
11
-
12
- def self.server
13
- require "hazelcast-#{full_version}.jar"
14
- end
15
-
16
- def self.all
17
- require "hazelcast-all-#{full_version}.jar"
18
- end
19
-
20
- end
21
- end
@@ -1,32 +0,0 @@
1
- module Hazelcast
2
- class Jars
3
-
4
- LIB_PATH = File.expand_path(File.dirname(File.dirname(__FILE__))) unless defined?(LIB_PATH)
5
- $:.unshift(LIB_PATH) unless $:.include?(LIB_PATH)
6
-
7
- def self.version
8
- @version ||= File.read File.expand_path(LIB_PATH + '/../VERSION')
9
- end
10
-
11
- def self.version_ext
12
- @version_ext ||= File.read File.expand_path(LIB_PATH + '/../VERSION_EXT')
13
- end
14
-
15
- def self.gem_version
16
- unless @full_version
17
- @full_version = version
18
- @full_version += ".#{version_ext}" unless version_ext.empty?
19
- end
20
- @full_version
21
- end
22
-
23
- def self.full_version
24
- unless @full_version
25
- @full_version = version
26
- @full_version += "-#{version_ext}" unless version_ext.empty?
27
- end
28
- @full_version
29
- end
30
-
31
- end
32
- end