hydra 10.0.0 → 10.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/doc/Dive-into-Hydra.md +60 -57
  3. data/doc/For-Developers.md +0 -1
  4. data/doc/Hackfest-ideas.md +18 -0
  5. data/doc/Home.md +3 -1
  6. data/doc/Hydra-Recipes.md +5 -1
  7. data/doc/LDP-Containers-for-the-perplexed.md +119 -0
  8. data/doc/Lesson---Adding-attached-files.md +83 -0
  9. data/doc/Lesson---Build-a-Codex-model-with-XML.md +272 -0
  10. data/doc/Lesson---Build-a-book-model-with-RDF.md +250 -0
  11. data/doc/Lesson---Define-Relationships-Between-Objects.md +125 -0
  12. data/doc/{Lesson:-Generate-Rails-Scaffolding-for-Creating-and-Editing-Books.md → Lesson---Generate-Rails-Scaffolding-for-Creating-and-Editing-Books.md} +57 -50
  13. data/doc/Lesson---Start-FCRepo-and-Solr.md +76 -0
  14. data/doc/{Lesson:-add-the-Hydra-dependencies.md → Lesson---add-the-Hydra-dependencies.md} +3 -3
  15. data/doc/{Lesson:-generate-a-rails-application.md → Lesson---generate-a-rails-application.md} +78 -91
  16. data/doc/Lesson---make-blacklight-return-search-results.md +71 -0
  17. data/doc/Lesson---start-the-application-&-search-for-results.md +55 -0
  18. data/doc/Recipe:-Add-full-text-indexing-to-your-app.md +27 -0
  19. data/doc/Using-rdf:resource-within-your-models.md +43 -0
  20. data/hydra.gemspec +1 -1
  21. data/lib/hydra/version.rb +1 -1
  22. data/script/grant_revoke_gem_authority.rb +1 -1
  23. metadata +18 -17
  24. data/doc/Lesson:-Define-Relationships-Between-Objects.md +0 -131
  25. data/doc/Lesson:-Reading-Hydra-rightsMetadata-XML.md +0 -87
  26. data/doc/Lesson:-Use-Hydra-Access-Controls-to-Control-Access-to-Blacklight-show-Pages.md +0 -37
  27. data/doc/Lesson:-Using-Hydra-Access-Controls-and-CanCan-to-conditionally-render-part-of-a-page.md +0 -29
  28. data/doc/Lesson:-adding-content-datastreams.md +0 -57
  29. data/doc/Lesson:-build-a-book-model.md +0 -265
  30. data/doc/Lesson:-install-hydra-jetty.md +0 -148
  31. data/doc/Lesson:-make-blacklight-return-search-results.md +0 -69
  32. data/doc/Lesson:-set-up-your-Rails-Application-to-use-rspec.md +0 -41
  33. data/doc/Lesson:-start-the-application-&-search-for-results.md +0 -29
@@ -1,41 +0,0 @@
1
- This Tutorial is known to work with hydra version 6.1.0, 6.2.0.
2
- _Please update this wiki to reflect any other versions that have been tested._
3
-
4
- # Goals
5
-
6
- * Set up a Rails application to use RSpec
7
-
8
- # Explanation
9
- We strongly recommend building a habit of using Test Driven Development. Most people using Hydra use RSpec for Test Driven Development. Also, RSpec tests are required with any contributions to any of the core Hydra gems. Here's how to set up your Rails application to use RSpec for testing.
10
-
11
- # Steps
12
-
13
- ### Step 1: Install the rspec and rspec-rails gems
14
-
15
- Ensure your Gemfile includes `rspec-rails`, e.g.:
16
- ```ruby
17
- group :development, :test do
18
- gem "rspec-rails"
19
- end
20
- ```
21
- If you had to add `rspec-rails`, run bundle install
22
- ```bash
23
- $ bundle install
24
- ```
25
-
26
- ### Step 2: Run the rspec rails generator
27
-
28
- On the Command line
29
- ```text
30
- rails generate rspec:install
31
- ```
32
-
33
- ### Step 3: Commit your changes
34
-
35
- ```text
36
- git add .
37
- git commit -m "added rspec"
38
- ```
39
-
40
- # Next Steps
41
- Return to the [[Dive into Hydra]] page.
@@ -1,29 +0,0 @@
1
- # Goals
2
- * Start and Stop a local "development" copy of the application
3
- * Remove the default Welcome page provided by Rails
4
- * Run a Search in Blacklight through your browser
5
-
6
- # Steps
7
-
8
- ### Step 1: Start the Rails server
9
-
10
- Now, let's see our model on the web. You can start 'webrick', a development server that comes with rails by typing:
11
-
12
- ```bash
13
- $> rails server
14
- ```
15
-
16
- Leave that terminal window open. It will print info whenever the server does anything. You will return to this window when you want to stop or restart the server.
17
-
18
- ### Step 2: Look at the application in your Browser
19
-
20
- Now you can visit your local copy of the application with a web browser when you point the browser at [[http://localhost:3000/]]
21
-
22
- ### Step 3: Run a Search
23
-
24
- Now that you've removed the default "Welcome" page and reloaded the page in your browser, you should see something that looks like a default Blacklight install. If you enter a search query you don't see any results because we haven't created any objects yet -- your Solr index is empty.
25
-
26
- In the next step we will create a Book object that will then show up in your search results.
27
-
28
- # Next Step
29
- Go on to [[Lesson: Build a Book Model]] or return to the [[Dive into Hydra]] page.