geo_concerns 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d850f85f49b98f05f74464b49214d41d56e2d374
4
- data.tar.gz: 156c5df7de4895edc978638b2ac909f072419ad9
3
+ metadata.gz: 4be533d84cfd89f0199d8fed8ef426c0880856f9
4
+ data.tar.gz: 585d77df727e269c05768bd4faa1fdc87d874edc
5
5
  SHA512:
6
- metadata.gz: 13b2fd98b15f4532db299158a4839bca07c6f67454a9273997040a340baad74aa3be1ba56fe4e0c09a33a5e927b1a573776de3814615a78c5761d13559ef0cf0
7
- data.tar.gz: df553728f7d7cb4bd8a478bcda5c203668b5d9112617540f7c9e68db927a954b0e80c50bdb52c0799874702acc10b8f6dcca45d3517b8cf0b3f6c2bcce8db4be
6
+ metadata.gz: c2a18e387eba255c23a475fbb9ab0064dc2d31e1ea7dd55f55f93df2be6b65780b8ef63b0b0ba486af162f11705439c63217e9efde0510d85e80eab08b583d0e
7
+ data.tar.gz: 99721d9388d56b1afafd583161cb0f546ab1aceaac380346b504319c3c6c27a9154ab731f35fe28bad61fb240b45420ea9c1725a28cc0776ad966d25659124a4
data/README.md CHANGED
@@ -22,9 +22,19 @@ Rails application for developing Hydra Geo models. Built around Curation Concern
22
22
 
23
23
  ## Installation
24
24
 
25
+ Create and run a new GeoConcerns application from a template:
26
+
27
+ ```
28
+ $ rails new app-name -m https://raw.githubusercontent.com/projecthydra-labs/geo_concerns/master/template.rb
29
+ $ cd app-name
30
+ $ rake hydra:server
31
+ ```
32
+
33
+ Add GeoConcerns models to an existing CurationConcerns application:
34
+
25
35
  1. Add `gem 'geo_concerns'` to your Gemfile.
26
36
  2. `bundle install`
27
- 3. `rails g geo_concerns:install`
37
+ 3. `rails generate geo_concerns:install`
28
38
 
29
39
  ## Development
30
40
 
@@ -45,7 +55,6 @@ $ rake geo_concerns:test_servers
45
55
 
46
56
  Then, in another terminal window:
47
57
 
48
-
49
58
  ```
50
59
  $ rake spec
51
60
  ```
@@ -1,3 +1,3 @@
1
1
  module GeoConcerns
2
- VERSION = "0.0.2".freeze
2
+ VERSION = "0.0.3".freeze
3
3
  end
data/template.rb ADDED
@@ -0,0 +1,9 @@
1
+ gem 'curation_concerns', '~> 0.14.0.pre4'
2
+ gem 'geo_concerns'
3
+
4
+ run 'bundle install'
5
+
6
+ generate 'curation_concerns:install'
7
+ generate 'geo_concerns:install'
8
+
9
+ rake 'db:migrate'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_concerns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Griffin
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-05-05 00:00:00.000000000 Z
15
+ date: 2016-05-06 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: curation_concerns
@@ -203,8 +203,7 @@ email:
203
203
  - jhuck@ualberta.ca
204
204
  - eric.james@yale.edu
205
205
  - eliotj@princeton.edu
206
- executables:
207
- - rails
206
+ executables: []
208
207
  extensions: []
209
208
  extra_rdoc_files: []
210
209
  files:
@@ -322,7 +321,6 @@ files:
322
321
  - app/views/geo_concerns/_form_supplementary_fields.html.erb
323
322
  - app/views/geo_concerns/_related_external_metadata_files.html.erb
324
323
  - app/vocabs/geo_concerns/geo_terms.rb
325
- - bin/rails
326
324
  - config/routes.rb
327
325
  - geo_concerns.gemspec
328
326
  - lib/generators/geo_concerns/install_generator.rb
@@ -432,6 +430,7 @@ files:
432
430
  - spec/test_app_templates/lib/generators/test_app_generator.rb
433
431
  - spec/values/coverage_spec.rb
434
432
  - tasks/ci.rake
433
+ - template.rb
435
434
  homepage: https://github.com/projecthydra-labs/geo_concerns
436
435
  licenses:
437
436
  - APACHE2
data/bin/rails DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
3
-
4
- ENGINE_ROOT = File.expand_path('../..', __FILE__)
5
- ENGINE_PATH = File.expand_path('../../lib/geo_concerns/engine', __FILE__)
6
-
7
- # Set up gems listed in the Gemfile.
8
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
9
- require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
10
-
11
- require 'rails/all'
12
- require 'rails/engine/commands'