RubyApp 0.0.79 → 0.0.80
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.
- data/Gemfile.lock +4 -6
- data/lib/ruby_app/config.yml +16 -15
- data/lib/ruby_app/configuration.rb +3 -1
- data/lib/ruby_app/version.rb +1 -1
- data/ruby_app.gemspec +1 -1
- metadata +4 -18
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
RubyApp (0.0.
|
|
4
|
+
RubyApp (0.0.80)
|
|
5
5
|
BlueCloth
|
|
6
6
|
chronic
|
|
7
7
|
chronic_duration
|
|
@@ -47,7 +47,7 @@ GEM
|
|
|
47
47
|
ffi (1.0.11)
|
|
48
48
|
fileutils (0.7)
|
|
49
49
|
rmagick (>= 2.13.1)
|
|
50
|
-
gherkin (2.7.
|
|
50
|
+
gherkin (2.7.6)
|
|
51
51
|
json (>= 1.4.6)
|
|
52
52
|
haml (3.1.4)
|
|
53
53
|
json (1.6.5)
|
|
@@ -57,8 +57,8 @@ GEM
|
|
|
57
57
|
multi_json (1.0.4)
|
|
58
58
|
nokogiri (1.5.0)
|
|
59
59
|
numerizer (0.1.1)
|
|
60
|
-
r18n-core (0.4.
|
|
61
|
-
rack (1.4.
|
|
60
|
+
r18n-core (0.4.14)
|
|
61
|
+
rack (1.4.1)
|
|
62
62
|
rack-test (0.6.1)
|
|
63
63
|
rack (>= 1.0)
|
|
64
64
|
rake (0.9.2.2)
|
|
@@ -83,7 +83,6 @@ GEM
|
|
|
83
83
|
term-ansicolor (1.0.7)
|
|
84
84
|
xpath (0.1.4)
|
|
85
85
|
nokogiri (~> 1.3)
|
|
86
|
-
ya2yaml (0.30)
|
|
87
86
|
yajl-ruby (1.1.0)
|
|
88
87
|
|
|
89
88
|
PLATFORMS
|
|
@@ -97,4 +96,3 @@ DEPENDENCIES
|
|
|
97
96
|
rake
|
|
98
97
|
rspec
|
|
99
98
|
rspec-mocks
|
|
100
|
-
ya2yaml
|
data/lib/ruby_app/config.yml
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
default:
|
|
2
|
+
ruby_app:
|
|
3
|
+
elements:
|
|
4
|
+
pages:
|
|
5
|
+
authentication:
|
|
6
|
+
open_id:
|
|
7
|
+
google_authentication_page:
|
|
8
|
+
identifier: https://www.google.com/accounts/o8/id
|
|
9
|
+
attributes:
|
|
10
|
+
email: http://schema.openid.net/contact/email
|
|
11
|
+
my_open_id_authentication_page:
|
|
12
|
+
identifier: http://myopenid.com
|
|
13
|
+
yahoo_authentication_page:
|
|
14
|
+
identifier: https://www.yahoo.com
|
|
15
|
+
attributes:
|
|
16
|
+
email: http://axschema.org/contact/email
|
|
@@ -26,7 +26,9 @@ module RubyApp
|
|
|
26
26
|
def initialize(paths)
|
|
27
27
|
@document = {}
|
|
28
28
|
paths.each do |path|
|
|
29
|
-
|
|
29
|
+
File.open(path, 'r') do |file|
|
|
30
|
+
@document.merge!(YAML::load(file)[ENV['RUBY_APP_CONFIGURATION'] || 'default'] || {})
|
|
31
|
+
end
|
|
30
32
|
end
|
|
31
33
|
end
|
|
32
34
|
|
data/lib/ruby_app/version.rb
CHANGED
data/ruby_app.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: RubyApp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 191
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 80
|
|
10
|
+
version: 0.0.80
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Frank G. Ficnar
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-01-
|
|
18
|
+
date: 2012-01-26 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
@@ -311,20 +311,6 @@ dependencies:
|
|
|
311
311
|
type: :development
|
|
312
312
|
prerelease: false
|
|
313
313
|
name: rspec-mocks
|
|
314
|
-
- !ruby/object:Gem::Dependency
|
|
315
|
-
version_requirements: &id022 !ruby/object:Gem::Requirement
|
|
316
|
-
none: false
|
|
317
|
-
requirements:
|
|
318
|
-
- - ">="
|
|
319
|
-
- !ruby/object:Gem::Version
|
|
320
|
-
hash: 3
|
|
321
|
-
segments:
|
|
322
|
-
- 0
|
|
323
|
-
version: "0"
|
|
324
|
-
requirement: *id022
|
|
325
|
-
type: :development
|
|
326
|
-
prerelease: false
|
|
327
|
-
name: ya2yaml
|
|
328
314
|
description: A web application framework in Ruby
|
|
329
315
|
email:
|
|
330
316
|
- frank.ficnar@gmail.com
|