postmarkdown 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/.gitignore +1 -0
  2. data/.rvmrc +1 -1
  3. data/Appraisals +8 -0
  4. data/Gemfile +2 -0
  5. data/Rakefile +5 -18
  6. data/app/controllers/posts_controller.rb +1 -5
  7. data/app/views/posts/index.html.haml +0 -1
  8. data/config.ru +7 -0
  9. data/gemfiles/rails3_0.gemfile +8 -0
  10. data/gemfiles/rails3_1.gemfile +9 -0
  11. data/lib/generators/postmarkdown/override_generator.rb +5 -1
  12. data/lib/postmarkdown/engine.rb +0 -1
  13. data/lib/postmarkdown/railtie.rb +8 -6
  14. data/lib/postmarkdown/version.rb +1 -1
  15. data/postmarkdown.gemspec +1 -1
  16. data/readme.md +1 -1
  17. data/spec/internal/.gitignore +2 -0
  18. data/spec/{support/rails_app → internal}/app/posts/2011-04-01-first-post.markdown +0 -0
  19. data/spec/{support/rails_app → internal}/app/posts/2011-04-28-image.markdown +0 -0
  20. data/spec/{support/rails_app → internal}/app/posts/2011-04-28-summary.markdown +0 -0
  21. data/spec/{support/rails_app → internal}/app/posts/2011-05-01-full-metadata.markdown +0 -0
  22. data/spec/{support/rails_app → internal}/app/posts/2015-02-13-custom-title.markdown +0 -0
  23. data/spec/{support/rails_app → internal}/app/views/layouts/application.html.erb +0 -2
  24. data/spec/internal/config/database.yml +3 -0
  25. data/spec/internal/config/environments/test.rb +9 -0
  26. data/spec/internal/config/routes.rb +3 -0
  27. data/spec/internal/db/schema.rb +3 -0
  28. data/spec/internal/log/.gitignore +1 -0
  29. data/spec/requests/assets_spec.rb +16 -0
  30. data/spec/requests/views_spec.rb +34 -0
  31. data/spec/spec_helper.rb +18 -4
  32. data/spec/support/rails_app/config/routes.rb +1 -1
  33. data/{public → vendor/assets}/stylesheets/postmarkdown/postmarkdown.css +0 -0
  34. metadata +64 -98
  35. data/spec/support/rails_app/README +0 -256
  36. data/spec/support/rails_app/Rakefile +0 -7
  37. data/spec/support/rails_app/app/helpers/application_helper.rb +0 -2
  38. data/spec/support/rails_app/config/environments/development.rb +0 -26
  39. data/spec/support/rails_app/config/environments/production.rb +0 -49
  40. data/spec/support/rails_app/config/environments/test.rb +0 -35
  41. data/spec/support/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  42. data/spec/support/rails_app/config/initializers/inflections.rb +0 -10
  43. data/spec/support/rails_app/config/initializers/mime_types.rb +0 -5
  44. data/spec/support/rails_app/config/initializers/session_store.rb +0 -8
  45. data/spec/support/rails_app/config/locales/en.yml +0 -5
  46. data/spec/support/rails_app/lib/tasks/.gitkeep +0 -0
  47. data/spec/support/rails_app/public/404.html +0 -26
  48. data/spec/support/rails_app/public/422.html +0 -26
  49. data/spec/support/rails_app/public/500.html +0 -26
  50. data/spec/support/rails_app/public/favicon.ico +0 -0
  51. data/spec/support/rails_app/public/images/rails.png +0 -0
  52. data/spec/support/rails_app/public/index.html +0 -239
  53. data/spec/support/rails_app/public/javascripts/application.js +0 -2
  54. data/spec/support/rails_app/public/javascripts/controls.js +0 -965
  55. data/spec/support/rails_app/public/javascripts/dragdrop.js +0 -974
  56. data/spec/support/rails_app/public/javascripts/effects.js +0 -1123
  57. data/spec/support/rails_app/public/javascripts/prototype.js +0 -6001
  58. data/spec/support/rails_app/public/javascripts/rails.js +0 -191
  59. data/spec/support/rails_app/public/robots.txt +0 -5
  60. data/spec/support/rails_app/public/stylesheets/.gitkeep +0 -0
  61. data/spec/support/rails_app/script/rails +0 -6
  62. data/spec/support/rails_app/test/performance/browsing_test.rb +0 -9
  63. data/spec/support/rails_app/test/test_helper.rb +0 -13
  64. data/spec/support/rails_app/vendor/plugins/.gitkeep +0 -0
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  .bundle
2
2
  Gemfile.lock
