refinerycms 0.9.9.10 → 0.9.9.11

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -29,10 +29,10 @@ end
29
29
  # REFINERY CMS ================================================================
30
30
  # Anything you put in here will be overridden when the app gets updated.
31
31
 
32
- # gem 'refinerycms', '~> 0.9.9.9'
32
+ # gem 'refinerycms', '~> 0.9.9.10'
33
33
 
34
34
  group :development, :test do
35
- gem 'refinerycms-testing', '~> 0.9.9.9'
35
+ gem 'refinerycms-testing', '~> 0.9.9.10'
36
36
  end
37
37
 
38
38
  # END REFINERY CMS ============================================================
@@ -47,12 +47,12 @@ end
47
47
  # gem 'refinerycms-inquiries', '~> 0.9'
48
48
  # gem 'refinerycms-news', '~> 1.0'
49
49
  # gem 'refinerycms-portfolio', '~> 0.9.9'
50
- # gem 'refinerycms-theming', '~> 0.9.9'
50
+ # gem 'refinerycms-theming', '~> 1.0'
51
51
  # gem 'refinerycms-search', '~> 0.9.8'
52
- # gem 'refinerycms-blog', '~> 1.1'
52
+ # gem 'refinerycms-blog', '~> 1.3'
53
53
  # gem 'refinerycms-page-images', '~> 1.0'
54
54
 
55
55
  # Add i18n support (optional, you can remove this if you really want to).
56
- gem 'refinerycms-i18n', '~> 0.9.9.14'
56
+ gem 'refinerycms-i18n', '~> 0.9.9.15'
57
57
 
58
58
  # END USER DEFINED
data/Gemfile.lock CHANGED
@@ -1,60 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- refinerycms (0.9.9.10)
4
+ refinerycms (0.9.9.11)
5
5
  bundler (~> 1.0)
6
- refinerycms-authentication (~> 0.9.9.10)
7
- refinerycms-base (~> 0.9.9.10)
8
- refinerycms-core (~> 0.9.9.10)
9
- refinerycms-dashboard (~> 0.9.9.10)
10
- refinerycms-images (~> 0.9.9.10)
11
- refinerycms-pages (~> 0.9.9.10)
12
- refinerycms-resources (~> 0.9.9.10)
13
- refinerycms-settings (~> 0.9.9.10)
14
- refinerycms-authentication (0.9.9.10)
6
+ refinerycms-authentication (~> 0.9.9.11)
7
+ refinerycms-base (~> 0.9.9.11)
8
+ refinerycms-core (~> 0.9.9.11)
9
+ refinerycms-dashboard (~> 0.9.9.11)
10
+ refinerycms-images (~> 0.9.9.11)
11
+ refinerycms-pages (~> 0.9.9.11)
12
+ refinerycms-resources (~> 0.9.9.11)
13
+ refinerycms-settings (~> 0.9.9.11)
14
+ refinerycms-authentication (0.9.9.11)
15
15
  devise (~> 1.1)
16
- refinerycms-core (~> 0.9.9.10)
17
- refinerycms-base (0.9.9.10)
18
- refinerycms-core (0.9.9.10)
16
+ refinerycms-core (~> 0.9.9.11)
17
+ refinerycms-base (0.9.9.11)
18
+ refinerycms-core (0.9.9.11)
19
19
  acts_as_indexed (~> 0.7)
20
20
  friendly_id_globalize3 (~> 3.2.1)
21
21
  globalize3 (>= 0.1.0.beta)
22
22
  moretea-awesome_nested_set (~> 1.4)
23
23
  rails (~> 3.0.5)
24
24
  rdoc (>= 2.5.11)
25
- refinerycms-base (~> 0.9.9.10)
25
+ refinerycms-base (~> 0.9.9.11)
26
26
  refinerycms-generators (~> 1.0)
27
- refinerycms-settings (~> 0.9.9.10)
27
+ refinerycms-settings (~> 0.9.9.11)
28
28
  truncate_html (~> 0.5)
29
29
  will_paginate (~> 3.0.pre)
