Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 4 commits
  • 14 files changed
  • 0 comments
  • 1 contributor
Jun 22, 2011
Philip Arndt Now prepares the gem without testing enabled so that bundle install d…
…oesn't install it thus wasting resources when the user didn't want it. Using --testing while installing enables it again.
f375a3b
Philip Arndt TODO was done d112c59
Philip Arndt Downcase the input (this was already fixed in master) 07a803b
Jun 23, 2011
Philip Arndt Documented why we're now at version 1.0.2 80fe84d
6  authentication/refinerycms-authentication.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-authentication}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Authentication engine for Refinery CMS}
8 8
   s.description       = %q{The default authentication engine for Refinery CMS}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15 15
   s.require_paths     = %w(lib)
16 16
   s.executables       = %w()
17 17
 
18  
-  s.add_dependency 'refinerycms-core',            '= 1.0.1'
  18
+  s.add_dependency 'refinerycms-core',            '= 1.0.2'
19 19
   s.add_dependency 'devise',                      '~> 1.3.0'
20 20
   s.add_dependency 'friendly_id_globalize3',      '~> 3.2.1'
21 21
 
2  base/lib/refinery/version.rb
@@ -2,7 +2,7 @@ module Refinery
2 2
   class Version
3 3
     @major = 1
4 4
     @minor = 0
5  
-    @tiny  = 1
  5
+    @tiny  = 2
6 6
     @build = nil
7 7
 
8 8
     class << self
4  base/refinerycms-base.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-base}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Base engine for Refinery CMS}
8 8
   s.description       = %q{This provides a base for Refinery CMS which handles things like settings on the Refinery namespace.}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
7  bin/refinerycms
@@ -170,7 +170,7 @@ module Refinery
170 170
         puts "\nPlease generate your new project from outside the Refinery directory and any Rails directory."
171 171
         puts "\n"
172 172
         exit(1)
173  
-      elsif %w(refinery test testing).include?(@input.first)
  173
+      elsif %w(refinery refinerycms test testing rails).include?(@input.first.downcase)
174 174
         puts "\nYou can't use '#{@input.first}' as a name for your project, this is a reserved word that will cause conflicts."
175 175
         puts "Please choose another name for your new project."
176 176
         puts "\n"
@@ -254,8 +254,8 @@ module Refinery
254 254
       refinery_gemfile_contents = Refinery.root.join('Gemfile').read
255 255
       refinery_gems = refinery_gemfile_contents.match(/# REFINERY CMS =+.*# END REFINERY CMS =+/m)[0]
256 256
       refinery_gems.gsub!("# gem 'refinerycms'", "gem 'refinerycms'") # Enable refinerycms
257  
-      unless @options[:testing] # Disable testing
258  
-        refinery_gems.gsub!("gem 'refinerycms-testing'", "# gem 'refinerycms-testing'")
  257
+      if @options[:testing] # Enable testing
  258
+        refinery_gems.gsub!("# gem 'refinerycms-testing'", "gem 'refinerycms-testing'")
259 259
       end
260 260
 
261 261
       app_gemfile = @app_path.join('Gemfile')
@@ -284,7 +284,6 @@ module Refinery
284 284
       find_and_replace('Gemfile', "# gem 'fog'", "gem 'fog'") if @options[:heroku]
285 285
 
286 286
       # Automate
287  
-      # TODO: Check exit codes to see whether or not these worked
288 287
       puts "Installing gem requirements using bundler..\n"
289 288
 
290 289
       # Install!
5  changelog.md
Source Rendered
... ...
@@ -1,3 +1,8 @@
  1
+## 1.0.2 [23 June 2011]
  2
+
  3
+* Ensure that `refinerycms-testing` is not enabled by default when installing an application. [Philip Arndt](https://github.com/parndt)
  4
+* [See full list](https://github.com/resolve/refinerycms/compare/1.0.1...1.0.2)
  5
+
1 6
 ## 1.0.1 [21 June 2011]
2 7
 
3 8
 * Added `-t` / `--testing` option to `bin/refinerycms` which adds `refinerycms-testing` support by default when installing. [Philip Arndt](https://github.com/parndt)
8  core/refinerycms-core.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-core}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Core engine for Refinery CMS}
8 8
   s.description       = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -15,8 +15,8 @@ Gem::Specification.new do |s|
15 15
   s.require_paths     = %w(lib)
16 16
   s.executables       = %w()
17 17
 
18  
-  s.add_dependency 'refinerycms-base',            '= 1.0.1'
19  
-  s.add_dependency 'refinerycms-settings',        '= 1.0.1'
  18
+  s.add_dependency 'refinerycms-base',            '= 1.0.2'
  19
+  s.add_dependency 'refinerycms-settings',        '= 1.0.2'
20 20
   s.add_dependency 'refinerycms-generators',      '~> 1.0'
21 21
   s.add_dependency 'acts_as_indexed',             '~> 0.7'
22 22
   s.add_dependency 'friendly_id_globalize3',      '~> 3.2.1'
6  dashboard/refinerycms-dashboard.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-dashboard}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Dashboard engine for Refinery CMS}
8 8
   s.description       = %q{The dashboard is usually the first engine the user sees in the backend of Refinery CMS. It displays useful information and contains links to common functionality.}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -73,5 +73,5 @@ Gem::Specification.new do |s|
73 73
     'refinerycms-dashboard.gemspec'
74 74
   ]
75 75
 
76  
-  s.add_dependency 'refinerycms-core', '= 1.0.1'
  76
+  s.add_dependency 'refinerycms-core', '= 1.0.2'
77 77
 end
6  images/refinerycms-images.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-images}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Images engine for Refinery CMS}
8 8
   s.description       = %q{Handles all image upload and processing functionality in Refinery CMS.}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -96,7 +96,7 @@ Gem::Specification.new do |s|
96 96
     'spec/uploads/beach.jpeg'
97 97
   ]
98 98
 
99  
-  s.add_dependency 'refinerycms-core', '= 1.0.1'
  99
+  s.add_dependency 'refinerycms-core', '= 1.0.2'
100 100
   s.add_dependency 'dragonfly',        '~> 0.9.0'
101 101
   s.add_dependency 'rack-cache',       '>= 0.5.3'
102 102
 end
3  lib/gemspec.rb
@@ -72,7 +72,8 @@
72 72
 if ARGV.any?{|a| a == "BUILD=true"}
73 73
   gemfile = gempath.join("Gemfile")
74 74
   old_gemfile = File.read(gemfile)
75  
-  new_gemfile = old_gemfile.gsub(/\n# REFINERY CMS DEVELOPMENT ====================================================.+# END REFINERY CMS DEVELOPMENT ================================================\n/m, '')
  75
+  new_gemfile = old_gemfile.gsub(/\n# REFINERY CMS DEVELOPMENT [=]*.+# END REFINERY CMS DEVELOPMENT [=]*\n/m, '')
  76
+  new_gemfile = new_gemfile.gsub("gem 'refinerycms-testing'", "# gem 'refinerycms-testing'")
76 77
 
77 78
   File.open(gemfile, 'w') {|f| f.puts(new_gemfile)}
78 79
   puts `cd #{gempath} && gem build #{gemspecfile}`
6  pages/refinerycms-pages.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-pages}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Pages engine for Refinery CMS}
8 8
   s.description       = %q{The default content engine of Refinery CMS. This engine handles the administration and display of user-editable pages.}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -120,7 +120,7 @@ Gem::Specification.new do |s|
120 120
     'spec/models/page_spec.rb'
121 121
   ]
122 122
 
123  
-  s.add_dependency 'refinerycms-core',            '= 1.0.1'
  123
+  s.add_dependency 'refinerycms-core',            '= 1.0.2'
124 124
   s.add_dependency 'friendly_id_globalize3',      '~> 3.2.1'
125 125
   s.add_dependency 'globalize3',                  '~> 0.1'
126 126
   s.add_dependency 'awesome_nested_set',          '~> 2.0'
20  refinerycms.gemspec
@@ -3,9 +3,9 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   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.}
8  
-  s.date              = %q{2011-06-21}
  8
+  s.date              = %q{2011-06-23}
9 9
   s.summary           = %q{A Ruby on Rails CMS that supports Rails 3}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