3
+ gemfiles/*.gemfile.lock
3
4
  db/*.sqlite3
4
5
  log/*.log
5
6
  tmp/
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm --create ruby-1.9.2-p180@postmarkdown
1
+ rvm --create ruby-1.9.2-p290@postmarkdown
@@ -0,0 +1,8 @@
1
+ appraise 'rails3_0' do
2
+ gem 'rails', '~> 3.0.0'
3
+ end
4
+
5
+ appraise 'rails3_1' do
6
+ gem 'rails', '~> 3.1.0'
7
+ gem 'combustion', '~> 0.3.1'
8
+ end
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ gem 'ruby-debug19', :require => false
data/Rakefile CHANGED
@@ -1,24 +1,11 @@
1
1
  require 'rubygems'
2
- begin
3
- require 'bundler/setup'
4
- rescue LoadError
5
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
- end
7
-
8
- require 'rake'
9
- require 'rake/rdoctask'
2
+ require 'appraisal'
3
+ require 'bundler/setup'
4
+ require 'bundler/gem_tasks'
10
5
 
11
- require 'rspec/core'
12
6
  require 'rspec/core/rake_task'
13
-
14
7
  RSpec::Core::RakeTask.new(:spec)
15
8
 
16
- task :default => :spec
17
-
18
- Rake::RDocTask.new(:rdoc) do |rdoc|
19
- rdoc.rdoc_dir = 'rdoc'
20
- rdoc.title = 'ContactForm'
21
- rdoc.options << '--line-numbers' << '--inline-source'
22
- rdoc.rdoc_files.include('README.rdoc')
23
- rdoc.rdoc_files.include('lib/**/*.rb')
9
+ task :default do
10
+ exec 'rake appraisal spec'
24
11
  end
@@ -21,11 +21,7 @@ class PostsController < ApplicationController
21
21
  helper_method :resource
22
22
 
23
23
  def collection
24
- @collection ||= begin
25
- posts = Post.where(params.slice(:year, :month, :day))
26
- posts = Kaminari.paginate_array(posts).page(params[:page]).per(10)
27
- posts
28
- end
24
+ @collection ||= Post.where(params.slice(:year, :month, :day))
29
25
  end
30
26
  helper_method :collection
31
27
  end
@@ -3,6 +3,5 @@
3
3
  %section#posts
4
4
  - if collection.present?
5
5
  = render collection, :summary => true
6
- = paginate
7
6
  - else
8
7
  No posts found.
@@ -0,0 +1,7 @@
1
+ ENV['BUNDLE_GEMFILE'] = 'gemfiles/rails3_1.gemfile'
2
+ require 'bundler'
3
+
4
+ Bundler.require :default, :development
5
+
6
+ Combustion.initialize!
7
+ run Combustion::Application
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "ruby-debug19", :require=>false
6
+ gem "rails", "~> 3.0.0"
7
+
8
+ gemspec :path=>"../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "ruby-debug19", :require=>false
6
+ gem "rails", "~> 3.1.0"
7
+ gem "combustion", "~> 0.3.1"
8
+
9
+ gemspec :path=>"../"
@@ -37,7 +37,11 @@ module Postmarkdown
37
37
  def override_theme
38
38
  if options.theme || options.all
39
39
  directory 'views/layouts', 'views/layouts'
40
- directory '../public/stylesheets', 'public/stylesheets'
40
+ if Rails.application.config.respond_to?(:assets) && Rails.application.config.assets.enabled
41
+ directory '../vendor/assets/stylesheets', 'app/assets/stylesheets'
42
+ else
43
+ directory '../vendor/assets/stylesheets', 'public/stylesheets'
44
+ end
41
45
  end
42
46
  end
43
47
  end
@@ -5,7 +5,6 @@ module Postmarkdown
5
5
  require 'rdiscount'
6
6
  require 'nokogiri'
7
7
  require 'haml'
