grom_native 0.1.0

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
+ SHA256:
3
+ metadata.gz: ebd48a48877c286e945be1794ab5e3a59ea3086fd85f04375fd8365d0b2228d4
4
+ data.tar.gz: 12a425fc546997201664f94a1534d580645edb14b3ff4cb963adab7f6a21df14
5
+ SHA512:
6
+ metadata.gz: 1bc8c5d19da2237ff4b4f297749c3c603cb1b90edf0eb7efc1b8c9573ad12d12d2cf10c04e87a6bee8d258b48bdea3be7150fd112a078880268fb14c87127ab3
7
+ data.tar.gz: b9cfb3b2acb7773d509eac22c8cd60d7bce12a13f8368677c273839b8f3cfb1254d63ee2578f302296023c77d33ba767a0575dbb3a05dc76a33105fd45dc816b
data/.gitignore ADDED
@@ -0,0 +1,20 @@
1
+ /.idea/
2
+ /vendor/
3
+ /.bundle/
4
+ /.yardoc
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
14
+
15
+ # statically compiled go
16
+ /ext/*.h
17
+ /ext/*.so
18
+
19
+ # test server PID
20
+ /spec/support/*.pid
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.3
data/.travis.yml ADDED
@@ -0,0 +1,16 @@
1
+ language: go
2
+
3
+ go:
4
+ - 1.11.x
5
+ go_import_path: github.com/ukparliament/gromnative
6
+
7
+ before_install:
8
+ - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
9
+ - rvm use 2.5.3 --install --binary --fuzzy
10
+
11
+ deploy:
12
+ provider: rubygems
13
+ gem: gromnative
14
+ api_key: $RUBYGEMS_API_KEY
15
+ on:
16
+ tags: true
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at m@rayner.io. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in grom_native.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ grom_native (0.1.0)
5
+ ffi (~> 1.9)
6
+ grom
7
+ parliament-grom-decorators
8
+ rdf (~> 3.0)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (5.2.1)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 0.7, < 2)
16
+ minitest (~> 5.1)
17
+ tzinfo (~> 1.1)
18
+ addressable (2.5.2)
19
+ public_suffix (>= 2.0.2, < 4.0)
20
+ concurrent-ruby (1.1.3)
21
+ crack (0.4.3)
22
+ safe_yaml (~> 1.0.0)
23
+ diff-lcs (1.3)
24
+ ffi (1.9.25)
25
+ grom (1.0.0)
26
+ activesupport (>= 5.0.0.1)
27
+ rdf (~> 3)
28
+ rdf-vocab (~> 3)
29
+ hamster (3.0.0)
30
+ concurrent-ruby (~> 1.0)
31
+ hashdiff (0.3.7)
32
+ i18n (1.1.1)
33
+ concurrent-ruby (~> 1.0)
34
+ link_header (0.0.8)
35
+ minitest (5.11.3)
36
+ parliament-grom-decorators (1.0.4)
37
+ public_suffix (3.0.3)
38
+ rack (2.0.6)
39
+ rake (10.5.0)
40
+ rdf (3.0.6)
41
+ hamster (~> 3.0)
42
+ link_header (~> 0.0, >= 0.0.8)
43
+ rdf-vocab (3.0.3)
44
+ rdf (~> 3.0)
45
+ rspec (3.8.0)
46
+ rspec-core (~> 3.8.0)
47
+ rspec-expectations (~> 3.8.0)
48
+ rspec-mocks (~> 3.8.0)
49
+ rspec-core (3.8.0)
50
+ rspec-support (~> 3.8.0)
51
+ rspec-expectations (3.8.2)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.8.0)
54
+ rspec-mocks (3.8.0)
55
+ diff-lcs (>= 1.2.0, < 2.0)
56
+ rspec-support (~> 3.8.0)
57
+ rspec-support (3.8.0)
58
+ safe_yaml (1.0.4)
59
+ thread_safe (0.3.6)
60
+ tzinfo (1.2.5)
61
+ thread_safe (~> 0.1)
62
+ webmock (3.4.2)
63
+ addressable (>= 2.3.6)
64
+ crack (>= 0.3.2)
65
+ hashdiff
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ bundler (~> 1.16)
72
+ grom_native!
73
+ rack (~> 2.0)
74
+ rake (~> 10.0)
75
+ rspec (~> 3.0)
76
+ webmock (~> 3.4)
77
+
78
+ BUNDLED WITH
79
+ 1.16.2
data/Gopkg.lock ADDED
@@ -0,0 +1,170 @@
1
+ # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
2
+
3
+
4
+ [[projects]]
5
+ digest = "1:97df918963298c287643883209a2c3f642e6593379f97ab400c2a2e219ab647d"
6
+ name = "github.com/golang/protobuf"
7
+ packages = ["proto"]
8
+ pruneopts = "UT"
9
+ revision = "aa810b61a9c79d51363740d207bb46cf8e620ed5"
10
+ version = "v1.2.0"
11
+
12
+ [[projects]]
13
+ branch = "master"
14
+ digest = "1:59392ed8afb901aab4287d4894df8191722e34f3957716f4350c8c133ce99046"
15
+ name = "github.com/hpcloud/tail"
16
+ packages = [
17
+ ".",
18
+ "ratelimiter",
19
+ "util",
20
+ "watch",
21
+ "winfile",
22
+ ]
23
+ pruneopts = "UT"
24
+ revision = "a1dbeea552b7c8df4b542c66073e393de198a800"
25
+
26
+ [[projects]]
27
+ digest = "1:42e29deef12327a69123b9cb2cb45fee4af5c12c2a23c6e477338279a052703f"
28
+ name = "github.com/onsi/ginkgo"
29
+ packages = [
30
+ ".",
31
+ "config",
32
+ "internal/codelocation",
33
+ "internal/containernode",
34
+ "internal/failer",
35
+ "internal/leafnodes",
36
+ "internal/remote",
37
+ "internal/spec",
38
+ "internal/spec_iterator",
39
+ "internal/specrunner",
40
+ "internal/suite",
41
+ "internal/testingtproxy",
42
+ "internal/writer",
43
+ "reporters",
44
+ "reporters/stenographer",
45
+ "reporters/stenographer/support/go-colorable",
46
+ "reporters/stenographer/support/go-isatty",
47
+ "types",
48
+ ]
49
+ pruneopts = "UT"
50
+ revision = "3774a09d95489ccaa16032e0770d08ea77ba6184"
51
+ version = "v1.6.0"
52
+
53
+ [[projects]]
54
+ digest = "1:ab54eea8d482272009e9e4af07d4d9b5236c27b4d8c54a3f2c99d163be883eca"
55
+ name = "github.com/onsi/gomega"
56
+ packages = [
57
+ ".",
58
+ "format",
59
+ "internal/assertion",
60
+ "internal/asyncassertion",
61
+ "internal/oraclematcher",
62
+ "internal/testingtsupport",
63
+ "matchers",
64
+ "matchers/support/goraph/bipartitegraph",
65
+ "matchers/support/goraph/edge",
66
+ "matchers/support/goraph/node",
67
+ "matchers/support/goraph/util",
68
+ "types",
69
+ ]
70
+ pruneopts = "UT"
71
+ revision = "7615b9433f86a8bdf29709bf288bc4fd0636a369"
72
+ version = "v1.4.2"
73
+
74
+ [[projects]]
75
+ branch = "master"
76
+ digest = "1:cb5d5751d07f046e352c5a1551ef75e956e7751da65117a745983d00de3e6491"
77
+ name = "github.com/wallix/triplestore"
78
+ packages = ["."]
79
+ pruneopts = "UT"
80
+ revision = "4099dd913851642f2c0b71f9c1a0c6887748849c"
81
+
82
+ [[projects]]
83
+ branch = "master"
84
+ digest = "1:5193d913046443e59093d66a97a40c51f4a5ea4ceba60f3b3ecf89694de5d16f"
85
+ name = "golang.org/x/net"
86
+ packages = [
87
+ "html",
88
+ "html/atom",
89
+ "html/charset",
90
+ ]
91
+ pruneopts = "UT"
92
+ revision = "10aee181995363b41f712a55844a0dd52ea04646"
93
+
94
+ [[projects]]
95
+ branch = "master"
96
+ digest = "1:e2503f590982f6c0cc06abd7b94b17ded6804bada8eb79af753b5fb676dfdecc"
97
+ name = "golang.org/x/sys"
98
+ packages = ["unix"]
99
+ pruneopts = "UT"
100
+ revision = "3a76605856fddce5718553cbb8bd50ca492a7274"
101
+
102
+ [[projects]]
103
+ digest = "1:aa4d6967a3237f8367b6bf91503964a77183ecf696f1273e8ad3551bb4412b5f"
104
+ name = "golang.org/x/text"
105
+ packages = [
106
+ "encoding",
107
+ "encoding/charmap",
108
+ "encoding/htmlindex",
109
+ "encoding/internal",
110
+ "encoding/internal/identifier",
111
+ "encoding/japanese",
112
+ "encoding/korean",
113
+ "encoding/simplifiedchinese",
114
+ "encoding/traditionalchinese",
115
+ "encoding/unicode",
116
+ "internal/gen",
117
+ "internal/tag",
118
+ "internal/utf8internal",
119
+ "language",
120
+ "runes",
121
+ "transform",
122
+ "unicode/cldr",
123
+ ]
124
+ pruneopts = "UT"
125
+ revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0"
126
+ version = "v0.3.0"
127
+
128
+ [[projects]]
129
+ digest = "1:abeb38ade3f32a92943e5be54f55ed6d6e3b6602761d74b4aab4c9dd45c18abd"
130
+ name = "gopkg.in/fsnotify/fsnotify.v1"
131
+ packages = ["."]
132
+ pruneopts = "UT"
133
+ revision = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
134
+ version = "v1.4.7"
135
+
136
+ [[projects]]
137
+ branch = "v1"
138
+ digest = "1:e6a5421ece62f71bef4f9d957747f5837900caa2e5e343da6e124a1b88abbfd0"
139
+ name = "gopkg.in/jarcoal/httpmock.v1"
140
+ packages = ["."]
141
+ pruneopts = "UT"
142
+ revision = "c463961d8bfec5823f8100e620bcc73e9afdd7d4"
143
+
144
+ [[projects]]
145
+ digest = "1:3c839a777de0e6da035c9de900b60cbec463b0a89351192c1ea083eaf9e0fce0"
146
+ name = "gopkg.in/tomb.v1"
147
+ packages = ["."]
148
+ pruneopts = "UT"
149
+ revision = "c131134a1947e9afd9cecfe11f4c6dff0732ae58"
150
+
151
+ [[projects]]
152
+ digest = "1:342378ac4dcb378a5448dd723f0784ae519383532f5e70ade24132c4c8693202"
153
+ name = "gopkg.in/yaml.v2"
154
+ packages = ["."]
155
+ pruneopts = "UT"
156
+ revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183"
157
+ version = "v2.2.1"
158
+
159
+ [solve-meta]
160
+ analyzer-name = "dep"
161
+ analyzer-version = 1
162
+ input-imports = [
163
+ "github.com/golang/protobuf/proto",
164
+ "github.com/onsi/ginkgo",
165
+ "github.com/onsi/gomega",
166
+ "github.com/wallix/triplestore",
167
+ "gopkg.in/jarcoal/httpmock.v1",
168
+ ]
169
+ solver-name = "gps-cdcl"
170
+ solver-version = 1
data/Gopkg.toml ADDED
@@ -0,0 +1,49 @@
1
+ # Gopkg.toml example
2
+ #
3
+ # Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
4
+ # for detailed Gopkg.toml documentation.
5
+ #
6
+ # required = ["github.com/user/thing/cmd/thing"]
7
+ # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8
+ #
9
+ # [[constraint]]
10
+ # name = "github.com/user/project"
11
+ # version = "1.0.0"
12
+ #
13
+ # [[constraint]]
14
+ # name = "github.com/user/project2"
15
+ # branch = "dev"
16
+ # source = "github.com/myfork/project2"
17
+ #
18
+ # [[override]]
19
+ # name = "github.com/x/y"
20
+ # version = "2.4.0"
21
+ #
22
+ # [prune]
23
+ # non-go = false
24
+ # go-tests = true
25
+ # unused-packages = true
26
+
27
+ [prune]
28
+ go-tests = true
29
+ unused-packages = true
30
+
31
+ [[constraint]]
32
+ name = "github.com/golang/protobuf"
33
+ version = "1.2.0"
34
+
35
+ [[constraint]]
36
+ name = "github.com/onsi/ginkgo"
37
+ version = "1.6.0"
38
+
39
+ [[constraint]]
40
+ name = "github.com/onsi/gomega"
41
+ version = "1.4.2"
42
+
43
+ [[constraint]]
44
+ branch = "master"
45
+ name = "github.com/wallix/triplestore"
46
+
47
+ [[constraint]]
48
+ branch = "v1"
49
+ name = "gopkg.in/jarcoal/httpmock.v1"
@@ -0,0 +1,35 @@
1
+
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'grom_native/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'grom_native'
8
+ spec.version = GromNative::VERSION
9
+ spec.authors = ['Matt Rayner']
10
+ spec.email = ['m@rayner.io']
11
+
12
+ spec.summary = %q{A GROM implementation using a GO native extension for heavy lifting.}
13
+ spec.homepage = 'https://github.com/mattrayner/nativegrom'
14
+ spec.license = 'MIT'
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.add_dependency 'ffi', '~> 1.9'
26
+ spec.add_dependency 'grom'
27
+ spec.add_dependency 'rdf', '~> 3.0'
28
+ spec.add_dependency 'parliament-grom-decorators'
29
+
30
+ spec.add_development_dependency 'bundler', '~> 1.16'
31
+ spec.add_development_dependency 'rack', '~> 2.0'
32
+ spec.add_development_dependency 'rake', '~> 10.0'
33
+ spec.add_development_dependency 'rspec', '~> 3.0'
34
+ spec.add_development_dependency 'webmock', '~> 3.4'
35
+ end