refinerycms 0.9.9.3 → 0.9.9.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -8,7 +8,6 @@ tmp/**/*
8
8
  # Documentation
9
9
  doc/api
10
10
  doc/app
11
- doc/*
12
11
  .yardoc
13
12
  .yardopts
14
13
 
data/Gemfile.lock CHANGED
@@ -1,47 +1,47 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- refinerycms (0.9.9.3)
4
+ refinerycms (0.9.9.4)
5
5
  bundler (~> 1.0.10)
6
- refinerycms-authentication (~> 0.9.9.3)
7
- refinerycms-base (~> 0.9.9.3)
8
- refinerycms-core (~> 0.9.9.3)
9
- refinerycms-dashboard (~> 0.9.9.3)
10
- refinerycms-images (~> 0.9.9.3)
11
- refinerycms-pages (~> 0.9.9.3)
12
- refinerycms-resources (~> 0.9.9.3)
13
- refinerycms-settings (~> 0.9.9.3)
14
- refinerycms-authentication (0.9.9.3)
6
+ refinerycms-authentication (~> 0.9.9.4)
7
+ refinerycms-base (~> 0.9.9.4)
8
+ refinerycms-core (~> 0.9.9.4)
9
+ refinerycms-dashboard (~> 0.9.9.4)
10
+ refinerycms-images (~> 0.9.9.4)
11
+ refinerycms-pages (~> 0.9.9.4)
12
+ refinerycms-resources (~> 0.9.9.4)
13
+ refinerycms-settings (~> 0.9.9.4)
14
+ refinerycms-authentication (0.9.9.4)
15
15
  devise (~> 1.1)
16
- refinerycms-core (~> 0.9.9.3)
17
- refinerycms-base (0.9.9.3)
18
- refinerycms-core (0.9.9.3)
16
+ refinerycms-core (~> 0.9.9.4)
17
+ refinerycms-base (0.9.9.4)
18
+ refinerycms-core (0.9.9.4)
19
19
  acts_as_indexed (~> 0.7)
20
20
  friendly_id_globalize3 (~> 3.2.0)
21
21
  globalize3 (>= 0.1.0.beta)
22
22
  moretea-awesome_nested_set (= 1.4.3.1)
23
23
  rails (~> 3.0.3)
24
24
  rdoc (>= 2.5.11)
25
- refinerycms-base (~> 0.9.9.3)
25
+ refinerycms-base (~> 0.9.9.4)
26
26
  refinerycms-generators (~> 0.9.9.3)
27
- refinerycms-settings (~> 0.9.9.3)
27
+ refinerycms-settings (~> 0.9.9.4)
28
28
  truncate_html (~> 0.5)
29
29
  will_paginate (~> 3.0.pre)
30
- refinerycms-dashboard (0.9.9.3)
31
- refinerycms-core (~> 0.9.9.3)
32
- refinerycms-images (0.9.9.3)
30
+ refinerycms-dashboard (0.9.9.4)
31
+ refinerycms-core (~> 0.9.9.4)
32
+ refinerycms-images (0.9.9.4)
33
33
  dragonfly (~> 0.8.2)
34
34
  rack-cache (>= 0.5.3)
35
- refinerycms-core (~> 0.9.9.3)
36
- refinerycms-pages (0.9.9.3)
37
- refinerycms-core (~> 0.9.9.3)
38
- refinerycms-resources (0.9.9.3)
35
+ refinerycms-core (~> 0.9.9.4)
36
+ refinerycms-pages (0.9.9.4)
37
+ refinerycms-core (~> 0.9.9.4)
38
+ refinerycms-resources (0.9.9.4)
39
39
  dragonfly (~> 0.8.2)
40
40
  rack-cache (>= 0.5.3)
41
- refinerycms-core (~> 0.9.9.3)
42
- refinerycms-settings (0.9.9.3)
43
- refinerycms-base (~> 0.9.9.3)
44
- refinerycms-testing (0.9.9.3)
41
+ refinerycms-core (~> 0.9.9.4)
42
+ refinerycms-settings (0.9.9.4)
43
+ refinerycms-base (~> 0.9.9.4)
44
+ refinerycms-testing (0.9.9.4)
45
45
  autotest
46
46
  autotest-notification
47
47
  autotest-rails
@@ -54,13 +54,13 @@ PATH
54
54
  json_pure
55
55
  launchy
56
56
  rack-test (~> 0.5.6)
57
- refinerycms-core (~> 0.9.9.3)
57
+ refinerycms-core (~> 0.9.9.4)
58
58
  rspec-rails (~> 2.5)
59
59
 
60
60
  GEM
61
61
  remote: http://rubygems.org/
62
62
  specs:
63
- ZenTest (4.4.2)
63
+ ZenTest (4.5.0)
64
64
  abstract (1.0.0)
65
65
  actionmailer (3.0.4)
66
66
  actionpack (= 3.0.4)
@@ -88,7 +88,7 @@ GEM
88
88
  activemodel (= 3.0.4)
89
89
  activesupport (= 3.0.4)
90
90
  activesupport (3.0.4)
91
- acts_as_indexed (0.7.0)
91
+ acts_as_indexed (0.7.1)
92
92
  arel (2.0.8)
93
93
  autotest (4.4.6)
94
94
  ZenTest (>= 4.4.1)
@@ -121,7 +121,7 @@ GEM
121
121
  cucumber-rails (0.3.2)
122
122
  cucumber (>= 0.8.0)
123
123
  culerity (0.2.15)
124
- database_cleaner (0.6.3)
124
+ database_cleaner (0.6.4)
125
125
  devise (1.1.7)
126
126
  bcrypt-ruby (~> 2.1.2)
127
127
  warden (~> 1.0.2)
@@ -178,7 +178,7 @@ GEM
178
178
  thor (~> 0.14.4)
179
179
  rake (0.8.7)
180
180
  rdoc (3.5.3)
181
- refinerycms-generators (0.9.9.3)
181
+ refinerycms-generators (0.9.9.5)
182
182
  refinerycms-i18n (0.9.9.9)
183
183
  refinerycms (>= 0.9.8)
184
184
  routing-filter (>= 0.2.3)
data/bin/refinerycms CHANGED
@@ -210,7 +210,7 @@ module Refinery
210
210
  end
211
211
  end
212
212
  elsif @app_path.join('.git').directory? && @options[:update] && !@options[:confirm]
213
- git_status = run_command('git status --porcelain', :puts => false)
213
+ git_status = run_command('git status --porcelain', {:puts => false, :ruby => false})
214
214
  if git_status.to_s.strip.length > 0
215
215
  puts "\nYou have uncommitted changes or untracked files. Please remove or commit them, or:"
216
216
  puts "Use --confirm to have Refinery proceed anyway. "
@@ -316,13 +316,13 @@ module Refinery
316
316
  hosting = "Duostack" if @options[:duostack]
317
317
  unless hosting.nil?
318
318
  puts "\n\nInitializing and committing to git..\n"
319
- run_command("git init && git add . && git commit -am 'Initial Commit'")
319
+ run_command("git init && git add . && git commit -am 'Initial Commit'", :ruby => false)
320
320
 
321
321
  puts "\n\nCreating #{hosting} app..\n"
322
322
  run_command("#{hosting.downcase} create #{@options[:heroku] || @options[:duostack]}")
323
323
 
324
324
  puts "\n\nPushing to #{hosting} (this takes time, be patient)..\n"
325
- run_command("git push #{hosting.downcase} master")
325
+ run_command("git push #{hosting.downcase} master", :ruby => false)
326
326
 
327
327
  puts "\n\nSetting up the #{hosting} database..\n"
328
328
  run_command("#{hosting.downcase} rake db:setup")
@@ -347,16 +347,6 @@ module Refinery
347
347
  puts "heroku config:add S3_BUCKET=XXXXXXXXX S3_KEY=XXXXXXXXX S3_SECRET=XXXXXXXXXX"
348
348
  end
349
349
 
350
- puts "\n--- Refinery CMS 0.9.9.1 note ---"
351
- puts "New 'core' engine called 'refinerycms-testing' which handles RSpec and Cucumber support."
352
- puts "You will see this disabled in your Gemfile in the '# REFINERY CMS' section."
353
- puts "To enable it, uncomment the gem line in your Gemfile and run:"
354
- puts "\nbundle install"
355
- puts "rails generate refinerycms_testing"
356
- puts "\nIf it prompts you about whether you want to overwrite any files that conflict, choose yes."
357
- puts "\nNow, to run the specs and features you can just type 'rake'."
358
- puts "--- End upgrade note ---\n"
359
-
360
350
  puts "\nThanks for installing Refinery, enjoy creating your new application!"
361
351
  puts "---------\n\n"
362
352
  end
@@ -365,11 +355,18 @@ module Refinery
365
355
 
366
356
  def run_command(command, options = {})
367
357
  require 'rbconfig'
368
- exe = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['RUBY_INSTALL_NAME'])
369
- options = {:cd => true, :puts => true, :fail => nil}.merge(options)
358
+ options = {:cd => true, :puts => true, :fail => nil, :ruby => true}.merge(options)
370
359
  to_run = %w()
371
360
  to_run << "cd \"#{@app_path}\" &&" if options[:cd]
372
- to_run << "#{exe} -S " << command
361
+
362
+ # Sometimes we want to exclude the ruby runtime executable from the front
363
+ # e.g. when shelling to git
364
+ if options[:ruby]
365
+ exe = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['RUBY_INSTALL_NAME'])
366
+ to_run << "#{exe} -S "
367
+ end
368
+
369
+ to_run << command
373
370
 
374
371
  if Refinery::WINDOWS
375
372
  to_run = %w(cmd /c) | to_run.map{|c| c.gsub(/\//m, '\\')}
data/changelog.md CHANGED
@@ -1,6 +1,17 @@
1
+ ## 0.9.9.4 [24 February 2011]
2
+
3
+ * Added ``doc/guides`` for textile based guides that power http://refinerycms.com/guides. [Steven Heidel](https://github.com/stevenheidel) and [Philip Arndt](https://github.com/parndt)
4
+ * Allowed multiple resource pickers on one form. [Phil Spitler](https://github.com/philspitler)
5
+ * Solved YAML parsing issues introduced by change to Psych. [Aaron Patterson](https://github.com/tenderlove) and [Uģis Ozols](https://github.com/ugisozols)
6
+ * Updated page to use a localized cache key if frontend translations are enabled. [Bryan Mahoney](https://github.com/DynamoMTL)
7
+ * Upgraded modernizr to version 1.7. [Jon Roberts](https://github.com/emptyflask)
8
+ * Fixed an issue with the 'add page parts' functionality inserting new parts in the wrong place. [Philip Arndt](https://github.com/parndt)
9
+ * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.3...0.9.9.4)
10
+
1
11
  ## 0.9.9.3 [17 February 2011]
2
12
 
3
13
  * Fixed faulty require statement that tried to load rack/cache before dragonfly. [Philip Arndt](https://github.com/parndt)
14
+ * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.2...0.9.9.3)
4
15
 
5
16
  ## 0.9.9.2 [17 February 2011]
6
17
 
@@ -8,7 +19,6 @@
8
19
  * Fixed an issue in some browsers with a particular jQuery selector. [Philip Arndt](https://github.com/parndt)
9
20
  * Modified some existing migrations to behave better when creating new applications. [Philip Arndt](https://github.com/parndt)
10
21
  * Fixed ``-u`` and ``-p`` support for ``bin/refinerycms``. [Philip Arndt](https://github.com/parndt)
11
-
12
22
  * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.1...0.9.9.2)
13
23
 
14
24
  ## 0.9.9.1 [15 February 2011]
@@ -21,7 +31,6 @@
21
31
  * Split the project into 10 separately released gems that include their own dependencies. [Philip Arndt](https://github.com/parndt)
22
32
  * New Vietnamese translation files added. [Alex Nguyen](https://github.com/tiendung) and Stefan N and Mario Nguyen
23
33
  * Improved JRuby support as well as the way that commands run in any ruby implementation. [Hiro Asari](https://github.com/BanzaiMan)
24
-
25
34
  * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9...0.9.9.1)
26
35
 
27
36
  ## 0.9.9 [27 January 2011]
@@ -66,7 +75,6 @@
66
75
  * Sped up WYMeditor load times. [Philip Arndt](https://github.com/parndt)
67
76
  * Fixed several issues for Internet Explorer. [Josef Šimánek](https://github.com/simi)
68
77
  * Added installation option for [Duostack](http://duostack.com) hosting service. [Philip Arndt](https://github.com/parndt) and [David E. Chen](https://github.com/dchen)
69
-
70
78
  * [See full list](https://github.com/resolve/refinerycms/compare/0.9.8.9...0.9.9)
71
79
 
72
80
  ## 0.9.8.9 [21 December 2010]
data/refinerycms.gemspec CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms}
5
- s.version = %q{0.9.9.3}
5
+ s.version = %q{0.9.9.4}
6
6
  s.description = %q{A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks to 'the Rails way' where possible.}
7
- s.date = %q{2011-02-17}
7
+ s.date = %q{2011-02-24}
8
8
  s.summary = %q{A Ruby on Rails CMS that supports Rails 3}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
@@ -18,14 +18,14 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency 'bundler', '~> 1.0.10'
19
19
 
20
20
  # Refinery CMS
21
- s.add_dependency 'refinerycms-authentication', '~> 0.9.9.3'
22
- s.add_dependency 'refinerycms-base', '~> 0.9.9.3'
23
- s.add_dependency 'refinerycms-core', '~> 0.9.9.3'
24
- s.add_dependency 'refinerycms-dashboard', '~> 0.9.9.3'
25
- s.add_dependency 'refinerycms-images', '~> 0.9.9.3'
26
- s.add_dependency 'refinerycms-pages', '~> 0.9.9.3'
27
- s.add_dependency 'refinerycms-resources', '~> 0.9.9.3'
28
- s.add_dependency 'refinerycms-settings', '~> 0.9.9.3'
21
+ s.add_dependency 'refinerycms-authentication', '~> 0.9.9.4'
22
+ s.add_dependency 'refinerycms-base', '~> 0.9.9.4'
23
+ s.add_dependency 'refinerycms-core', '~> 0.9.9.4'
24
+ s.add_dependency 'refinerycms-dashboard', '~> 0.9.9.4'
25
+ s.add_dependency 'refinerycms-images', '~> 0.9.9.4'
26
+ s.add_dependency 'refinerycms-pages', '~> 0.9.9.4'
27
+ s.add_dependency 'refinerycms-resources', '~> 0.9.9.4'
28
+ s.add_dependency 'refinerycms-settings', '~> 0.9.9.4'
29
29
 
30
30
  s.files = [
31
31
  '.gitignore',
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.3
5
+ version: 0.9.9.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-02-17 00:00:00 +13:00
16
+ date: 2011-02-24 00:00:00 +13:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 0.9.9.3
38
+ version: 0.9.9.4
39
39
  type: :runtime
40
40
  version_requirements: *id002
41
41
  - !ruby/object:Gem::Dependency
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ~>
48
48
  - !ruby/object:Gem::Version
49
- version: 0.9.9.3
49
+ version: 0.9.9.4
50
50
  type: :runtime
51
51
  version_requirements: *id003
52
52
  - !ruby/object:Gem::Dependency
@@ -57,7 +57,7 @@ dependencies:
57
57
  requirements:
58
58
  - - ~>
59
59
  - !ruby/object:Gem::Version
60
- version: 0.9.9.3
60
+ version: 0.9.9.4
61
61
  type: :runtime
62
62
  version_requirements: *id004
63
63
  - !ruby/object:Gem::Dependency
@@ -68,7 +68,7 @@ dependencies:
68
68
  requirements:
69
69
  - - ~>
70
70
  - !ruby/object:Gem::Version
71
- version: 0.9.9.3
71
+ version: 0.9.9.4
72
72
  type: :runtime
73
73
  version_requirements: *id005
74
74
  - !ruby/object:Gem::Dependency
@@ -79,7 +79,7 @@ dependencies:
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.9.3
82
+ version: 0.9.9.4
83
83
  type: :runtime
84
84
  version_requirements: *id006
85
85
  - !ruby/object:Gem::Dependency
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 0.9.9.3
93
+ version: 0.9.9.4
94
94
  type: :runtime
95
95
  version_requirements: *id007
96
96
  - !ruby/object:Gem::Dependency
@@ -101,7 +101,7 @@ dependencies:
101
101
  requirements:
102
102
  - - ~>
103
103
  - !ruby/object:Gem::Version
104
- version: 0.9.9.3
104
+ version: 0.9.9.4
105
105
  type: :runtime
106
106
  version_requirements: *id008
107
107
  - !ruby/object:Gem::Dependency
@@ -112,7 +112,7 @@ dependencies:
112
112
  requirements:
113
113
  - - ~>
114
114
  - !ruby/object:Gem::Version
115
- version: 0.9.9.3
115
+ version: 0.9.9.4
116
116
  type: :runtime
117
117
  version_requirements: *id009
118
118
  description: A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks to 'the Rails way' where possible.