8
- require 'kaminari'
9
8
 
10
9
  class Engine < Rails::Engine
11
10
  end
@@ -1,12 +1,14 @@
1
1
  module Postmarkdown
2
2
  class Railtie < Rails::Railtie
3
3
  initializer :before_initialize do
4
- require 'rack'
5
- Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Rack::Static',
6
- :urls => ['/stylesheets/postmarkdown'],
7
- :root => "#{postmarkdown_root}/public"
8
- )
9
- ActionController::Base.prepend_view_path("#{postmarkdown_root}/app/views")
4
+ unless Rails.application.config.respond_to?(:assets) && Rails.application.config.assets.enabled
5
+ require 'rack'
6
+ Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Rack::Static',
7
+ :urls => ['/stylesheets/postmarkdown'],
8
+ :root => "#{postmarkdown_root}/vendor/assets"
9
+ )
10
+ end
11
+ ActionController::Base.append_view_path("#{postmarkdown_root}/app/views")
10
12
  end
11
13
 
12
14
  private
@@ -1,3 +1,3 @@
1
1
  module Postmarkdown
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -26,8 +26,8 @@ Gem::Specification.new do |s|
26
26
  s.add_dependency 'gravtastic'
27
27
  s.add_dependency 'nokogiri'
28
28
  s.add_dependency 'rdiscount'
29
- s.add_dependency 'kaminari'
30
29
 
30
+ s.add_development_dependency 'appraisal'
31
31
  s.add_development_dependency 'rspec-rails', '~> 2.5'
32
32
  s.add_development_dependency 'capybara', '~> 1.0.0.beta'
33
33
  s.add_development_dependency 'sqlite3'
data/readme.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A simple Rails blog engine powered by Markdown.
4
4
 
