bel 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gemspec +1 -1
- data/README.md +24 -0
- data/VERSION +1 -1
- data/lib/bel/nanopub/experiment_context.rb +1 -1
- data/lib/bel/resource/annotations.rb +2 -1
- data/lib/bel/resource/namespaces.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ede042d53fbcc6e5d0759e780f39e3562aa9b38e
|
|
4
|
+
data.tar.gz: 56d67c6156030f5f850d3e663a0332260a3ccff8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6beefbb15bdcc0cf10600acb2d4a2fc9397d8570dde98ea878c7ac938e7b3e54c45deb682858879477ecb621033d8e212f9df845946a4b35a1bebc1ca62e3126
|
|
7
|
+
data.tar.gz: 26d649b124ea138320d4d8e316ff405209a0932a9b25a28dd56201317c1f87922071323b05e492349642e04fd371e1566ca736c87ba7fa2af86a5f31a0148458
|
data/.gemspec
CHANGED
data/README.md
CHANGED
|
@@ -81,6 +81,30 @@ the root of the bel.rb tree:
|
|
|
81
81
|
- Contains unstable code. Commits should be merged into master after it stabilizes.
|
|
82
82
|
- [](https://travis-ci.org/OpenBEL/bel.rb)
|
|
83
83
|
|
|
84
|
+
## releases
|
|
85
|
+
|
|
86
|
+
Releases of *bel.rb* should follow these steps:
|
|
87
|
+
|
|
88
|
+
1. Update the version in the `VERSION` file.
|
|
89
|
+
|
|
90
|
+
2. Add changes for this version to the `CHANGELOG` file. This file is modelled after http://keepachangelog.com/.
|
|
91
|
+
|
|
92
|
+
3. Push the changes for `VERSION` and `CHANGELOG` on the master branch.
|
|
93
|
+
|
|
94
|
+
4. Ensure the *master* branch has all of the required changes.
|
|
95
|
+
|
|
96
|
+
5. Create a git tag, named after the version, on the *master* branch. Push this tag to GitHub.
|
|
97
|
+
|
|
98
|
+
6. Create the RubyGem for bel.rb.
|
|
99
|
+
|
|
100
|
+
`gem build .gemspec`
|
|
101
|
+
|
|
102
|
+
7. Create a release on GitHub for this version and attach the gem file.
|
|
103
|
+
|
|
104
|
+
8. Push the gem to RubyGems.
|
|
105
|
+
|
|
106
|
+
`gem push bel-VERSION.gem`
|
|
107
|
+
|
|
84
108
|
## contributors
|
|
85
109
|
|
|
86
110
|
- [@abargnesi](https://github.com/abargnesi) (Maintainer)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.1
|
|
@@ -49,7 +49,7 @@ module BEL
|
|
|
49
49
|
return nil if nstr.empty?
|
|
50
50
|
|
|
51
51
|
# match input as annotation prefix
|
|
52
|
-
|
|
52
|
+
nlit = RDF::Literal(nstr.upcase)
|
|
53
53
|
prefix = annotation_query(
|
|
54
54
|
:predicate => BELV.prefix,
|
|
55
55
|
:object => nlit
|
|
@@ -57,6 +57,7 @@ module BEL
|
|
|
57
57
|
return Annotation.new(@rdf_repository, prefix.subject) if prefix
|
|
58
58
|
|
|
59
59
|
# match input as annotation prefLabel
|
|
60
|
+
nlit = RDF::Literal(nstr)
|
|
60
61
|
label = annotation_query(
|
|
61
62
|
:predicate => SKOS.prefLabel,
|
|
62
63
|
:object => nlit
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anthony Bargnesi
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2017-01-
|
|
14
|
+
date: 2017-01-23 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bel_parser
|