30
- refinerycms-dashboard (0.9.9.10)
31
- refinerycms-core (~> 0.9.9.10)
32
- refinerycms-images (0.9.9.10)
30
+ refinerycms-dashboard (0.9.9.11)
31
+ refinerycms-core (~> 0.9.9.11)
32
+ refinerycms-images (0.9.9.11)
33
33
  dragonfly (~> 0.8.2)
34
34
  rack-cache (>= 0.5.3)
35
- refinerycms-core (~> 0.9.9.10)
36
- refinerycms-pages (0.9.9.10)
37
- refinerycms-core (~> 0.9.9.10)
38
- refinerycms-resources (0.9.9.10)
35
+ refinerycms-core (~> 0.9.9.11)
36
+ refinerycms-pages (0.9.9.11)
37
+ refinerycms-core (~> 0.9.9.11)
38
+ refinerycms-resources (0.9.9.11)
39
39
  dragonfly (~> 0.8.2)
40
40
  rack-cache (>= 0.5.3)
41
- refinerycms-core (~> 0.9.9.10)
42
- refinerycms-settings (0.9.9.10)
43
- refinerycms-base (~> 0.9.9.10)
44
- refinerycms-testing (0.9.9.10)
41
+ refinerycms-core (~> 0.9.9.11)
42
+ refinerycms-settings (0.9.9.11)
43
+ refinerycms-base (~> 0.9.9.11)
44
+ refinerycms-testing (0.9.9.11)
45
45
  autotest
46
46
  autotest-notification
47
47
  autotest-rails
48
48
  capybara (>= 0.4.1.1)
49
49
  cucumber
50
- cucumber-rails
50
+ cucumber-rails (>= 0.4)
51
51
  database_cleaner
52
52
  factory_girl
53
53
  gherkin
54
54
  json_pure
55
55
  launchy
56
56
  rack-test (~> 0.5.6)
57
- refinerycms-core (~> 0.9.9.10)
57
+ refinerycms-core (~> 0.9.9.11)
58
58
  rspec-rails (~> 2.5)
59
59
 
60
60
  GEM
@@ -109,19 +109,21 @@ GEM
109
109
  selenium-webdriver (>= 0.0.27)
110
110
  xpath (~> 0.1.3)
111
111
  celerity (0.8.8)
112
- childprocess (0.1.7)
113
- ffi (~> 0.6.3)
112
+ childprocess (0.1.8)
113
+ ffi (~> 1.0.6)
114
114
  configuration (1.2.0)
115
- cucumber (0.10.0)
115
+ cucumber (0.10.2)
116
116
  builder (>= 2.1.2)
117
- diff-lcs (~> 1.1.2)
118
- gherkin (~> 2.3.2)
119
- json (~> 1.4.6)
120
- term-ansicolor (~> 1.0.5)
121
- cucumber-rails (0.3.2)
122
- cucumber (>= 0.8.0)
117
+ diff-lcs (>= 1.1.2)
118
+ gherkin (>= 2.3.5)
119
+ json (>= 1.4.6)
120
+ term-ansicolor (>= 1.0.5)
121
+ cucumber-rails (0.4.0)
122
+ cucumber (>= 0.10.1)
123
+ nokogiri (>= 1.4.4)
124
+ rack-test (>= 0.5.7)
123
125
  culerity (0.2.15)
124
- database_cleaner (0.6.5)
126
+ database_cleaner (0.6.6)
125
127
  devise (1.1.8)
126
128
  bcrypt-ruby (~> 2.1.2)
127
129
  warden (~> 1.0.2)
@@ -131,17 +133,17 @@ GEM
131
133
  erubis (2.6.6)
132
134
  abstract (>= 1.0.0)
133
135
  factory_girl (1.3.3)
134
- ffi (0.6.3)
136
+ ffi (1.0.7)
135
137
  rake (>= 0.8.7)
136
138
  friendly_id_globalize3 (3.2.1)
137
139
  babosa (~> 0.2.1)
138
- gherkin (2.3.4)
139
- json (~> 1.4.6)
140
+ gherkin (2.3.5)
141
+ json (>= 1.4.6)
140
142
  globalize3 (0.1.0.beta)
