blog_logic 1.4.7 → 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -23,7 +23,6 @@ group :test do
23
23
  gem 'faker'
24
24
  gem 'launchy'
25
25
  gem 'machinist_mongo', :require => 'machinist/mongoid'
26
- gem 'metric_fu'
27
26
  gem 'mocha'
28
27
  gem 'rspec-rails'
29
28
  gem 'yard'
data/Gemfile.local CHANGED
@@ -23,7 +23,6 @@ group :test do
23
23
  gem 'faker'
24
24
  gem 'launchy'
25
25
  gem 'machinist_mongo', :require => 'machinist/mongoid'
26
- gem 'metric_fu'
27
26
  gem 'mocha'
28
27
  gem 'rspec-rails'
29
28
  gem 'yard'
data/Rakefile CHANGED
@@ -1,10 +1,8 @@
1
- require 'metric_fu'
1
+ require 'metric_fu' if Object.const_defined? 'MetricFu'
2
2
  require 'rubygems'
3
3
  require 'rake'
4
4
  require File.expand_path('../config/application', __FILE__)
5
-
6
5
  BlogLogic::Application.load_tasks
7
-
8
6
  begin
9
7
  require 'jeweler'
10
8
  Jeweler::Tasks.new do |gem|
@@ -15,19 +13,16 @@ begin
15
13
  gem.homepage = "https://mir.unfuddle.com/a#/projects/31942"
16
14
  gem.authors = ["Bantik"]
17
15
  gem.add_development_dependency "rspec", ">= 1.2.9"
18
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
19
16
  end
20
17
  Jeweler::GemcutterTasks.new
21
18
  rescue LoadError
22
19
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
23
20
  end
24
-
25
- require 'rake/rdoctask'
21
+ require 'rdoc/task'
26
22
  Rake::RDocTask.new do |rdoc|
27
23
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
28
-
29
24
  rdoc.rdoc_dir = 'rdoc'
30
25
  rdoc.title = "blog_logic #{version}"
31
26
  rdoc.rdoc_files.include('README*')
32
27
  rdoc.rdoc_files.include('lib/**/*.rb')
33
- end
28
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.7
1
+ 1.4.8
data/blog_logic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "blog_logic"
8
- s.version = "1.4.7"
8
+ s.version = "1.4.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bantik"]
12
- s.date = "2011-11-28"
12
+ s.date = "2011-11-30"
13
13
  s.description = "An engine for search-engine-optimized blog management."
14
14
  s.email = "corey@seologic.com"
15
15
  s.extra_rdoc_files = [
@@ -71,8 +71,6 @@ Gem::Specification.new do |s|
71
71
  "config/boot.rb",
72
72
  "config/cucumber.yml",
73
73
  "config/environment.rb",
74
- "config/environments/development.rb",
75
- "config/environments/production.rb",
76
74
  "config/environments/test.rb",
77
75
  "config/initializers/ckeditor.rb",
78
76
  "config/initializers/formats.rb",
@@ -1,15 +1,13 @@
1
1
  BlogLogic::Application.configure do
2
2
  config.cache_classes = true
3
3
  config.whiny_nils = true
4
- config.consider_all_requests_local = true
4
+ config.consider_all_requests_local = true
5
5
  config.action_controller.perform_caching = false
6
6
  config.action_dispatch.show_exceptions = false
7
- config.action_controller.allow_forgery_protection = false
7
+ config.action_controller.allow_forgery_protection = false
8
8
  config.action_mailer.delivery_method = :test
9
9
  config.active_support.deprecation = :stderr
10
- # Custom settings
10
+ # custom
11
11
  config.admin_host = 'admin.bloglogic.com'
12
- # tanker gem
13
12
  config.tanker_disabled = true
14
- config.tanker_pagination_backend = :kaminari
15
13
  end
@@ -1,9 +1,9 @@
1
- if Rails.env.test?
1
+ if Rails.env.test? && Object.const_defined?('MetricFu')
2
2
  require 'metric_fu'
3
3
  MetricFu::Configuration.run do |config|
4
4
  config.metrics = [:churn, :saikuro, :stats, :flog, :flay]
5
5
  config.graphs = [:flog, :flay, :stats]
6
6
  config.rcov[:test_files] = ['spec/**/*_spec.rb']
7
- config.rcov[:rcov_opts] << '-Ispec' # Needed to find spec_helper
7
+ config.rcov[:rcov_opts] << '-Ispec'
8
8
  end
9
9
  end
data/config/mongoid.yml CHANGED
@@ -1,17 +1,5 @@
1
1
  defaults: &defaults
2
2
  host: localhost
3
- autocreate_indexes: false
4
- allow_dynamic_fields: false
5
- include_root_in_json: false
6
- parameterize_keys: true
7
- persist_in_safe_mode: false
8
- raise_not_found_error: true
9
- reconnect_time: 3
10
- skip_version_check: true
11
-
12
- development:
13
- <<: *defaults
14
- database: blog_logic_development
15
3
 
16
4
  test:
17
5
  <<: *defaults
data/config/routes.rb CHANGED
@@ -6,7 +6,6 @@ Rails.application.routes.draw do
6
6
  get ':blog_slug/search', :to => 'blogs#search', :as => :search_blog
7
7
  get ':blog_slug/topics', :to => 'blog_categories#index', :as => 'blog_categories'
8
8
  get ':blog_slug/topics/*id', :to => 'blog_categories#show', :as => 'blog_category'
9
-
10
9
  get ':blog_slug/:post_slug', :to => 'posts#show'
11
10
  end
12
11
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blog_logic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 7
10
- version: 1.4.7
9
+ - 8
10
+ version: 1.4.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bantik
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-28 00:00:00 Z
18
+ date: 2011-11-30 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bson_ext
@@ -269,8 +269,6 @@ files:
269
269
  - config/boot.rb
270
270
  - config/cucumber.yml
271
271
  - config/environment.rb
272
- - config/environments/development.rb
273
- - config/environments/production.rb
274
272
  - config/environments/test.rb
275
273
  - config/initializers/ckeditor.rb
276
274
  - config/initializers/formats.rb
@@ -1,11 +0,0 @@
1
- BlogLogic::Application.configure do
2
- config.cache_classes = false
3
- config.whiny_nils = true
4
- config.consider_all_requests_local = true
5
- config.action_controller.perform_caching = false
6
- config.action_mailer.raise_delivery_errors = false
7
- config.active_support.deprecation = :log
8
- config.action_dispatch.best_standards_support = :builtin
9
- # Custom settings
10
- config.feature_results_path = "#{Rails.root}/tmp/feature_results.txt"
11
- end
@@ -1,9 +0,0 @@
1
- BlogLogic::Application.configure do
2
- config.cache_classes = true
3
- config.consider_all_requests_local = false
4
- config.action_controller.perform_caching = true
5
- config.action_dispatch.x_sendfile_header = "X-Sendfile"
6
- config.serve_static_assets = false
7
- config.i18n.fallbacks = true
8
- config.active_support.deprecation = :notify
9
- end