release_notes 0.4.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -1
- data/.rspec +1 -0
- data/README.md +23 -1
- data/app/assets/javascripts/release_notes/application.js +15 -0
- data/app/assets/stylesheets/release_notes/{application.css → application.css.scss} +0 -0
- data/app/assets/stylesheets/release_notes/github.css.scss +2 -0
- data/app/helpers/release_notes/application_helper.rb +6 -0
- data/app/views/layouts/release_notes/application.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/lib/generators/release_notes/install_generator.rb +0 -4
- data/lib/generators/templates/release_notes.rb +0 -3
- data/lib/release_notes/cli.rb +1 -1
- data/lib/release_notes/engine.rb +9 -4
- data/lib/release_notes/version.rb +1 -1
- data/lib/release_notes.rb +0 -4
- data/release_notes.gemspec +7 -7
- data/spec/controllers/release_notes/release_notes_controller_spec.rb +55 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/home_controller.rb +4 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/release_note.rb +3 -0
- data/spec/dummy/app/views/home/index.html.erb +17 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +8 -0
- data/spec/dummy/bin/rake +8 -0
- data/spec/dummy/bin/spring +18 -0
- data/spec/dummy/config/application.rb +22 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +82 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/release_notes.rb +17 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +5 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20140703164650_release_notes_create_release_notes.rb +13 -0
- data/spec/dummy/db/schema.rb +25 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/release_notes/20140703165131_0_4_0.md +22 -0
- data/spec/dummy/release_notes/20140703165820_0_5_0.md +29 -0
- data/spec/dummy/release_notes/20140713050803_0_5_1.md +25 -0
- data/spec/dummy/release_notes/README.md +85 -0
- data/spec/dummy/release_notes/stamp +1 -0
- data/spec/factories/release_notes.rb +6 -0
- data/spec/rails_helper.rb +48 -0
- data/spec/routing/release_notes/release_notes_routing_spec.rb +20 -0
- data/spec/spec_helper.rb +67 -6
- data/tasks/release_notes.rake +16 -0
- metadata +161 -50
- data/app/assets/javascripts/release_notes/bootstrap.js +0 -6
- data/app/assets/stylesheets/release_notes/bootstrap.css +0 -7
- data/lib/generators/templates/release_notes_controller_decorator.rb +0 -3
@@ -0,0 +1,39 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_assets = true
|
17
|
+
config.static_cache_control = 'public, max-age=3600'
|
18
|
+
|
19
|
+
# Show full error reports and disable caching.
|
20
|
+
config.consider_all_requests_local = true
|
21
|
+
config.action_controller.perform_caching = false
|
22
|
+
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
24
|
+
config.action_dispatch.show_exceptions = false
|
25
|
+
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
28
|
+
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
31
|
+
# ActionMailer::Base.deliveries array.
|
32
|
+
config.action_mailer.delivery_method = :test
|
33
|
+
|
34
|
+
# Print deprecation notices to the stderr.
|
35
|
+
config.active_support.deprecation = :stderr
|
36
|
+
|
37
|
+
# Raises error for missing translations
|
38
|
+
# config.action_view.raise_on_missing_translations = true
|
39
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Precompile additional assets.
|
7
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
8
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Use this hook to configure ReleaseNotes.
|
2
|
+
ReleaseNotes.setup do |config|
|
3
|
+
# Name of your application.
|
4
|
+
config.app_name = 'Demo App'
|
5
|
+
|
6
|
+
# Name of the model you're using to store the various release notes.
|
7
|
+
config.release_note_model = 'ReleaseNote'
|
8
|
+
|
9
|
+
# Name of the folder you're using to store the release note markdown files.
|
10
|
+
config.release_note_folder = 'release_notes'
|
11
|
+
|
12
|
+
# Path that ReleaseNotes::Engine is mounted at in the config/routes.rb file.
|
13
|
+
config.mount_at = 'release_notes'
|
14
|
+
|
15
|
+
# Version number that the first ReleaseNote should start at.
|
16
|
+
config.starting_version = '0.4.0'
|
17
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: dfce295f965cde700df34c4b3d31f43f64bf533a241db179c5cec8e4f5ec4aa9d673d0ccc8d17be63f6ddd46a67a29ba94ad177669a2013dae523d4999af4712
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: b2ab75fec84fe9c7c1ccb15a03d2bc81b7e41ebb78950be439e1e6c1e34507c0111416e88bd4805a6ef8cf5138cecd0edaddce8b7dedf12c1099a46692408301
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class ReleaseNotesCreateReleaseNotes < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table(:release_notes) do |t|
|
4
|
+
t.text :markdown, :null => false
|
5
|
+
t.string :version, :null => false
|
6
|
+
|
7
|
+
|
8
|
+
t.timestamps
|
9
|
+
end
|
10
|
+
|
11
|
+
add_index :release_notes, :version, :unique => true
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20140703164650) do
|
15
|
+
|
16
|
+
create_table "release_notes", force: true do |t|
|
17
|
+
t.text "markdown", null: false
|
18
|
+
t.string "version", null: false
|
19
|
+
t.datetime "created_at"
|
20
|
+
t.datetime "updated_at"
|
21
|
+
end
|
22
|
+
|
23
|
+
add_index "release_notes", ["version"], name: "index_release_notes_on_version", unique: true
|
24
|
+
|
25
|
+
end
|
File without changes
|
File without changes
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Demo App 0.4.0 Release Notes
|
2
|
+
###### Removal of Broadcast feature.
|
3
|
+
|
4
|
+
#### 05/20/2014
|
5
|
+
|
6
|
+
|
7
|
+
Changes
|
8
|
+
----
|
9
|
+
* Updated README.
|
10
|
+
|
11
|
+
|
12
|
+
Removals
|
13
|
+
----
|
14
|
+
* Removed all files related to the Broadcast feature.
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
Upcoming
|
19
|
+
----
|
20
|
+
* Adding tests... eventually.
|
21
|
+
|
22
|
+
*the end*
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Demo App 0.5.0 Release Notes
|
2
|
+
###### Dummy app added and testing framework updated.
|
3
|
+
|
4
|
+
#### 07/03/2014
|
5
|
+
|
6
|
+
Additions
|
7
|
+
----
|
8
|
+
* Added dummy app (/spec/dummy) to demo and test ReleaseNotes.
|
9
|
+
* Added bootstrap-sass gem dependency.
|
10
|
+
* Added controller and routing tests.
|
11
|
+
|
12
|
+
Improvements
|
13
|
+
----
|
14
|
+
* Updated rspec.
|
15
|
+
|
16
|
+
Removals
|
17
|
+
----
|
18
|
+
* Removed static bootstrap.js and bootstrap.css files.
|
19
|
+
|
20
|
+
Fixes
|
21
|
+
----
|
22
|
+
* Fixed issue where after running `release_notes update -r` would return the index of ReleaseNotes in reverse order (oldest to newest).
|
23
|
+
|
24
|
+
Upcoming
|
25
|
+
----
|
26
|
+
* Add generator tests.
|
27
|
+
* Add command line tests.
|
28
|
+
|
29
|
+
*the end*
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Demo App 0.5.1 Release Notes
|
2
|
+
###### Added release_note_indicator helper.
|
3
|
+
|
4
|
+
#### 07/13/2014
|
5
|
+
|
6
|
+
Additions
|
7
|
+
----
|
8
|
+
* Added release_note_indicator helper.
|
9
|
+
* Added release_note_indicator snippet to dummy app view.
|
10
|
+
|
11
|
+
Changes
|
12
|
+
----
|
13
|
+
* Updated gemspec.
|
14
|
+
* Updated README.
|
15
|
+
|
16
|
+
Fixes
|
17
|
+
----
|
18
|
+
* Fixed a template error that occurred when trying to navigate to a specific release note by version.
|
19
|
+
|
20
|
+
Upcoming
|
21
|
+
----
|
22
|
+
* Add generator tests.
|
23
|
+
* Add command line tests.
|
24
|
+
|
25
|
+
*the end*
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# Demo App 0.5.1 Release Notes
|
2
|
+
###### Added release_note_indicator helper.
|
3
|
+
|
4
|
+
#### 07/13/2014
|
5
|
+
|
6
|
+
Additions
|
7
|
+
----
|
8
|
+
* Added release_note_indicator helper.
|
9
|
+
* Added release_note_indicator snippet to dummy app view.
|
10
|
+
|
11
|
+
Changes
|
12
|
+
----
|
13
|
+
* Updated gemspec.
|
14
|
+
* Updated README.
|
15
|
+
|
16
|
+
Fixes
|
17
|
+
----
|
18
|
+
* Fixed a template error that occurred when trying to navigate to a specific release note by version.
|
19
|
+
|
20
|
+
Upcoming
|
21
|
+
----
|
22
|
+
* Add generator tests.
|
23
|
+
* Add command line tests.
|
24
|
+
|
25
|
+
*the end*
|
26
|
+
|
27
|
+
---
|
28
|
+
|
29
|
+
# Demo App 0.5.0 Release Notes
|
30
|
+
###### Dummy app added and testing framework updated.
|
31
|
+
|
32
|
+
#### 07/03/2014
|
33
|
+
|
34
|
+
Additions
|
35
|
+
----
|
36
|
+
* Added dummy app (/spec/dummy) to demo and test ReleaseNotes.
|
37
|
+
* Added bootstrap-sass gem dependency.
|
38
|
+
* Added controller and routing tests.
|
39
|
+
|
40
|
+
Improvements
|
41
|
+
----
|
42
|
+
* Updated rspec.
|
43
|
+
|
44
|
+
Removals
|
45
|
+
----
|
46
|
+
* Removed static bootstrap.js and bootstrap.css files.
|
47
|
+
|
48
|
+
Fixes
|
49
|
+
----
|
50
|
+
* Fixed issue where after running `release_notes update -r` would return the index of ReleaseNotes in reverse order (oldest to newest).
|
51
|
+
|
52
|
+
Upcoming
|
53
|
+
----
|
54
|
+
* Add generator tests.
|
55
|
+
* Add command line tests.
|
56
|
+
|
57
|
+
*the end*
|
58
|
+
|
59
|
+
---
|
60
|
+
|
61
|
+
# Demo App 0.4.0 Release Notes
|
62
|
+
###### Removal of Broadcast feature.
|
63
|
+
|
64
|
+
#### 05/20/2014
|
65
|
+
|
66
|
+
|
67
|
+
Changes
|
68
|
+
----
|
69
|
+
* Updated README.
|
70
|
+
|
71
|
+
|
72
|
+
Removals
|
73
|
+
----
|
74
|
+
* Removed all files related to the Broadcast feature.
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
Upcoming
|
79
|
+
----
|
80
|
+
* Adding tests... eventually.
|
81
|
+
|
82
|
+
*the end*
|
83
|
+
|
84
|
+
---
|
85
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
20140703165820
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require 'spec_helper'
|
4
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
5
|
+
require 'rspec/rails'
|
6
|
+
require 'factory_girl_rails'
|
7
|
+
|
8
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
9
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
10
|
+
# run as spec files by default. This means that files in spec/support that end
|
11
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
12
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
13
|
+
# end with _spec.rb. You can configure this pattern with with the --pattern
|
14
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
15
|
+
ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
|
16
|
+
Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
|
17
|
+
|
18
|
+
# Checks for pending migrations before tests are run.
|
19
|
+
# If you are not using ActiveRecord, you can remove this line.
|
20
|
+
ActiveRecord::Migration.maintain_test_schema!
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
# config.before(:suite) { FactoryGirl.reload }
|
24
|
+
# config.include FactoryGirl::Syntax::Methods
|
25
|
+
|
26
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
27
|
+
# config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
28
|
+
|
29
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
30
|
+
# examples within a transaction, remove the following line or assign false
|
31
|
+
# instead of true.
|
32
|
+
config.use_transactional_fixtures = true
|
33
|
+
|
34
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
35
|
+
# based on their file location, for example enabling you to call `get` and
|
36
|
+
# `post` in specs under `spec/controllers`.
|
37
|
+
#
|
38
|
+
# You can disable this behaviour by removing the line below, and instead
|
39
|
+
# explicitly tag your specs with their type, e.g.:
|
40
|
+
#
|
41
|
+
# RSpec.describe UsersController, :type => :controller do
|
42
|
+
# # ...
|
43
|
+
# end
|
44
|
+
#
|
45
|
+
# The different available types are documented in the features, such as in
|
46
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
47
|
+
config.infer_spec_type_from_file_location!
|
48
|
+
end
|