141
143
  activemodel (>= 3.0.0)
142
144
  activerecord (>= 3.0.0)
143
145
  i18n (0.5.0)
144
- json (1.4.6)
146
+ json (1.5.1)
145
147
  json_pure (1.5.1)
146
148
  launchy (0.4.0)
147
149
  configuration (>= 0.0.5)
@@ -178,9 +180,9 @@ GEM
178
180
  thor (~> 0.14.4)
179
181
  rake (0.8.7)
180
182
  rdoc (3.5.3)
181
- refinerycms-generators (1.0.0)
182
- refinerycms-i18n (0.9.9.14)
183
- refinerycms-core (>= 0.9.9.8)
183
+ refinerycms-generators (1.0.1)
184
+ refinerycms-i18n (0.9.9.15)
185
+ refinerycms-core (>= 0.9.9.10)
184
186
  routing-filter (>= 0.2.3)
185
187
  routing-filter (0.2.3)
186
188
  actionpack
@@ -198,9 +200,9 @@ GEM
198
200
  railties (~> 3.0)
199
201
  rspec (~> 2.5.0)
200
202
  rubyzip (0.9.4)
201
- selenium-webdriver (0.1.3)
202
- childprocess (~> 0.1.5)
203
- ffi (~> 0.6.3)
203
+ selenium-webdriver (0.1.4)
204
+ childprocess (>= 0.1.7)
205
+ ffi (>= 1.0.7)
204
206
  json_pure
205
207
  rubyzip
206
208
  sqlite3 (1.3.3)
@@ -209,7 +211,7 @@ GEM
209
211
  treetop (1.4.9)
210
212
  polyglot (>= 0.3.1)
211
213
  truncate_html (0.5.0)
212
- tzinfo (0.3.24)
214
+ tzinfo (0.3.25)
213
215
  warden (1.0.3)
214
216
  rack (>= 1.0.0)
215
217
  will_paginate (3.0.pre2)
@@ -221,6 +223,6 @@ PLATFORMS
221
223
 
222
224
  DEPENDENCIES
223
225
  refinerycms!
224
- refinerycms-i18n (~> 0.9.9.14)
225
- refinerycms-testing (~> 0.9.9.9)
226
+ refinerycms-i18n (~> 0.9.9.15)
227
+ refinerycms-testing (~> 0.9.9.10)
226
228
  sqlite3
