bel 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1aa98c9d68e2e12c4551346143a2e2701785a40c
4
- data.tar.gz: 49e614d29258ec3f128c81ef6a45cd34076be45a
3
+ metadata.gz: ede042d53fbcc6e5d0759e780f39e3562aa9b38e
4
+ data.tar.gz: 56d67c6156030f5f850d3e663a0332260a3ccff8
5
5
  SHA512:
6
- metadata.gz: d20ba6c9ef4460e0a2ed7dd64b96961b9a1b37c8c7e3f36b8cbe62b3818c67a8226886ac307d7780cada9949216d9a54add114d7ec28ba69fd14d215cc27828c
7
- data.tar.gz: 968d9fc15f9d3f072828daf805cc30811bf4fe23c874391ce794f48de855f82c8485ee0bf41b6b2368e5975b86115d382178ce668d3d1fdece3cd006c443e795
6
+ metadata.gz: 6beefbb15bdcc0cf10600acb2d4a2fc9397d8570dde98ea878c7ac938e7b3e54c45deb682858879477ecb621033d8e212f9df845946a4b35a1bebc1ca62e3126
7
+ data.tar.gz: 26d649b124ea138320d4d8e316ff405209a0932a9b25a28dd56201317c1f87922071323b05e492349642e04fd371e1566ca736c87ba7fa2af86a5f31a0148458
data/.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  'Nick Bargnesi',
19
19
  'William Hayes'
20
20
  ]
21
- spec.date = %q{2017-01-13}
21
+ spec.date = %q{2017-01-23}
22
22
  spec.email = [
23
23
  'abargnesi@selventa.com',
24
24
  'ncatlett@selventa.com',
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
  - [![Build Status for next branch](https://travis-ci.org/OpenBEL/bel.rb.svg?branch=next)](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.0
1
+ 1.1.1
@@ -4,7 +4,7 @@ module BEL
4
4
  module Nanopub
5
5
  class ExperimentContext
6
6
 
7
- attr_reader :values
7
+ attr_accessor :values
8
8
 
9
9
  extend Forwardable
10
10
  include Enumerable
@@ -49,7 +49,7 @@ module BEL
49
49
  return nil if nstr.empty?
50
50
 
51
51
  # match input as annotation prefix
52
- nlit = RDF::Literal(nstr)
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
@@ -49,7 +49,7 @@ module BEL
49
49
  return find_namespace_uri(nstr) if nstr =~ FULL_URI_REGEX
50
50
 
51
51
  # match input as namespace prefix
52
- nlit = RDF::Literal(nstr)
52
+ nlit = RDF::Literal(nstr.upcase)
53
53
  prefix = namespace_query(
54
54
  :predicate => BELV.prefix,
55
55
  :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.0
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-13 00:00:00.000000000 Z
14
+ date: 2017-01-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bel_parser