umlaut 3.0.0alpha1 → 3.0.0alpha2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -22,10 +22,10 @@ config/customization/enhancement seperate from distro, not so much to let you
22
22
 
23
23
  ## Installation
24
24
 
25
- For installation instructions suitable for the neophyte, see
25
+ For complete step-by-step install instructions suitable even for the neophyte, see:
26
26
  https://github.com/team-umlaut/umlaut/wiki/Installation.
27
27
 
28
- The Rails expert super concise summary is:
28
+ The Rails/Umlaut super-concise expert summary is:
29
29
 
30
30
  * Rails 3.1+
31
31
 
@@ -38,6 +38,8 @@ The Rails expert super concise summary is:
38
38
  * mysql database strongly encouraged, sqlite3 probably won't work.
39
39
 
40
40
  * configuration in `./config/umlaut_services.yml` and `./app/controllers/umlaut_controller.rb`
41
+
42
+ * Umlaut uses multi-threaded concurrency in a way incompatible with development-mode class reloading. You need cache_classes=false even in dev, the Umlaut install generator changes this for you.
41
43
 
42
44
  ## Source
43
45
 
@@ -27,8 +27,8 @@ module Umlaut
27
27
  end
28
28
  end
29
29
 
30
- def database_yml_hint
31
- guarded(:database_yml_hint) do
30
+ def database_yml_hints
31
+ guarded(:database_yml_hints) do
32
32
  insert_into_file("config/database.yml", :before => /^(\s*)development:/) do
33
33
  <<-eos
34
34
  #
@@ -48,7 +48,29 @@ module Umlaut
48
48
  # pool: 30
49
49
 
50
50
  eos
51
- end
51
+ end
52
+ append_to_file("config/database.yml") do
53
+ <<-eos
54
+
55
+ #
56
+ # UMLAUT: for the 'search' functions (A-Z title lookup) to work, you need
57
+ # a direct database connection to the SFX database, under 'sfx_db' key.
58
+ # You should manually set up a new read-only MySQL account in the SFX db
59
+ # for this purpose, rather than use one of the full-access existing SFX
60
+ # mysql accounts.
61
+ #
62
+ #sfx_db:
63
+ # adapter: mysql2
64
+ # host: my_sfx_host.u.edu
65
+ # port: 3310 # 3310 is defualt SFX embedded mysql port
66
+ # database: sfxlcl41 # or other sfx instance db
67
+ # username:
68
+ # password:
69
+ # pool: 5
70
+ # encoding: utf8
71
+ #
72
+ eos
73
+ end
52
74
  end
53
75
  end
54
76
 
data/lib/umlaut/routes.rb CHANGED
@@ -37,7 +37,7 @@ module Umlaut
37
37
  # for now include root generation in Umlaut auto-generation
38
38
  def root
39
39
  add_routes do |options|
40
- root :to => "resolve#index"
40
+ root :to => "search#index"
41
41
  end
42
42
  end
43
43
 
@@ -1,3 +1,3 @@
1
1
  module Umlaut
2
- VERSION = "3.0.0alpha1"
2
+ VERSION = "3.0.0alpha2"
3
3
  end
@@ -3,13 +3,7 @@
3
3
  #
4
4
  # Ensure the SQLite 3 gem is defined in your Gemfile
5
5
  # gem 'sqlite3'
6
- development:
7
- adapter: sqlite3
8
- database: db/development.sqlite3
9
- pool: 5
10
- timeout: 5000
11
-
12
- # Warning: The database defined as "test" will be erased and
6
+ adfadf# Warning: The database defined as "test" will be erased and
13
7
  # re-generated from your development database when you run "rake".
14
8
  # Do not set this db to the same as development or production.
15
9
  test:
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umlaut
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3702664386
4
+ hash: -3702664392
5
5
  prerelease: 5
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
9
  - 0
10
10
  - alpha
11
- - 1
12
- version: 3.0.0alpha1
11
+ - 2
12
+ version: 3.0.0alpha2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Jonathan Rochkind, et al
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-12-28 00:00:00 Z
20
+ date: 2011-12-29 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
@@ -414,7 +414,6 @@ files:
414
414
  - test/dummy/config/environments/test.rb
415
415
  - test/dummy/config/application.rb
416
416
  - test/dummy/config/environment.rb
417
- - test/dummy/config/database.yml
418
417
  - test/dummy/config/umlaut_services.yml
419
418
  - test/dummy/config/routes.rb
420
419
  - test/dummy/config/locales/en.yml
@@ -426,6 +425,7 @@ files:
426
425
  - test/dummy/config/initializers/session_store.rb
427
426
  - test/dummy/config/initializers/secret_token.rb
428
427
  - test/dummy/config/database-jhu.yml
428
+ - test/dummy/config/database.yml-jh
429
429
  - test/dummy/Rakefile
430
430
  - test/dummy/script/rails
431
431
  - test/dummy/config.ru
@@ -538,7 +538,6 @@ test_files:
538
538
  - test/dummy/config/environments/test.rb
539
539
  - test/dummy/config/application.rb
540
540
  - test/dummy/config/environment.rb
541
- - test/dummy/config/database.yml
542
541
  - test/dummy/config/umlaut_services.yml
543
542
  - test/dummy/config/routes.rb
544
543
  - test/dummy/config/locales/en.yml
@@ -550,6 +549,7 @@ test_files:
550
549
  - test/dummy/config/initializers/session_store.rb
551
550
  - test/dummy/config/initializers/secret_token.rb
552
551
  - test/dummy/config/database-jhu.yml
552
+ - test/dummy/config/database.yml-jh
553
553
  - test/dummy/Rakefile
554
554
  - test/dummy/script/rails
555
555
  - test/dummy/config.ru