temporal-rails 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/{LICENSE → MIT.LICENSE} +0 -0
- data/README.md +87 -0
- data/lib/temporal/version.rb +1 -1
- data/spec/dummy/config/application.rb +3 -2
- data/spec/dummy/config/initializers/teabag.rb +5 -0
- data/spec/dummy/log/development.log +4501 -0
- data/spec/dummy/log/test.log +299 -0
- data/spec/dummy/tmp/cache/assets/C75/0B0/sprockets%2F74d1991032646304661a247c8b1d0bef +0 -0
- data/spec/dummy/tmp/cache/assets/C87/C50/sprockets%2F54f25ef70b617374b73108b77a18786a +0 -0
- data/spec/dummy/tmp/cache/assets/C9D/630/sprockets%2F69652d30c83b438464876a979effc284 +0 -0
- data/spec/dummy/tmp/cache/assets/CB4/B60/sprockets%2F9e8ed5a65492bd820145f8502d03196c +0 -0
- data/spec/dummy/tmp/cache/assets/CBD/BD0/sprockets%2F36f813b9198c2d9db783cc51831b2478 +0 -0
- data/spec/dummy/tmp/cache/assets/CD0/8F0/sprockets%2F2a3ea185e3b41983360f6a5120ffb650 +0 -0
- data/spec/dummy/tmp/cache/assets/CF8/6E0/sprockets%2Fb4b523a57dd1b14910b1017ec52ff814 +0 -0
- data/spec/dummy/tmp/cache/assets/D09/3B0/sprockets%2Ffce50434fa0608b136df145670cf158f +0 -0
- data/spec/dummy/tmp/cache/assets/D4A/360/sprockets%2Ffbde0f8bb654c1875fc145d437509e93 +0 -0
- data/spec/dummy/tmp/cache/assets/D4B/010/sprockets%2F251ebb85bb97510ff633add939cc4959 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5F/100/sprockets%2F42a41011406b958aa6cc9a8dd1bd3d7f +0 -0
- data/spec/dummy/tmp/cache/assets/D61/9C0/sprockets%2Fcdda3e9f29103e2c4ba61882f83ab311 +0 -0
- data/spec/dummy/tmp/cache/assets/D6F/4F0/sprockets%2Fef2204b32a2dd8f464e9ce42c16d8c67 +0 -0
- data/spec/dummy/tmp/cache/assets/D95/F20/sprockets%2Fd850dbfad9df6ccd920603ef39012a23 +0 -0
- data/spec/dummy/tmp/cache/assets/DAB/560/sprockets%2Fe8eaece6088bd0484a28e98f513f63bb +0 -0
- data/spec/dummy/tmp/cache/assets/DDA/F40/sprockets%2F9e74548be9ad8344bedac132d99eeba4 +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/DE7/850/sprockets%2F3edf11f1a7bcb28d80dfe2be1eb04133 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E2B/480/sprockets%2F66fadc93fab3fe2a3bd1faf763b2a649 +0 -0
- data/spec/javascripts/{spec_helper.js → spec_helper.coffee} +0 -0
- data/spec/javascripts/{temporal_spec.js.coffee → temporal_spec.coffee} +3 -2
- metadata +72 -118
- data/spec/dummy/config/database.yml +0 -10
- data/spec/dummy/config/evergreen.rb +0 -47
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/inflections.rb +0 -15
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -8
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/db/schema.rb +0 -16
@@ -1,47 +0,0 @@
|
|
1
|
-
# The following allows us to have a nested directory structure of specs. With
|
2
|
-
# a lot of specs this is needed.
|
3
|
-
Evergreen.configure do |config|
|
4
|
-
config.root = Temporal::Engine.root
|
5
|
-
end
|
6
|
-
|
7
|
-
module Evergreen
|
8
|
-
class Suite
|
9
|
-
def specs
|
10
|
-
Dir.glob(File.join(root, Evergreen.spec_dir, '**', '*_spec.{js,coffee,js.coffee}')).map do |path|
|
11
|
-
Spec.new(self, path.gsub(File.join(root), ''))
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
def templates
|
16
|
-
Dir.glob(File.join(root, Evergreen.template_dir, '**', '*')).map do |path|
|
17
|
-
Template.new(self, path.gsub(File.join(root), '')) unless File.directory?(path)
|
18
|
-
end.compact
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
module Evergreen
|
24
|
-
class Spec
|
25
|
-
def initialize(suite, name)
|
26
|
-
@suite = suite
|
27
|
-
@name = name
|
28
|
-
@name = "#{Evergreen.spec_dir}/#{name}" if !exist?
|
29
|
-
end
|
30
|
-
|
31
|
-
def name
|
32
|
-
@name.gsub("/#{Evergreen.spec_dir}/", '')
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
module Evergreen
|
38
|
-
class Template
|
39
|
-
def name
|
40
|
-
@name.gsub("/#{Evergreen.template_dir}/", '')
|
41
|
-
end
|
42
|
-
|
43
|
-
def full_path
|
44
|
-
File.join(root, @name)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
@@ -1,7 +0,0 @@
|
|
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!
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format
|
4
|
-
# (all these examples are active by default):
|
5
|
-
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
-
# inflect.singular /^(ox)en/i, '\1'
|
8
|
-
# inflect.irregular 'person', 'people'
|
9
|
-
# inflect.uncountable %w( fish sheep )
|
10
|
-
# end
|
11
|
-
#
|
12
|
-
# These inflection rules are supported but not enabled by default:
|
13
|
-
# ActiveSupport::Inflector.inflections do |inflect|
|
14
|
-
# inflect.acronym 'RESTful'
|
15
|
-
# end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
# Make sure the secret is at least 30 characters and all random,
|
6
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
Dummy::Application.config.secret_token = '990bac5b6d4f068883259503539cad4e9ec00f137986fcbc718a1e0b645af7a3eb0340468f8fae09958a6281190396d65789b6316af61e47a8cbda3c8c071a0e'
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
4
|
-
|
5
|
-
# Use the database for sessions instead of the cookie-based default,
|
6
|
-
# which shouldn't be used to store highly confidential information
|
7
|
-
# (create the session table with "rails generate session_migration")
|
8
|
-
# Dummy::Application.config.session_store :active_record_store
|
@@ -1,14 +0,0 @@
|
|
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]
|
9
|
-
end
|
10
|
-
|
11
|
-
# Disable root element in JSON by default.
|
12
|
-
ActiveSupport.on_load(:active_record) do
|
13
|
-
self.include_root_in_json = false
|
14
|
-
end
|
data/spec/dummy/db/schema.rb
DELETED
@@ -1,16 +0,0 @@
|
|
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 to check this file into your version control system.
|
13
|
-
|
14
|
-
ActiveRecord::Schema.define(:version => 0) do
|
15
|
-
|
16
|
-
end
|