data/changelog.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## 0.9.9.11 [unreleased]
2
+
3
+ * Translated WYMeditor texts to Japanese. [Hiro Asari](https://github.com/BanzaiMan)
4
+ * Supporting `cucumber-rails 0.4.0`. [Philip Arndt](https://github.com/parndt)
5
+ * Added an option to link in the `page_title` enabling easier breadcrumbs. [Sergio Cambra](https://github.com/scambra)
6
+ * Fixed support for `asset_file_path` in upcoming Rails 3.1. [Philip Arndt](https://github.com/parndt)
7
+ * Updated copyright notice to include the current year. [David Jones](https://github.com/djones)
8
+ * Fixed site bar switch link. [Philip Arndt](https://github.com/parndt)
9
+ * Added support for translating Javascript strings. [Philip Arndt](https://github.com/parndt)
10
+ * Added `refinery.on_attach` for running extra functionality just after Refinery attaches to Rails. Functions similarly to `config.to_prepare`. [Philip Arndt](https://github.com/parndt)
11
+ * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.10...0.9.9.11)
12
+
13
+ ## 0.9.9.10 [17 March 2011]
14
+
15
+ * Excluded caching option for menus when logged in. [Philip Arndt](https://github.com/parndt)
16
+ * Fixed site bar translation logic. [Philip Arndt](https://github.com/parndt)
17
+ * Removed `config/settings.rb` file. [Philip Arndt](https://github.com/parndt)
18
+ * Added a default `features/support/paths.rb` file in the `Rails.root` for your paths. [Philip Arndt](https://github.com/parndt)
19
+ * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.9...0.9.9.10)
20
+
1
21
  ## 0.9.9.9 [15 March 2011]
2
22
 
3
23
  * Added Japanese translation. [Hiro Asari](https://github.com/BanzaiMan)
@@ -20,7 +40,7 @@
20
40
  * Deprecated `rake refinery:update` in favour of rails `generate refinerycms --update`. [Philip Arndt](https://github.com/parndt)
21
41
  * Added `--skip-db` option to `bin/refinerycms` installer which doesn't automate any database creation/migration and skips the `rails generate refinerycms` generator. [Philip Arndt](https:/github.com/parndt)
22
42
  * Exchanged (help) links for the information.png 'refinery icon'. This will happen automatically if you used `refinery_help_tag`. [Philip Arndt](https://github.com/parndt)
23
- * Added xhr_paging as an option in crudify which handles the server-side usage of the HTML5 History API. [Philip Arndt](https://github.com/parndt)
43
+ * Added `xhr_paging` as an option in crudify which handles the server-side usage of the HTML5 History API. [Philip Arndt](https://github.com/parndt)
24
44
  * Looser Bundler dependency (now `~> 1.0`). [Terence Lee](https://github.com/hone)
25
45
  * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.6...0.9.9.7)
26
46
 
@@ -0,0 +1,19 @@
1
+ module NavigationHelpers
2
+ module Refinery
3
+ module RailsApplicationRoot
4
+
5
+ def path_to(page_name)
6
+ # Replace the nil below with the commented code to use this.
7
+ nil
8
+
9
+ #case page_name
10
+ #when /the root path/
11
+ # root_path
12
+ #else
13
+ # nil
14
+ #end
15
+ end
16
+
17
+ end
18
+ end
19
+ end
data/lib/refinery.rb CHANGED
@@ -2,13 +2,6 @@ require 'pathname'
2
2
 
3
3
  require File.expand_path('../refinerycms', __FILE__)
4
4
 
5
- # Construct the ability to call Refinery.root
5
+ # Override Refinery.root
6
6
  # Must come after requiring 'refinerycms'
7
- module Refinery
8
- class << self
9
- attr_accessor :root
10
- def root
11
- @root ||= Pathname.new(File.expand_path('../../', __FILE__))
12
- end
13
- end
14
- end
7
+ Refinery.root = Pathname.new(File.expand_path('../../', __FILE__))
data/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2005-2010 [Resolve Digital](http://www.resolvedigital.com)
3
+ Copyright (c) 2005-2011 [Resolve Digital](http://www.resolvedigital.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,2 @@
1
+ var I18n = I18n || {};
2
+ I18n.translations = {"en":{"js":{"admin":{"confirm_changes":"Any changes you've made will be lost. Are you sure you want to continue without saving?"}}}};
data/readme.md CHANGED
@@ -12,10 +12,10 @@ Refinery also supports Rails 2.x using the [Rails 2.x stable branch](http://gith
12
12
  ## How to
13
13
 
14
14
  * __[Install Refinery CMS](http://refinerycms.com/download)__
15
- * [Update Refinery CMS to the latest version](http://refinerycms.com/guides/how-to-update-refinery-to-the-latest-version)
15
+ * [Update Refinery CMS to the latest stable version](http://refinerycms.com/guides/how-to-update-refinery-to-the-latest-stable-version)
16
16
  * [Install Refinery CMS on Heroku](http://refinerycms.com/guides/how-to-install-refinery-on-heroku)
17
17
  * [Run the Refinery CMS test suite](http://refinerycms.com/guides/how-to-test-refinery)
18
- * __[Contribute to Refinery CMS](http://refinerycms.com/guides/how-to-contribute-to-refinery)__
18
+ * __[Contribute to Refinery CMS](http://refinerycms.com/guides/how-to-contribute-to-refinery-development)__
19
19
  * __[Donate to the Refinery CMS core team](http://pledgie.com/campaigns/8431)__
20
20
 
21
21
  ## Getting Started
@@ -109,8 +109,8 @@ to get help on how to use that. Or read the full documentation on [writing engin
109
109
 
110
110
  ## License
111
111
 
112
- Refinery is released under the [MIT license](http://github.com/resolve/refinerycms/blob/master/license.md#readme) and is copyright (c) 2005-2010 [Resolve Digital](http://www.resolvedigital.com)
112
+ Refinery is released under the [MIT license](http://github.com/resolve/refinerycms/blob/master/license.md#readme) and is copyright (c) 2005-2011 [Resolve Digital](http://www.resolvedigital.com)
113
113
 
114
114
  ### Credits
115
115
 
116
- Many of the icons used in Refinery CMS are from the wonderful [Silk library by Mark James](http://www.famfamfam.com/lab/icons/silk/).
116
+ Many of the icons used in Refinery CMS are from the wonderful [Silk library by Mark James](http://www.famfamfam.com/lab/icons/silk/).
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.10}
5
+ s.version = %q{0.9.9.11}
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-03-17}
7
+ s.date = %q{2011-03-25}
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'
19
19
 
20
20
  # Refinery CMS
21
- s.add_dependency 'refinerycms-authentication', '~> 0.9.9.10'
22
- s.add_dependency 'refinerycms-base', '~> 0.9.9.10'
23
- s.add_dependency 'refinerycms-core', '~> 0.9.9.10'
24
- s.add_dependency 'refinerycms-dashboard', '~> 0.9.9.10'
25
- s.add_dependency 'refinerycms-images', '~> 0.9.9.10'
26
- s.add_dependency 'refinerycms-pages', '~> 0.9.9.10'
27
- s.add_dependency 'refinerycms-resources', '~> 0.9.9.10'
28
- s.add_dependency 'refinerycms-settings', '~> 0.9.9.10'
21
+ s.add_dependency 'refinerycms-authentication', '~> 0.9.9.11'
22
+ s.add_dependency 'refinerycms-base', '~> 0.9.9.11'
23
+ s.add_dependency 'refinerycms-core', '~> 0.9.9.11'
24
+ s.add_dependency 'refinerycms-dashboard', '~> 0.9.9.11'
25
+ s.add_dependency 'refinerycms-images', '~> 0.9.9.11'
26
+ s.add_dependency 'refinerycms-pages', '~> 0.9.9.11'
27
+ s.add_dependency 'refinerycms-resources', '~> 0.9.9.11'
28
+ s.add_dependency 'refinerycms-settings', '~> 0.9.9.11'
29
29
 
30
30
  s.files = [
31
31
  '.gitignore',
@@ -56,6 +56,9 @@ Gem::Specification.new do |s|
56
56
  'config/environments/production.rb',
57
57
  'config/environments/test.rb',
58
58
  'config.ru',
59
+ 'features',
60
+ 'features/support',
61
+ 'features/support/paths.rb',
59
62
  'lib',
60
63
  'lib/refinery.rb',
61
64
  'lib/refinerycms',
@@ -63,6 +66,9 @@ Gem::Specification.new do |s|
63
66
  'lib/refinerycms.rb',
64
67
  'license.md',
65
68
  'license.md',
69
+ 'public',
70
+ 'public/javascripts',
71
+ 'public/javascripts/translations.js',
66
72
  'readme.md',
67
73
  'readme.md',
68
74
  'refinerycms.gemspec',
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.10
5
+ version: 0.9.9.11
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-03-17 00:00:00 +13:00
16
+ date: 2011-03-25 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.10
38
+ version: 0.9.9.11
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.10
49
+ version: 0.9.9.11
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.10
60
+ version: 0.9.9.11
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.10
71
+ version: 0.9.9.11
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.10
82
+ version: 0.9.9.11
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.10
93
+ version: 0.9.9.11
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.10
104
+ version: 0.9.9.11
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.10
115
+ version: 0.9.9.11
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.
@@ -143,10 +143,12 @@ files:
143
143
  - config/environments/production.rb
144
144
  - config/environments/test.rb
145
145
  - config.ru
146
+ - features/support/paths.rb
146
147
  - lib/refinery.rb
147
148
  - lib/refinerycms/all.rb
148
149
  - lib/refinerycms.rb
149
150
  - license.md
151
+ - public/javascripts/translations.js
150
152
  - readme.md
151
153
  - refinerycms.gemspec
152
154
  - spec/rcov.opts