@@ -19,14 +19,14 @@ Gem::Specification.new do |s|
19 19
   s.add_dependency    'bundler',                    '~> 1.0'
20 20
 
21 21
   # Refinery CMS
22  
-  s.add_dependency    'refinerycms-authentication', '= 1.0.1'
23  
-  s.add_dependency    'refinerycms-base',           '= 1.0.1'
24  
-  s.add_dependency    'refinerycms-core',           '= 1.0.1'
25  
-  s.add_dependency    'refinerycms-dashboard',      '= 1.0.1'
26  
-  s.add_dependency    'refinerycms-images',         '= 1.0.1'
27  
-  s.add_dependency    'refinerycms-pages',          '= 1.0.1'
28  
-  s.add_dependency    'refinerycms-resources',      '= 1.0.1'
29  
-  s.add_dependency    'refinerycms-settings',       '= 1.0.1'
  22
+  s.add_dependency    'refinerycms-authentication', '= 1.0.2'
  23
+  s.add_dependency    'refinerycms-base',           '= 1.0.2'
  24
+  s.add_dependency    'refinerycms-core',           '= 1.0.2'
  25
+  s.add_dependency    'refinerycms-dashboard',      '= 1.0.2'
  26
+  s.add_dependency    'refinerycms-images',         '= 1.0.2'
  27
+  s.add_dependency    'refinerycms-pages',          '= 1.0.2'
  28
+  s.add_dependency    'refinerycms-resources',      '= 1.0.2'
  29
+  s.add_dependency    'refinerycms-settings',       '= 1.0.2'
30 30
 
31 31
   s.files             = [
32 32
     '.gitignore',
6  resources/refinerycms-resources.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-resources}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Resources engine for Refinery CMS}
8 8
   s.description       = %q{Handles all file upload and processing functionality in Refinery CMS.}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -89,7 +89,7 @@ Gem::Specification.new do |s|
89 89
     'spec/uploads/refinery_is_awesome.txt'
90 90
   ]
91 91
 
92  
-  s.add_dependency 'refinerycms-core', '= 1.0.1'
  92
+  s.add_dependency 'refinerycms-core', '= 1.0.2'
93 93
   s.add_dependency 'dragonfly',        '~> 0.9.0'
94 94
   s.add_dependency 'rack-cache',       '>= 0.5.3'
95 95
 end
6  settings/refinerycms-settings.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-settings}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Settings engine for Refinery CMS}
8 8
   s.description       = %q{The default settings engine that is required by Refinery CMS core. Adds programmer creatable, user editable settings for each engine.}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -85,5 +85,5 @@ Gem::Specification.new do |s|
85 85
     'spec/models/refinery_setting_spec.rb'
86 86
   ]
87 87
 
88  
-  s.add_dependency 'refinerycms-base', '= 1.0.1'
  88
+  s.add_dependency 'refinerycms-base', '= 1.0.2'
89 89
 end
6  testing/refinerycms-testing.gemspec
@@ -3,10 +3,10 @@
3 3
 
4 4
 Gem::Specification.new do |s|
5 5
   s.name              = %q{refinerycms-testing}
6  
-  s.version           = %q{1.0.1}
  6
+  s.version           = %q{1.0.2}
7 7
   s.summary           = %q{Testing plugin for Refinery CMS}
8 8
   s.description       = %q{This plugin adds the ability to run cucumber and rspec against the RefineryCMS gem while inside a RefineryCMS project}
9  
-  s.date              = %q{2011-06-21}
  9
+  s.date              = %q{2011-06-23}
10 10
   s.email             = %q{info@refinerycms.com}
11 11
   s.homepage          = %q{http://refinerycms.com}
12 12
   s.rubyforge_project = %q{refinerycms}
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15 15
   s.require_paths     = %w(lib)
16 16
   s.executables       = %w()
17 17
 
18  
-  s.add_dependency 'refinerycms-core', '= 1.0.1'
  18
+  s.add_dependency 'refinerycms-core', '= 1.0.2'
19 19
   # RSpec
20 20
   s.add_dependency 'rspec-rails',       '~> 2.6'
21 21
 

No commit comments for this range

Something went wrong with that request. Please try again.