quickfix--jruby 1.7.0.1-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e0fc174d5d9165abd22060ccd17ec2c8c12d2b8f
4
+ data.tar.gz: 207d8a99cf75307d80021d04b8551772dcb7dadb
5
+ SHA512:
6
+ metadata.gz: 3e7056b5ed606d09ad3f9c4e820f3ed586feaa75d5385a4bf0a1794439b7fe769f5a6a4d52b3fdac074bd0ceaf80efb3e4a46a57634d501046e601e2e4dbeb79
7
+ data.tar.gz: 7ff0e81de588e8e2ef63db3e6e88652c23428390c8b72b6ba42e14d3c0a758d1024a9dded639ff3244de2a886b5c75f9cfa8814b286dabc43597c6220eaa6b9c
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - jruby-18mode
4
+ - jruby-19mode
5
+ - jruby-head
@@ -0,0 +1,22 @@
1
+ If you come across any issues, please [tell us](https://github.com/connamara/quickfix-jruby/issues).
2
+ Pull requests (with tests) are appreciated. No pull request is too small. Please help with:
3
+
4
+ * Reporting bugs
5
+ * Suggesting features
6
+ * Writing or improving documentation
7
+ * Fixing typos
8
+ * Cleaning whitespace
9
+ * Refactoring code
10
+ * Adding tests
11
+ * Closing [issues](https://github.com/connamara/quickfix-jruby/issues)
12
+
13
+ Contributing to quickfix-jruby:
14
+
15
+ 1. Fork the [official repository](https://github.com/connamara/quickfix-jruby/tree/master).
16
+ 2. Make your changes in a topic branch.
17
+ 3. Send a pull request.
18
+
19
+ Notes:
20
+ * If you report a bug and don't include a fix, please include a failing test.
21
+ * Contributions without tests won't be accepted.
22
+ * Please don't update the Gem version
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ group :development do
4
+ gem "jeweler", "~> 1.8"
5
+ gem "rake", "~> 10.1"
6
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,55 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ addressable (2.3.5)
5
+ builder (3.2.2)
6
+ faraday (0.8.8)
7
+ multipart-post (~> 1.2.0)
8
+ git (1.2.6)
9
+ github_api (0.10.1)
10
+ addressable
11
+ faraday (~> 0.8.1)
12
+ hashie (>= 1.2)
13
+ multi_json (~> 1.4)
14
+ nokogiri (~> 1.5.2)
15
+ oauth2
16
+ hashie (2.0.5)
17
+ highline (1.6.19)
18
+ httpauth (0.2.0)
19
+ jeweler (1.8.7)
20
+ builder
21
+ bundler (~> 1.0)
22
+ git (>= 1.2.5)
23
+ github_api (= 0.10.1)
24
+ highline (>= 1.6.15)
25
+ nokogiri (= 1.5.10)
26
+ rake
27
+ rdoc
28
+ json (1.8.0)
29
+ json (1.8.0-java)
30
+ jwt (0.1.8)
31
+ multi_json (>= 1.5)
32
+ multi_json (1.7.9)
33
+ multi_xml (0.5.5)
34
+ multipart-post (1.2.0)
35
+ nokogiri (1.5.10)
36
+ nokogiri (1.5.10-java)
37
+ oauth2 (0.9.2)
38
+ faraday (~> 0.8)
39
+ httpauth (~> 0.2)
40
+ jwt (~> 0.1.4)
41
+ multi_json (~> 1.0)
42
+ multi_xml (~> 0.5)
43
+ rack (~> 1.2)
44
+ rack (1.5.2)
45
+ rake (10.1.0)
46
+ rdoc (4.0.1)
47
+ json (~> 1.4)
48
+
49
+ PLATFORMS
50
+ java
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ jeweler (~> 1.8)
55
+ rake (~> 10.1)
data/LICENSE.txt ADDED
@@ -0,0 +1,14 @@
1
+ Copyright (C) 2013 Connamara Systems, llc
2
+
3
+ This program is free software: you can redistribute it and/or modify
4
+ it under the terms of the GNU General Public License as published by
5
+ the Free Software Foundation, either version 3 of the License, or
6
+ (at your option) any later version.
7
+
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -0,0 +1,46 @@
1
+ The QuickFIX Software License, Version 1.0
2
+
3
+ Copyright (c) 2001-2010 quickfixengine.org All rights
4
+ reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions
8
+ are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in
15
+ the documentation and/or other materials provided with the
16
+ distribution.
17
+
18
+ 3. The end-user documentation included with the redistribution,
19
+ if any, must include the following acknowledgment:
20
+ "This product includes software developed by
21
+ quickfixengine.org (http://www.quickfixengine.org/)."
22
+ Alternately, this acknowledgment may appear in the software itself,
23
+ if and wherever such third-party acknowledgments normally appear.
24
+
25
+ 4. The names "QuickFIX" and "quickfixengine.org" must
26
+ not be used to endorse or promote products derived from this
27
+ software without prior written permission. For written
28
+ permission, please contact ask@quickfixengine.org
29
+
30
+ 5. Products derived from this software may not be called "QuickFIX",
31
+ nor may "QuickFIX" appear in their name, without prior written
32
+ permission of quickfixengine.org
33
+
34
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
35
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
36
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37
+ DISCLAIMED. IN NO EVENT SHALL QUICKFIXENGINE.ORG OR
38
+ ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
39
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
41
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
42
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
43
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
44
+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
45
+ SUCH DAMAGE.
46
+
data/README.md ADDED
@@ -0,0 +1,104 @@
1
+ quickfix-jruby [![Build Status](https://travis-ci.org/connamara/quickfix-jruby.png)](https://travis-ci.org/connamara/quickfix-jruby)
2
+ ==============
3
+
4
+ [QuickFIX/J](http://www.quickfixj.org/) Gemified for JRuby.
5
+
6
+ The gem allows you to easily import QuickFIX/J into your JRuby Application. e.g.,
7
+
8
+ ``` ruby
9
+ require 'quickfix'
10
+
11
+ my_order = quickfix.fix42.NewOrderSingle.new
12
+ my_account = quickfix.field.Account.new "hello"
13
+ my_order.set my_account
14
+ ...
15
+ ```
16
+
17
+ quickfix-jruby imports the following jars included in the QuickFIX/J release
18
+
19
+ * `quickfixj-all-1.6.0.jar`
20
+ * `dom4j-1.6.1.jar`
21
+ * `jaxen-1.1.4.jar`
22
+ * `jcl-over-slf4j-1.7.12.jar`
23
+ * `je-2.1.30.jar`
24
+ * `mina-core-2.0.9.jar`
25
+ * `proxool-0.9.1.jar`
26
+ * `slf4j-api-1.7.12.jar`
27
+ * `slf4j-jdk14-1.7.12.jar`
28
+
29
+ ### Versioning
30
+
31
+ The major.minor version number corresponds to the major.minor version number of the QuickFIX/J release. The patch number may or may not correspond to the QuickFIX/J patch number.
32
+
33
+ Release
34
+ -------
35
+
36
+ Releases are performed with [jeweler](https://github.com/technicalpickles/jeweler).
37
+
38
+ You will need [your rubygems account set up accordingly](http://guides.rubygems.org/make-your-own-gem/).
39
+
40
+ ### Example: Performing a release of version `1.2.3`
41
+
42
+ ```shell
43
+ bundle exec rake version:write MAJOR=1 MINOR=2 PATCH=3
44
+ bundle exec rake release
45
+ ```
46
+
47
+ This will automatically:
48
+
49
+ * Generate `quickfix-jruby.gemspec` and commit it
50
+ * Tag `v1.2.3` and push it
51
+ * Build `quickfix-jruby-1.2.3.gem` and push it to [rubygems.org](https://rubygems.org/)
52
+
53
+ Install
54
+ -------
55
+
56
+ ```shell
57
+ gem install quickfix-jruby
58
+ ```
59
+
60
+ or add the following to Gemfile:
61
+ ```ruby
62
+ gem 'quickfix-jruby'
63
+ ```
64
+ and run `bundle install` from your shell.
65
+
66
+
67
+ More Information
68
+ ----------------
69
+
70
+ * [Rubygems](https://rubygems.org/gems/quickfix-jruby)
71
+ * [Issues](https://github.com/connamara/quickfix-jruby/issues)
72
+ * [QuickFIX/J](http://www.quickfixj.org/)
73
+ * [Connamara Systems](http://connamara.com)
74
+
75
+ Contributing
76
+ ------------
77
+
78
+ Please see the [contribution guidelines](https://github.com/connamara/quickfix-jruby/blob/master/CONTRIBUTION_GUIDELINES.md).
79
+
80
+
81
+ Credits
82
+ -------
83
+
84
+ * [QuickFIX](http://www.quickfixengine.org/)
85
+ * [QuickFIX/J](http://www.quickfixj.org/)
86
+
87
+ Contributers:
88
+
89
+ * [Chris Busbey](https://github.com/cbusbey)
90
+ * [Mike Gatny](https://github.com/mgatny)
91
+
92
+ ![Connamara Systems](http://www.connamara.com/images/home-connamara-logo-lg.png)
93
+
94
+ quickfix-jruby is maintained and funded by [Connamara Systems, llc](http://connamara.com).
95
+
96
+ The names and logos for Connamara Systems are trademarks of Connamara Systems, llc.
97
+
98
+ Licensing
99
+ ---------
100
+ quickfix-jruby is Copyright © 2013 Connamara Systems, llc.
101
+
102
+ This software is available under the GPL and a commercial license. Please see the [LICENSE](https://github.com/connamara/quickfix-jruby/blob/master/LICENSE.txt) file for the terms specified by the GPL license. The commercial license offers more flexible licensing terms compared to the GPL, and includes support services. [Contact us](mailto:info@connamara.com) for more information on the Connamara commercial license, what it enables, and how you can start commercial development with it.
103
+
104
+ This product includes software developed by quickfixengine.org ([http://www.quickfixengine.org/](http://www.quickfixengine.org/)). Please see the [QuickFIX Software LICENSE](https://github.com/connamara/quickfix-jruby/blob/master/QUICKFIX_LICENSE.txt) for the terms specified by the QuickFIX Software License.
data/Rakefile ADDED
@@ -0,0 +1,36 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+
13
+ require 'rake/testtask'
14
+ Rake::TestTask.new(:unit_tests) { |t|
15
+ t.libs << "test"
16
+ t.pattern = 'test/tc_quickfix.rb'
17
+ t.verbose = true
18
+ t.warning = true
19
+ }
20
+
21
+ task :test => [:unit_tests]
22
+ task :default => :test
23
+
24
+ require 'jeweler'
25
+ Jeweler::Tasks.new do |gem|
26
+ gem.name = "quickfix-jruby"
27
+ gem.homepage = "http://github.com/connamara/quickfix-jruby"
28
+ gem.license = "GPL"
29
+ gem.summary = %Q{Gemified QuickFIX/J}
30
+ gem.description = %Q{QuickFIX/J packaged as a gem for JRuby}
31
+ gem.email = "support@connamara.com"
32
+ gem.authors = ["Chris Busbey"]
33
+ gem.platform = "java"
34
+ # dependencies defined in Gemfile
35
+ end
36
+ Jeweler::RubygemsDotOrgTasks.new
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.6.0
Binary file
Binary file
Binary file
data/lib/je-2.1.30.jar ADDED
Binary file
Binary file
Binary file
data/lib/quickfix.rb ADDED
@@ -0,0 +1,15 @@
1
+ require 'java'
2
+
3
+ require 'quickfixj-all-1.7.0.jar'
4
+ require 'dom4j-1.6.1.jar'
5
+ require 'jaxen-1.1.4.jar'
6
+ require 'jcl-over-slf4j-1.7.12.jar'
7
+ require 'je-2.1.30.jar'
8
+ require 'mina-core-2.0.9.jar'
9
+ require 'proxool-0.9.1.jar'
10
+ require 'slf4j-api-1.7.12.jar'
11
+ require 'slf4j-jdk14-1.7.12.jar'
12
+
13
+ def quickfix
14
+ Java::quickfix
15
+ end
Binary file
Binary file
Binary file
@@ -0,0 +1,66 @@
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 -*-
5
+ # stub: quickfix-jruby 1.6.0 java lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "quickfix--jruby"
9
+ s.version = "1.7.0.1"
10
+ s.platform = "java"
11
+
12
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
+ s.authors = ["Chris Busbey"]
14
+ s.date = "2015-04-15"
15
+ s.description = "QuickFIX/J packaged as a gem for JRuby"
16
+ s.email = "support@connamara.com"
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.md"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".travis.yml",
24
+ "CONTRIBUTION_GUIDELINES.md",
25
+ "Gemfile",
26
+ "Gemfile.lock",
27
+ "LICENSE.txt",
28
+ "QUICKFIX_LICENSE.txt",
29
+ "README.md",
30
+ "Rakefile",
31
+ "VERSION",
32
+ "lib/dom4j-1.6.1.jar",
33
+ "lib/jaxen-1.1.4.jar",
34
+ "lib/jcl-over-slf4j-1.7.12.jar",
35
+ "lib/je-2.1.30.jar",
36
+ "lib/mina-core-2.0.9.jar",
37
+ "lib/proxool-0.9.1.jar",
38
+ "lib/quickfix.rb",
39
+ "lib/quickfixj-all-1.7.0.jar",
40
+ "lib/slf4j-api-1.7.12.jar",
41
+ "lib/slf4j-jdk14-1.7.12.jar",
42
+ "quickfix-jruby.gemspec",
43
+ "test/helper.rb",
44
+ "test/tc_quickfix.rb"
45
+ ]
46
+ s.homepage = "http://github.com/connamara/quickfix-jruby"
47
+ s.licenses = ["GPL"]
48
+ s.require_paths = ["lib"]
49
+ s.rubygems_version = "2.1.9"
50
+ s.summary = "Gemified QuickFIX/J"
51
+
52
+ if s.respond_to? :specification_version then
53
+ s.specification_version = 4
54
+
55
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
57
+ s.add_development_dependency(%q<rake>, ["~> 10.1"])
58
+ else
59
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
60
+ s.add_dependency(%q<rake>, ["~> 10.1"])
61
+ end
62
+ else
63
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
64
+ s.add_dependency(%q<rake>, ["~> 10.1"])
65
+ end
66
+ end
data/test/helper.rb ADDED
@@ -0,0 +1,6 @@
1
+ require 'test/unit'
2
+
3
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
4
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
5
+
6
+ require 'quickfix'
@@ -0,0 +1,25 @@
1
+ require 'helper'
2
+
3
+ class TestQuickfixj < Test::Unit::TestCase
4
+ def test_lib_fix42
5
+ acct = quickfix.field.Account.new "hello_fix42"
6
+ order = quickfix.fix42.NewOrderSingle.new
7
+ order.set acct
8
+
9
+ acct_out = quickfix.field.Account.new
10
+ order.get acct_out
11
+
12
+ assert_equal acct, order.get_account
13
+ end
14
+
15
+ def test_lib_fix50sp1
16
+ acct = quickfix.field.Account.new "hello_fix50sp1"
17
+ order = quickfix.fix50sp1.NewOrderSingle.new
18
+ order.set acct
19
+
20
+ acct_out = quickfix.field.Account.new
21
+ order.get acct_out
22
+
23
+ assert_equal acct, order.get_account
24
+ end
25
+ end
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: quickfix--jruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.7.0.1
5
+ platform: java
6
+ authors:
7
+ - Chris Busbey
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '1.8'
19
+ name: jeweler
20
+ prerelease: false
21
+ type: :development
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '10.1'
33
+ name: rake
34
+ prerelease: false
35
+ type: :development
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.1'
41
+ description: QuickFIX/J packaged as a gem for JRuby
42
+ email: support@connamara.com
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files:
46
+ - LICENSE.txt
47
+ - README.md
48
+ files:
49
+ - ".document"
50
+ - ".travis.yml"
51
+ - CONTRIBUTION_GUIDELINES.md
52
+ - Gemfile
53
+ - Gemfile.lock
54
+ - LICENSE.txt
55
+ - QUICKFIX_LICENSE.txt
56
+ - README.md
57
+ - Rakefile
58
+ - VERSION
59
+ - lib/dom4j-1.6.1.jar
60
+ - lib/jaxen-1.1.4.jar
61
+ - lib/jcl-over-slf4j-1.7.12.jar
62
+ - lib/je-2.1.30.jar
63
+ - lib/mina-core-2.0.9.jar
64
+ - lib/proxool-0.9.1.jar
65
+ - lib/quickfix.rb
66
+ - lib/quickfixj-all-1.7.0.jar
67
+ - lib/slf4j-api-1.7.12.jar
68
+ - lib/slf4j-jdk14-1.7.12.jar
69
+ - quickfix-jruby.gemspec
70
+ - test/helper.rb
71
+ - test/tc_quickfix.rb
72
+ homepage: http://github.com/connamara/quickfix-jruby
73
+ licenses:
74
+ - GPL
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.4.5
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: Gemified QuickFIX/J
96
+ test_files: []