padrino-core 0.4.6 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6
1
+ 0.5.0
data/padrino-core.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{padrino-core}
8
- s.version = "0.4.6"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
12
- s.date = %q{2010-01-07}
12
+ s.date = %q{2010-01-06}
13
13
  s.default_executable = %q{padrino}
14
14
  s.description = %q{The Padrino core gem required for use of this framework}
15
15
  s.email = %q{nesquena@gmail.com}
data/test/test_mounter.rb CHANGED
@@ -19,7 +19,7 @@ class TestMounter < Test::Unit::TestCase
19
19
  assert_equal "Test", mounter.app_class
20
20
  assert_equal "/path/to/test.rb", mounter.app_file
21
21
  assert_equal "/test", mounter.uri_root
22
- assert_nil mounter.app_root
22
+ assert_equal File.dirname(mounter.app_file), mounter.app_root
23
23
  end
24
24
 
25
25
  should 'check locate_app_file with __FILE__' do
@@ -29,7 +29,7 @@ class TestMounter < Test::Unit::TestCase
29
29
  assert_equal "Test", mounter.app_class
30
30
  assert_match %r{test/app.rb}, mounter.app_file
31
31
  assert_equal "/test", mounter.uri_root
32
- assert_nil mounter.app_root
32
+ assert_equal File.dirname(mounter.app_file), mounter.app_root
33
33
  end
34
34
 
35
35
  should 'mount an app' do
@@ -46,7 +46,7 @@ class TestMounter < Test::Unit::TestCase
46
46
  assert_equal Test, mounter.app_obj
47
47
  assert_equal Padrino.root('app/app.rb'), mounter.app_file
48
48
  assert_equal "/", mounter.uri_root
49
- assert_equal nil, mounter.app_root
49
+ assert_equal File.dirname(mounter.app_file), mounter.app_root
50
50
  end
51
51
 
52
52
  should 'mount multiple apps' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2010-01-07 00:00:00 +01:00
15
+ date: 2010-01-06 00:00:00 -08:00
16
16
  default_executable: padrino
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency