radiant 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of radiant might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  == Change Log
2
2
 
3
+ === 0.8.2 Lustery
4
+
5
+ * Allow rake tasks to run if a higher version of Cucumber is installed [Jim Gay]
6
+
3
7
  === 0.8.1 Luster
4
8
 
5
9
  * Move default cache location to tmp. [Sean Cribbs]
@@ -3,6 +3,10 @@
3
3
  The following people have submitted changes which have been applied to the
4
4
  core:
5
5
 
6
+ === 0.8.2 Lustery
7
+
8
+ * Jim Gay
9
+
6
10
  === 0.8.1 Luster
7
11
 
8
12
  * John Long
@@ -560,7 +560,7 @@ module StandardTags
560
560
  date = if time_attr
561
561
  case
562
562
  when time_attr == 'now'
563
- Time.now
563
+ Time.zone.now
564
564
  when ['published_at', 'created_at', 'updated_at'].include?(time_attr)
565
565
  page[time_attr]
566
566
  else
@@ -5,7 +5,7 @@ unless defined? Radiant::Version
5
5
  module Version
6
6
  Major = '0'
7
7
  Minor = '8'
8
- Tiny = '1'
8
+ Tiny = '2'
9
9
 
10
10
  class << self
11
11
  def to_s
@@ -10,7 +10,7 @@ begin
10
10
  raise LoadError if (minor < 3) || (minor == 3 && tiny < 9)
11
11
  t.fork = true
12
12
  t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
13
- t.feature_pattern = "#{RADIANT_ROOT}/features/**/*.feature"
13
+ t.feature_pattern = "#{RADIANT_ROOT}/features/**/*.feature" if t.respond_to?(:feature_pattern=)
14
14
  end
15
15
  task :features => 'db:test:prepare'
16
16
  rescue LoadError
@@ -73,7 +73,7 @@ begin
73
73
  end
74
74
  Cucumber::Rake::Task.new(:integration) do |t|
75
75
  t.cucumber_opts = ["--format","progress"]
76
- t.feature_pattern = "#{RADIANT_ROOT}/features/**/*.feature"
76
+ t.feature_pattern = "#{RADIANT_ROOT}/features/**/*.feature" if t.respond_to?(:feature_pattern=)
77
77
  end
78
78
 
79
79
  desc 'Run all specs in spec/generators directory'
@@ -458,8 +458,8 @@ describe "Standard Tags" do
458
458
  end
459
459
 
460
460
  describe "with 'for' attribute" do
461
- it "set to 'now' should render the current date" do
462
- page.should render('<r:date for="now" />').as(Time.now.strftime("%A, %B %d, %Y"))
461
+ it "set to 'now' should render the current date in the current Time.zone" do
462
+ page.should render('<r:date for="now" />').as(Time.zone.now.strftime("%A, %B %d, %Y"))
463
463
  end
464
464
 
465
465
  it "set to 'created_at' should render the creation date" do
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 8
8
+ - 2
9
+ version: 0.8.2
5
10
  platform: ruby
6
11
  authors:
7
12
  - Radiant CMS dev team
@@ -9,39 +14,51 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-09-05 00:00:00 -04:00
17
+ date: 2010-04-27 00:00:00 -04:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rake
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 8
30
+ - 3
23
31
  version: 0.8.3
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: rack
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 0
44
+ - 0
33
45
  version: 1.0.0
34
- version:
46
+ type: :runtime
47
+ version_requirements: *id002
35
48
  - !ruby/object:Gem::Dependency
36
49
  name: RedCloth
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
40
52
  requirements:
41
53
  - - ">="
42
54
  - !ruby/object:Gem::Version
55
+ segments:
56
+ - 4
57
+ - 0
58
+ - 0
43
59
  version: 4.0.0
44
- version:
60
+ type: :runtime
61
+ version_requirements: *id003
45
62
  description: |-
46
63
  Radiant is a simple and powerful publishing system designed for small teams.
47
64
  It is built with Rails and is similar to Textpattern or MovableType, but is
@@ -877,6 +894,7 @@ files:
877
894
  - vendor/rails/actionmailer/lib/action_mailer.rb
878
895
  - vendor/rails/actionmailer/lib/actionmailer.rb
879
896
  - vendor/rails/actionmailer/MIT-LICENSE
897
+ - vendor/rails/actionmailer/pkg/actionmailer-3.0.pre.gem
880
898
  - vendor/rails/actionmailer/Rakefile
881
899
  - vendor/rails/actionmailer/README
882
900
  - vendor/rails/actionmailer/test/abstract_unit.rb
@@ -1064,6 +1082,7 @@ files:
1064
1082
  - vendor/rails/actionpack/lib/action_view.rb
1065
1083
  - vendor/rails/actionpack/lib/actionpack.rb
1066
1084
  - vendor/rails/actionpack/MIT-LICENSE
1085
+ - vendor/rails/actionpack/pkg/actionpack-3.0.pre.gem
1067
1086
  - vendor/rails/actionpack/Rakefile
1068
1087
  - vendor/rails/actionpack/README
1069
1088
  - vendor/rails/actionpack/RUNNING_UNIT_TESTS
@@ -1352,6 +1371,7 @@ files:
1352
1371
  - vendor/rails/actionpack/test/template/url_helper_test.rb
1353
1372
  - vendor/rails/actionpack/test/testing_sandbox.rb
1354
1373
  - vendor/rails/actionpack/test/view/test_case_test.rb
1374
+ - vendor/rails/activemodel/pkg/activemodel-3.0.pre.gem
1355
1375
  - vendor/rails/activerecord/CHANGELOG
1356
1376
  - vendor/rails/activerecord/examples/associations.png
1357
1377
  - vendor/rails/activerecord/examples/performance.rb
@@ -1413,6 +1433,7 @@ files:
1413
1433
  - vendor/rails/activerecord/lib/active_record/version.rb
1414
1434
  - vendor/rails/activerecord/lib/active_record.rb
1415
1435
  - vendor/rails/activerecord/lib/activerecord.rb
1436
+ - vendor/rails/activerecord/pkg/activerecord-3.0.pre.gem
1416
1437
  - vendor/rails/activerecord/Rakefile
1417
1438
  - vendor/rails/activerecord/README
1418
1439
  - vendor/rails/activerecord/RUNNING_UNIT_TESTS
@@ -1699,6 +1720,7 @@ files:
1699
1720
  - vendor/rails/activeresource/lib/active_resource/version.rb
1700
1721
  - vendor/rails/activeresource/lib/active_resource.rb
1701
1722
  - vendor/rails/activeresource/lib/activeresource.rb
1723
+ - vendor/rails/activeresource/pkg/activeresource-3.0.pre.gem
1702
1724
  - vendor/rails/activeresource/Rakefile
1703
1725
  - vendor/rails/activeresource/README
1704
1726
  - vendor/rails/activeresource/test/abstract_unit.rb
@@ -2061,7 +2083,9 @@ files:
2061
2083
  - vendor/rails/activesupport/lib/active_support/xml_mini.rb
2062
2084
  - vendor/rails/activesupport/lib/active_support.rb
2063
2085
  - vendor/rails/activesupport/lib/activesupport.rb
2086
+ - vendor/rails/activesupport/pkg/activesupport-3.0.pre.gem
2064
2087
  - vendor/rails/activesupport/README
2088
+ - vendor/rails/pkg/rails-3.0.pre.gem
2065
2089
  - vendor/rails/railties/bin/about
2066
2090
  - vendor/rails/railties/bin/console
2067
2091
  - vendor/rails/railties/bin/dbconsole
@@ -2377,6 +2401,7 @@ files:
2377
2401
  - vendor/rails/railties/lib/test_help.rb
2378
2402
  - vendor/rails/railties/lib/webrick_server.rb
2379
2403
  - vendor/rails/railties/MIT-LICENSE
2404
+ - vendor/rails/railties/pkg/railties-3.0.pre.gem
2380
2405
  - vendor/rails/railties/Rakefile
2381
2406
  - vendor/rails/railties/README
2382
2407
  - vendor/redcloth/bin/redcloth
@@ -2446,18 +2471,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
2446
2471
  requirements:
2447
2472
  - - ">="
2448
2473
  - !ruby/object:Gem::Version
2474
+ segments:
2475
+ - 0
2449
2476
  version: "0"
2450
- version:
2451
2477
  required_rubygems_version: !ruby/object:Gem::Requirement
2452
2478
  requirements:
2453
2479
  - - ">="
2454
2480
  - !ruby/object:Gem::Version
2481
+ segments:
2482
+ - 0
2455
2483
  version: "0"
2456
- version:
2457
2484
  requirements: []
2458
2485
 
2459
2486
  rubyforge_project: radiant
2460
- rubygems_version: 1.3.5
2487
+ rubygems_version: 1.3.6
2461
2488
  signing_key:
2462
2489
  specification_version: 3
2463
2490
  summary: A no-fluff content management system designed for small teams.