remote_partial 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/remote_partial/builder.rb +0 -1
- data/app/models/remote_partial/partial.rb +1 -1
- data/lib/remote_partial/version.rb +5 -1
- data/test/dummy/app/views/remote_partials/_clock.html.erb +1 -1
- data/test/dummy/db/remote_partial/partials.yml +4 -4
- metadata +4 -4
- data/db/migrate/20130702072157_create_remote_partial_partials.rb +0 -12
@@ -1,10 +1,14 @@
|
|
1
1
|
module RemotePartial
|
2
|
-
VERSION = "0.3.
|
2
|
+
VERSION = "0.3.1"
|
3
3
|
end
|
4
4
|
|
5
5
|
# History
|
6
6
|
# =======
|
7
7
|
#
|
8
|
+
# 0.3.1 Remove migration file
|
9
|
+
# ---------------------------
|
10
|
+
# Migration file is no longer needed but had been left in code.
|
11
|
+
#
|
8
12
|
# 0.3.0 Partials persisted via YAML
|
9
13
|
# ---------------------------------
|
10
14
|
# Moved partial data to a YAML file to remove the dependency on ActiveRecord.
|
@@ -1 +1 @@
|
|
1
|
-
<strong id="ct" class="big">
|
1
|
+
<strong id="ct" class="big">Friday, July 12, 2013 at 9:11:10 AM</strong>
|
@@ -3,11 +3,11 @@ clock:
|
|
3
3
|
url: http://www.timeanddate.com/worldclock/city.html?n=136
|
4
4
|
criteria: ! '#ct'
|
5
5
|
created_at: 2013-07-11 12:57:14.644407617 +01:00
|
6
|
-
updated_at: 2013-07-
|
7
|
-
stale_at: 2013-07-
|
6
|
+
updated_at: 2013-07-12 09:11:10.633546708 +01:00
|
7
|
+
stale_at: 2013-07-12 09:12:10.633475076 +01:00
|
8
8
|
ruby:
|
9
9
|
url: http://www.ruby-lang.org/en/
|
10
10
|
criteria: ! '#intro'
|
11
11
|
created_at: 2013-07-11 12:57:15.126905403 +01:00
|
12
|
-
updated_at: 2013-07-
|
13
|
-
stale_at: 2013-07-
|
12
|
+
updated_at: 2013-07-12 09:11:16.339316247 +01:00
|
13
|
+
stale_at: 2013-07-12 09:12:16.339248280 +01:00
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remote_partial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -76,7 +76,6 @@ files:
|
|
76
76
|
- app/models/remote_partial/builder.rb
|
77
77
|
- app/models/remote_partial/yaml_store.rb
|
78
78
|
- config/routes.rb
|
79
|
-
- db/migrate/20130702072157_create_remote_partial_partials.rb
|
80
79
|
- lib/remote_partial/version.rb
|
81
80
|
- lib/remote_partial/engine.rb
|
82
81
|
- lib/remote_partial.rb
|
@@ -163,7 +162,8 @@ files:
|
|
163
162
|
- test/unit/remote_partial/resource_manager_test.rb
|
164
163
|
- test/unit/remote_partial_test.rb
|
165
164
|
homepage: https://github.com/warwickshire/remote_partial
|
166
|
-
licenses:
|
165
|
+
licenses:
|
166
|
+
- MIT-LICENSE
|
167
167
|
post_install_message:
|
168
168
|
rdoc_options: []
|
169
169
|
require_paths:
|
@@ -1,12 +0,0 @@
|
|
1
|
-
class CreateRemotePartialPartials < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table :remote_partial_partials do |t|
|
4
|
-
t.string :name, limit: 100, null: false
|
5
|
-
t.text :url, limit: 0x7ff, null: false
|
6
|
-
t.string :criteria
|
7
|
-
t.float :repeat_period
|
8
|
-
t.datetime :stale_at
|
9
|
-
t.timestamps
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|