remote_partial 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -8
- data/app/models/remote_partial/builder.rb +20 -7
- data/app/models/remote_partial/partial.rb +18 -4
- data/app/models/remote_partial/yaml_store.rb +87 -0
- data/lib/remote_partial.rb +1 -10
- data/lib/remote_partial/version.rb +9 -1
- data/test/dummy/app/views/remote_partials/_clock.html.erb +1 -1
- data/test/dummy/config/application.rb +6 -2
- data/test/dummy/config/environments/development.rb +9 -7
- data/test/dummy/config/environments/production.rb +2 -0
- data/test/dummy/config/environments/test.rb +9 -7
- data/test/dummy/config/initializers/secret_token.rb +1 -0
- data/test/dummy/db/remote_partial/partials.yml +13 -0
- data/test/dummy/log/development.log +298 -0
- data/test/dummy/log/test.log +15708 -0
- data/test/test_helper.rb +0 -1
- data/test/unit/remote_partial/builder_test.rb +17 -7
- data/test/unit/remote_partial/partial_test.rb +24 -3
- data/test/unit/remote_partial/yaml_store_test.rb +136 -0
- data/test/unit/remote_partial_test.rb +22 -3
- metadata +9 -12
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/db/schema.rb +0 -26
- data/test/fixtures/remote_partial/partials.yml +0 -10
- data/test/integration/navigation_test.rb +0 -10
data/test/dummy/db/schema.rb
DELETED
@@ -1,26 +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 => 20130703141929) do
|
15
|
-
|
16
|
-
create_table "remote_partial_partials", :force => true do |t|
|
17
|
-
t.string "name", :limit => 100, :null => false
|
18
|
-
t.text "url", :limit => 2047, :null => false
|
19
|
-
t.string "criteria"
|
20
|
-
t.float "repeat_period"
|
21
|
-
t.datetime "stale_at"
|
22
|
-
t.datetime "created_at", :null => false
|
23
|
-
t.datetime "updated_at", :null => false
|
24
|
-
end
|
25
|
-
|
26
|
-
end
|