quickfix-jruby 1.5.3-java

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: b802bf42204d8fc4e52844097c490b21c02ff3ca
4
+ data.tar.gz: 3f5121eac4fb8bf1e4ce93dcba5a31a88b9051b0
5
+ SHA512:
6
+ metadata.gz: b1482cc548180ca8daf97d0e194669476033c83cd9c03c345de8c0df58091a8b979bcb3340967d4fb2203505519690084275f07956cdbfc70dd45a577807304a
7
+ data.tar.gz: b6907a877a04af5efb5b1cc46a8f837cabfa62d9a9e90c594a2ef613e700f8c7f9facfd7bd4e05601faf80a6aea8b1e81066c5ebbb27dd7660034a68694d6e98
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
@@ -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 protobuf\_spec:
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
@@ -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)
@@ -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
+
@@ -0,0 +1,71 @@
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
+ ### Versioning
18
+
19
+ 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.
20
+
21
+ Install
22
+ -------
23
+
24
+ ```shell
25
+ gem install quickfix-jruby
26
+ ```
27
+
28
+ or add the following to Gemfile:
29
+ ```ruby
30
+ gem 'quickfix-jruby'
31
+ ```
32
+ and run `bundle install` from your shell.
33
+
34
+
35
+ More Information
36
+ ----------------
37
+
38
+ * [Rubygems](https://rubygems.org/gems/quickfix-jruby)
39
+ * [Issues](https://github.com/connamara/quickfix-jruby/issues)
40
+ * [QuickFIX/J](http://www.quickfixj.org/)
41
+ * [Connamara Systems](http://connamara.com)
42
+
43
+ Contributing
44
+ ------------
45
+
46
+ Please see the [contribution guidelines](https://github.com/connamara/quickfix-jruby/blob/master/CONTRIBUTION_GUIDELINES.md).
47
+
48
+
49
+ Credits
50
+ -------
51
+
52
+ * [QuickFIX](http://www.quickfixengine.org/)
53
+ * [QuickFIX/J](http://www.quickfixj.org/)
54
+
55
+ Contributers:
56
+
57
+ * Chris Busbey
58
+
59
+ ![Connamara Systems](http://www.connamara.com/images/home-connamara-logo-lg.png)
60
+
61
+ quickfix-jruby is maintained and funded by [Connamara Systems, llc](http://connamara.com).
62
+
63
+ The names and logos for Connamara Systems are trademarks of Connamara Systems, llc.
64
+
65
+ Licensing
66
+ ---------
67
+ quickfix-jruby is Copyright © 2013 Connamara Systems, llc.
68
+
69
+ 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.
70
+
71
+ 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.
@@ -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.5.3
@@ -0,0 +1,6 @@
1
+ require 'java'
2
+ require 'quickfixj-all-1.5.3.jar'
3
+
4
+ def quickfix
5
+ Java::quickfix
6
+ end
@@ -0,0 +1,58 @@
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
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "quickfix-jruby"
8
+ s.version = "1.5.3"
9
+ s.platform = "java"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.authors = ["Chris Busbey"]
13
+ s.date = "2013-08-30"
14
+ s.description = "QuickFIX/J packaged as a gem for JRuby"
15
+ s.email = "support@connamara.com"
16
+ s.extra_rdoc_files = [
17
+ "LICENSE.txt",
18
+ "README.md"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ ".travis.yml",
23
+ "CONTRIBUTION_GUIDELINES.md",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE.txt",
27
+ "QUICKFIX_LICENSE.txt",
28
+ "README.md",
29
+ "Rakefile",
30
+ "VERSION",
31
+ "lib/quickfix.rb",
32
+ "lib/quickfixj-all-1.5.3.jar",
33
+ "quickfix-jruby.gemspec",
34
+ "test/helper.rb",
35
+ "test/tc_quickfix.rb"
36
+ ]
37
+ s.homepage = "http://github.com/connamara/quickfix-jruby"
38
+ s.licenses = ["GPL"]
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = "2.0.7"
41
+ s.summary = "Gemified QuickFIX/J"
42
+
43
+ if s.respond_to? :specification_version then
44
+ s.specification_version = 4
45
+
46
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
48
+ s.add_development_dependency(%q<rake>, ["~> 10.1"])
49
+ else
50
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
51
+ s.add_dependency(%q<rake>, ["~> 10.1"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
55
+ s.add_dependency(%q<rake>, ["~> 10.1"])
56
+ end
57
+ end
58
+
@@ -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,14 @@
1
+ require 'helper'
2
+
3
+ class TestQuickfixj < Test::Unit::TestCase
4
+ def test_lib
5
+ acct = quickfix.field.Account.new "hello"
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
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: quickfix-jruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.3
5
+ platform: java
6
+ authors:
7
+ - Chris Busbey
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2013-08-30 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: jeweler
16
+ requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: "1.8"
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
25
+ name: rake
26
+ requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ version: "10.1"
31
+ type: :development
32
+ prerelease: false
33
+ version_requirements: *id002
34
+ description: QuickFIX/J packaged as a gem for JRuby
35
+ email: support@connamara.com
36
+ executables: []
37
+
38
+ extensions: []
39
+
40
+ extra_rdoc_files:
41
+ - LICENSE.txt
42
+ - README.md
43
+ files:
44
+ - .document
45
+ - .travis.yml
46
+ - CONTRIBUTION_GUIDELINES.md
47
+ - Gemfile
48
+ - Gemfile.lock
49
+ - LICENSE.txt
50
+ - QUICKFIX_LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - VERSION
54
+ - lib/quickfix.rb
55
+ - lib/quickfixj-all-1.5.3.jar
56
+ - quickfix-jruby.gemspec
57
+ - test/helper.rb
58
+ - test/tc_quickfix.rb
59
+ homepage: http://github.com/connamara/quickfix-jruby
60
+ licenses:
61
+ - GPL
62
+ metadata: {}
63
+
64
+ post_install_message:
65
+ rdoc_options: []
66
+
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - &id003
72
+ - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: "0"
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - *id003
78
+ requirements: []
79
+
80
+ rubyforge_project:
81
+ rubygems_version: 2.0.7
82
+ signing_key:
83
+ specification_version: 4
84
+ summary: Gemified QuickFIX/J
85
+ test_files: []
86
+