5
- Postmarkdown is compatible with Rails 3 only and the gem is (soon to be) hosted on [RubyGems.org](http://rubygems.org).
5
+ Postmarkdown is compatible with Rails 3 only and the gem is hosted on [RubyGems.org](http://rubygems.org/gems/postmarkdown).
6
6
 
7
7
  ## Features
8
8
 
@@ -0,0 +1,2 @@
1
+ db/*.sqlite3
2
+ log/*.log
@@ -2,8 +2,6 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>RailsApp</title>
5
- <%= stylesheet_link_tag :all %>
6
- <%= javascript_include_tag :defaults %>
7
5
  <%= csrf_meta_tag %>
8
6
  </head>
9
7
  <body>
@@ -0,0 +1,3 @@
1
+ test:
2
+ adapter: sqlite3
3
+ database: db/combustion_test.sqlite3
@@ -0,0 +1,9 @@
1
+ Rails.application.class.configure do
2
+ config.cache_classes = true
3
+ config.whiny_nils = true
4
+ config.consider_all_requests_local = true
5
+ config.action_controller.perform_caching = false
6
+ config.action_dispatch.show_exceptions = false
7
+ config.action_mailer.delivery_method = :test
8
+ config.active_support.deprecation = :stderr
9
+ end
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ postmarkdown
3
+ end
@@ -0,0 +1,3 @@
1
+ ActiveRecord::Schema.define do
2
+ #
3
+ end
@@ -0,0 +1 @@
1
+ *.log
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'stylesheet', :type => :request do
4
+ include RSpec::Rails::HelperExampleGroup
5
+
6
+ def stylesheet_path
7
+ html = helper.stylesheet_link_tag 'postmarkdown/postmarkdown'
8
+ Nokogiri::HTML.fragment(html).at('link')[:href]
9
+ end
10
+
11
+ it 'should be served' do
12
+ visit stylesheet_path
13
+ page.source.should match /font-family:/
14
+ page.source.should match /}\s*\z/
15
+ end
16
+ end
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'views', :type => :request do
4
+ context 'without application index view' do
5
+ it 'should use internal view' do
6
+ visit '/posts'
7
+ page.should have_css 'section#posts'
8
+ page.should_not have_content 'test application view'
9
+ end
10
+ end
11
+
12
+ context 'with application index view' do
13
+ let(:view_path) { Rails.root + 'app/views/posts/index.html.haml' }
14
+
15
+ before do
16
+ ApplicationController.view_paths.each(&:clear_cache)
17
+ FileUtils.mkdir_p File.dirname(view_path)
18
+ File.open view_path, 'w' do |io|
19
+ io.puts 'This is a test application view.'
20
+ end
21
+ end
22
+
23
+ after do
24
+ File.unlink view_path
25
+ ApplicationController.view_paths.each(&:clear_cache)
26
+ end
27
+
28
+ it 'should not use internal view' do
29
+ visit '/posts'
30
+ page.should have_content 'test application view'
31
+ page.should_not have_css 'section#posts'
32
+ end
33
+ end
34
+ end
@@ -1,10 +1,24 @@
1
1
  ENV['RAILS_ENV'] ||= 'test'
2
- require 'support/rails_app/config/environment'
3
- require 'rspec/rails'
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ Bundler.setup :default, :development
6
+
7
+ require 'postmarkdown'
8
+
9
+ require 'rails/version'
10
+ if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR == 0
11
+ require 'support/rails_app/config/environment'
12
+ else
13
+ require 'combustion'
14
+ Combustion.initialize!
15
+ end
16
+
4
17
  require 'capybara/rspec'
5
- require 'delorean'
18
+ require 'rspec/rails'
19
+ require 'capybara/rails'
6
20
 
7
- Dir[Rails.root.join('spec/support/**/*.rb')].each {|f| require f}
21
+ require 'delorean'
8
22
 
9
23
  RSpec.configure do |config|
10
24
  config.mock_with :rspec
@@ -1,3 +1,3 @@
1
- RailsApp::Application.routes.draw do
1
+ Rails.application.routes.draw do
2
2
  postmarkdown
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,11 +12,11 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2011-09-19 00:00:00.000000000Z
15
+ date: 2011-11-29 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails
19
- requirement: &70346286148320 !ruby/object:Gem::Requirement
19
+ requirement: &70221596662580 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ~>
@@ -24,10 +24,10 @@ dependencies:
24
24
  version: '3.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70346286148320
27
+ version_requirements: *70221596662580
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: haml
30
- requirement: &70346286147800 !ruby/object:Gem::Requirement
30
+ requirement: &70221596661220 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
33
  - - ~>
@@ -35,10 +35,10 @@ dependencies:
35
35
  version: '3.1'
36
36
  type: :runtime
37
37
  prerelease: false
38
- version_requirements: *70346286147800
38
+ version_requirements: *70221596661220
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: gravtastic
41
- requirement: &70346286147400 !ruby/object:Gem::Requirement
41
+ requirement: &70221596676340 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ! '>='
@@ -46,10 +46,10 @@ dependencies:
46
46
  version: '0'
47
47
  type: :runtime
48
48
  prerelease: false
49
- version_requirements: *70346286147400
49
+ version_requirements: *70221596676340
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: nokogiri
52
- requirement: &70346286146940 !ruby/object:Gem::Requirement
52
+ requirement: &70221596675560 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
55
  - - ! '>='
@@ -57,10 +57,10 @@ dependencies:
57
57
  version: '0'
58
58
  type: :runtime
59
59
  prerelease: false
60
- version_requirements: *70346286146940
60
+ version_requirements: *70221596675560
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rdiscount
63
- requirement: &70346286146500 !ruby/object:Gem::Requirement
63
+ requirement: &70221596674340 !ruby/object:Gem::Requirement
64
64
  none: false
65
65
  requirements:
66
66
  - - ! '>='
@@ -68,21 +68,21 @@ dependencies:
68
68
  version: '0'
69
69
  type: :runtime
70
70
  prerelease: false
71
- version_requirements: *70346286146500
71
+ version_requirements: *70221596674340
72
72
  - !ruby/object:Gem::Dependency
73
- name: kaminari
74
- requirement: &70346286146080 !ruby/object:Gem::Requirement
73
+ name: appraisal
74
+ requirement: &70221596672320 !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
77
77
  - - ! '>='
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
- type: :runtime
80
+ type: :development
81
81
  prerelease: false
82
- version_requirements: *70346286146080
82
+ version_requirements: *70221596672320
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec-rails
85
- requirement: &70346286145580 !ruby/object:Gem::Requirement
85
+ requirement: &70221596671060 !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
88
88
  - - ~>
@@ -90,10 +90,10 @@ dependencies:
90
90
  version: '2.5'
91
91
  type: :development
92
92
  prerelease: false
93
- version_requirements: *70346286145580
93
+ version_requirements: *70221596671060
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: capybara
96
- requirement: &70346286145020 !ruby/object:Gem::Requirement
96
+ requirement: &70221596670200 !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
99
  - - ~>
@@ -101,10 +101,10 @@ dependencies:
101
101
  version: 1.0.0.beta
102
102
  type: :development
103
103
  prerelease: false
104
- version_requirements: *70346286145020
104
+ version_requirements: *70221596670200
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: sqlite3
107
- requirement: &70346286144560 !ruby/object:Gem::Requirement
107
+ requirement: &70221596669620 !ruby/object:Gem::Requirement
108
108
  none: false
109
109
  requirements:
110
110
  - - ! '>='
@@ -112,10 +112,10 @@ dependencies:
112
112
  version: '0'
113
113
  type: :development
114
114
  prerelease: false
115
- version_requirements: *70346286144560
115
+ version_requirements: *70221596669620
116
116
  - !ruby/object:Gem::Dependency
117
117
  name: delorean
118
- requirement: &70346286143940 !ruby/object:Gem::Requirement
118
+ requirement: &70221596682860 !ruby/object:Gem::Requirement
119
119
  none: false
120
120
  requirements:
121
121
  - - ! '>='
@@ -123,7 +123,7 @@ dependencies:
123
123
  version: '0.2'
124
124
  type: :development
125
125
  prerelease: false
126
- version_requirements: *70346286143940
126
+ version_requirements: *70221596682860
127
127
  description: A simple Rails blog engine powered by markdown.
128
128
  email:
129
129
  - jason.weathered@ennova.com.au
@@ -137,6 +137,7 @@ files:
137
137
  - .gitignore
138
138
  - .rspec
139
139
  - .rvmrc
140
+ - Appraisals
140
141
  - Gemfile
141
142
  - Rakefile
142
143
  - app/controllers/application_controller.rb
@@ -148,6 +149,9 @@ files:
148
149
  - app/views/posts/feed.xml.builder
149
150
  - app/views/posts/index.html.haml
150
151
  - app/views/posts/show.html.haml
152
+ - config.ru
153
+ - gemfiles/rails3_0.gemfile
154
+ - gemfiles/rails3_1.gemfile
151
155
  - lib/generators/postmarkdown/install_generator.rb
152
156
  - lib/generators/postmarkdown/override_generator.rb
153
157
  - lib/generators/postmarkdown/post_generator.rb
@@ -163,10 +167,23 @@ files:
163
167
  - lib/postmarkdown/util.rb
164
168
  - lib/postmarkdown/version.rb
165
169
  - postmarkdown.gemspec
166
- - public/stylesheets/postmarkdown/postmarkdown.css
167
170
  - readme.md
168
171
  - spec/acceptance/posts_spec.rb
172
+ - spec/internal/.gitignore
173
+ - spec/internal/app/posts/2011-04-01-first-post.markdown
174
+ - spec/internal/app/posts/2011-04-28-image.markdown
175
+ - spec/internal/app/posts/2011-04-28-summary.markdown
176
+ - spec/internal/app/posts/2011-05-01-full-metadata.markdown
177
+ - spec/internal/app/posts/2015-02-13-custom-title.markdown
178
+ - spec/internal/app/views/layouts/application.html.erb
179
+ - spec/internal/config/database.yml
180
+ - spec/internal/config/environments/test.rb
181
+ - spec/internal/config/routes.rb
182
+ - spec/internal/db/schema.rb
183
+ - spec/internal/log/.gitignore
169
184
  - spec/models/posts_spec.rb
185
+ - spec/requests/assets_spec.rb
186
+ - spec/requests/views_spec.rb
170
187
  - spec/routing/posts_routing_spec.rb
171
188
  - spec/spec_helper.rb
172
189
  - spec/support/data/posts/2011-04-01-first-post.markdown
@@ -179,53 +196,18 @@ files:
179
196
  - spec/support/data/posts/2015-02-13-custom-title.markdown
180
197
  - spec/support/data/posts/missing-date-from-filename.markdown
181
198
  - spec/support/rails_app/.gitignore
182
- - spec/support/rails_app/README
183
- - spec/support/rails_app/Rakefile
184
199
  - spec/support/rails_app/app/controllers/application_controller.rb
185
- - spec/support/rails_app/app/helpers/application_helper.rb
186
- - spec/support/rails_app/app/posts/2011-04-01-first-post.markdown
187
- - spec/support/rails_app/app/posts/2011-04-28-image.markdown
188
- - spec/support/rails_app/app/posts/2011-04-28-summary.markdown
189
- - spec/support/rails_app/app/posts/2011-05-01-full-metadata.markdown
190
- - spec/support/rails_app/app/posts/2015-02-13-custom-title.markdown
191
- - spec/support/rails_app/app/views/layouts/application.html.erb
192
200
  - spec/support/rails_app/config.ru
193
201
  - spec/support/rails_app/config/application.rb
194
202
  - spec/support/rails_app/config/boot.rb
195
203
  - spec/support/rails_app/config/database.yml
196
204
  - spec/support/rails_app/config/environment.rb
197
- - spec/support/rails_app/config/environments/development.rb
198
- - spec/support/rails_app/config/environments/production.rb
199
- - spec/support/rails_app/config/environments/test.rb
200
- - spec/support/rails_app/config/initializers/backtrace_silencers.rb
201
- - spec/support/rails_app/config/initializers/inflections.rb
202
- - spec/support/rails_app/config/initializers/mime_types.rb
203
205
  - spec/support/rails_app/config/initializers/secret_token.rb
204
- - spec/support/rails_app/config/initializers/session_store.rb
205
- - spec/support/rails_app/config/locales/en.yml
206
206
  - spec/support/rails_app/config/routes.rb
207
207
  - spec/support/rails_app/db/seeds.rb
208
208
  - spec/support/rails_app/doc/README_FOR_APP
209
- - spec/support/rails_app/lib/tasks/.gitkeep
210
- - spec/support/rails_app/public/404.html
211
- - spec/support/rails_app/public/422.html
212
- - spec/support/rails_app/public/500.html
213
- - spec/support/rails_app/public/favicon.ico
214
- - spec/support/rails_app/public/images/rails.png
215
- - spec/support/rails_app/public/index.html
216
- - spec/support/rails_app/public/javascripts/application.js
217
- - spec/support/rails_app/public/javascripts/controls.js
218
- - spec/support/rails_app/public/javascripts/dragdrop.js
219
- - spec/support/rails_app/public/javascripts/effects.js
220
- - spec/support/rails_app/public/javascripts/prototype.js
221
- - spec/support/rails_app/public/javascripts/rails.js
222
- - spec/support/rails_app/public/robots.txt
223
- - spec/support/rails_app/public/stylesheets/.gitkeep
224
- - spec/support/rails_app/script/rails
225
- - spec/support/rails_app/test/performance/browsing_test.rb
226
- - spec/support/rails_app/test/test_helper.rb
227
- - spec/support/rails_app/vendor/plugins/.gitkeep
228
209
  - todo.txt
210
+ - vendor/assets/stylesheets/postmarkdown/postmarkdown.css
229
211
  homepage: ''
230
212
  licenses:
231
213
  - MIT
@@ -240,21 +222,41 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
222
  - - ! '>='
241
223
  - !ruby/object:Gem::Version
242
224
  version: '0'
225
+ segments:
226
+ - 0
227
+ hash: -3074464421691389538
243
228
  required_rubygems_version: !ruby/object:Gem::Requirement
244
229
  none: false
245
230
  requirements:
246
231
  - - ! '>='
247
232
  - !ruby/object:Gem::Version
248
233
  version: '0'
234
+ segments:
235
+ - 0
236
+ hash: -3074464421691389538
249
237
  requirements: []
250
238
  rubyforge_project: postmarkdown
251
- rubygems_version: 1.8.10
239
+ rubygems_version: 1.8.11
252
240
  signing_key:
253
241
  specification_version: 3
254
242
  summary: A simple Rails blog engine powered by markdown.
255
243
  test_files:
256
244
  - spec/acceptance/posts_spec.rb
245
+ - spec/internal/.gitignore
246
+ - spec/internal/app/posts/2011-04-01-first-post.markdown
247
+ - spec/internal/app/posts/2011-04-28-image.markdown
248
+ - spec/internal/app/posts/2011-04-28-summary.markdown
249
+ - spec/internal/app/posts/2011-05-01-full-metadata.markdown
250
+ - spec/internal/app/posts/2015-02-13-custom-title.markdown
251
+ - spec/internal/app/views/layouts/application.html.erb
252
+ - spec/internal/config/database.yml
253
+ - spec/internal/config/environments/test.rb
254
+ - spec/internal/config/routes.rb
255
+ - spec/internal/db/schema.rb
256
+ - spec/internal/log/.gitignore
257
257
  - spec/models/posts_spec.rb
258
+ - spec/requests/assets_spec.rb
259
+ - spec/requests/views_spec.rb
258
260
  - spec/routing/posts_routing_spec.rb
259
261
  - spec/spec_helper.rb
260
262
  - spec/support/data/posts/2011-04-01-first-post.markdown
@@ -267,49 +269,13 @@ test_files:
267
269
  - spec/support/data/posts/2015-02-13-custom-title.markdown
268
270
  - spec/support/data/posts/missing-date-from-filename.markdown
269
271
  - spec/support/rails_app/.gitignore
270
- - spec/support/rails_app/README
271
- - spec/support/rails_app/Rakefile
272
272
  - spec/support/rails_app/app/controllers/application_controller.rb
273
- - spec/support/rails_app/app/helpers/application_helper.rb
274
- - spec/support/rails_app/app/posts/2011-04-01-first-post.markdown
275
- - spec/support/rails_app/app/posts/2011-04-28-image.markdown
276
- - spec/support/rails_app/app/posts/2011-04-28-summary.markdown
277
- - spec/support/rails_app/app/posts/2011-05-01-full-metadata.markdown
278
- - spec/support/rails_app/app/posts/2015-02-13-custom-title.markdown
279
- - spec/support/rails_app/app/views/layouts/application.html.erb
280
273
  - spec/support/rails_app/config.ru
281
274
  - spec/support/rails_app/config/application.rb
282
275
  - spec/support/rails_app/config/boot.rb
283
276
  - spec/support/rails_app/config/database.yml
284
277
  - spec/support/rails_app/config/environment.rb
285
- - spec/support/rails_app/config/environments/development.rb
286
- - spec/support/rails_app/config/environments/production.rb
287
- - spec/support/rails_app/config/environments/test.rb
288
- - spec/support/rails_app/config/initializers/backtrace_silencers.rb
289
- - spec/support/rails_app/config/initializers/inflections.rb
290
- - spec/support/rails_app/config/initializers/mime_types.rb
291
278
  - spec/support/rails_app/config/initializers/secret_token.rb
292
- - spec/support/rails_app/config/initializers/session_store.rb
293
- - spec/support/rails_app/config/locales/en.yml
294
279
  - spec/support/rails_app/config/routes.rb
295
280
  - spec/support/rails_app/db/seeds.rb
296
281
  - spec/support/rails_app/doc/README_FOR_APP
297
- - spec/support/rails_app/lib/tasks/.gitkeep
298
- - spec/support/rails_app/public/404.html
299
- - spec/support/rails_app/public/422.html
300
- - spec/support/rails_app/public/500.html
301
- - spec/support/rails_app/public/favicon.ico
302
- - spec/support/rails_app/public/images/rails.png
303
- - spec/support/rails_app/public/index.html
304
- - spec/support/rails_app/public/javascripts/application.js
305
- - spec/support/rails_app/public/javascripts/controls.js
306
- - spec/support/rails_app/public/javascripts/dragdrop.js
307
- - spec/support/rails_app/public/javascripts/effects.js
308
- - spec/support/rails_app/public/javascripts/prototype.js
309
- - spec/support/rails_app/public/javascripts/rails.js
310
- - spec/support/rails_app/public/robots.txt
311
- - spec/support/rails_app/public/stylesheets/.gitkeep
312
- - spec/support/rails_app/script/rails
313
- - spec/support/rails_app/test/performance/browsing_test.rb
314
- - spec/support/rails_app/test/test_helper.rb
315
- - spec/support/rails_app/vendor/plugins/.gitkeep