common_indexer 0.1.0 → 0.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
  SHA256:
3
- metadata.gz: 7bf05a42fb84387c676ec66151e7521157a318f57415d212d03e715794bf7179
4
- data.tar.gz: 6f6d6a1bd2d3b73fb880d1a4da047c0008428e4f6262d252b9e5fb1342fadac7
3
+ metadata.gz: e1a9fecdbf7f2fc69bc396780a18870cf644fbf57d3d2cc8a58d8ce288916660
4
+ data.tar.gz: a0308434a2594a856fd864dabfbd45f6c3dd193f3373e37bc415b505071694c1
5
5
  SHA512:
6
- metadata.gz: f7900c1a950f4cc0b45b2d93468d4f082f7aa7dc52106a3381d43afac16344eb2c45892e204806d7c062e13819e7c49e8ee2dea59fb063a147017a7b88670541
7
- data.tar.gz: 119b0bd45cef5f97c1c249ccd7650cc2f797380668088032f69a4a7d2350d23cd8002ea78bfd9f69525674080ad5da92676ea0ec1fc51170092102efedc85b9b
6
+ metadata.gz: c4ef48902ee9fcda97963a124914786ccc780a848cf875be093211418330a1e7227e9f1e978239c574bdedee69fbc550a5944a4369ed0313e0c64bf2adcc6bc1
7
+ data.tar.gz: 755eb2c497f8a52098635f22f8c5018bcf170a35940ccbb7e71a51c9bb3d0f5647eb5cb25fc6998f128dfa2638c421f81293f62b1864af9e0dc3c75653c52489
data/README.md CHANGED
@@ -8,7 +8,7 @@ Indexes metadata into a central AWS Elasticsearch instance. The gem indexes base
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'common_indexer', github: 'nulib/common-indexer', branch: 'master'
11
+ gem 'common_indexer'
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -18,7 +18,7 @@ And then execute:
18
18
  Or install it yourself as:
19
19
 
20
20
  $ gem install common_indexer
21
-
21
+
22
22
  ## Configuration
23
23
 
24
24
  Add `common_indexer` to the appropriate Rails config file (e.g. `config/settings.yml`, `config/settings/development.yml`):
@@ -51,13 +51,13 @@ Include the CommonIndexer into your model that you want to index with `include :
51
51
  ```ruby
52
52
  class Example < ActiveFedora::Base
53
53
  include ::CommonIndexer::Base
54
-
54
+
55
55
  property :title, ::RDF::URI('http://example.org/ns#title')
56
56
  property :creator, ::RDF::URI('http://example.org/ns#creator')
57
-
57
+
58
58
  def to_common_index
59
- {
60
- title: title,
59
+ {
60
+ title: title,
61
61
  creator: creator
62
62
  }
63
63
  end
@@ -72,8 +72,8 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
72
72
 
73
73
  ## Contributing
74
74
 
75
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/common_indexer.
75
+ Bug reports and pull requests are welcome on GitHub at https://github.com/nulib/common_indexer.
76
76
 
77
77
  ## License
78
78
 
79
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
79
+ The gem is available as open source under the terms of the [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CommonIndexer
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: common_indexer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein