remote_partial 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +58 -15
- data/Rakefile +5 -22
- data/{app/models → lib}/remote_partial/builder.rb +1 -1
- data/{app/models → lib}/remote_partial/exceptions.rb +0 -0
- data/{app/models → lib}/remote_partial/partial.rb +25 -4
- data/lib/remote_partial/railtie.rb +9 -0
- data/{app/models → lib}/remote_partial/resource_manager.rb +0 -0
- data/lib/remote_partial/time_calc.rb +45 -0
- data/lib/remote_partial/version.rb +8 -1
- data/{app/models → lib}/remote_partial/yaml_store.rb +13 -3
- data/lib/remote_partial.rb +46 -3
- data/lib/tasks/remote_partial_tasks.rake +3 -4
- data/test/log/test.log +71 -0
- data/test/test_helper.rb +36 -15
- data/test/unit/remote_partial/builder_test.rb +12 -9
- data/test/unit/remote_partial/exception_test.rb +1 -1
- data/test/unit/remote_partial/partial_test.rb +8 -8
- data/test/unit/remote_partial/resource_manager_test.rb +3 -3
- data/test/unit/remote_partial/yaml_store_test.rb +9 -9
- data/test/unit/remote_partial_test.rb +23 -9
- metadata +11 -173
- data/app/helpers/remote_partial/application_helper.rb +0 -4
- data/app/helpers/remote_partial/host_app_helper.rb +0 -11
- data/config/routes.rb +0 -2
- data/lib/remote_partial/engine.rb +0 -11
- data/test/dummy/README.rdoc +0 -261
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/javascripts/application.js +0 -15
- data/test/dummy/app/assets/javascripts/demos.js +0 -2
- data/test/dummy/app/assets/javascripts/samples.js +0 -2
- data/test/dummy/app/assets/stylesheets/application.css +0 -13
- data/test/dummy/app/assets/stylesheets/demos.css +0 -4
- data/test/dummy/app/assets/stylesheets/samples.css +0 -4
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/controllers/demos_controller.rb +0 -18
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/helpers/demos_helper.rb +0 -2
- data/test/dummy/app/helpers/samples_helper.rb +0 -2
- data/test/dummy/app/views/demos/_clock.html.erb +0 -6
- data/test/dummy/app/views/demos/_fixed.html.erb +0 -3
- data/test/dummy/app/views/demos/_ruby.html.erb +0 -4
- data/test/dummy/app/views/demos/index.html.erb +0 -7
- data/test/dummy/app/views/demos/show.html.erb +0 -3
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/app/views/remote_partials/_clock.html.erb +0 -1
- data/test/dummy/app/views/remote_partials/_fixed.html.erb +0 -2
- data/test/dummy/app/views/remote_partials/_partial_with_mod.html.erb +0 -1
- data/test/dummy/app/views/remote_partials/_ruby.html.erb +0 -11
- data/test/dummy/app/views/remote_partials/_wcc.html.erb +0 -1
- data/test/dummy/config/application.rb +0 -63
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -39
- data/test/dummy/config/environments/production.rb +0 -69
- data/test/dummy/config/environments/test.rb +0 -39
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/inflections.rb +0 -15
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/remote_partial.rb +0 -16
- data/test/dummy/config/initializers/secret_token.rb +0 -8
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -8
- data/test/dummy/config.ru +0 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130703141929_create_remote_partial_partials.remote_partial.rb +0 -13
- data/test/dummy/db/remote_partial/partials.yml +0 -13
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -5518
- data/test/dummy/log/test.log +0 -33709
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -25
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/dummy/test/functional/demos_controller_test.rb +0 -20
- data/test/dummy/test/unit/helpers/demos_helper_test.rb +0 -20
- data/test/dummy/test/unit/helpers/samples_helper_test.rb +0 -4
- data/test/dummy/tmp/cache/assets/BE9/0F0/sprockets%2Fb918d6cc641337193b96751002451244 +0 -0
- data/test/dummy/tmp/cache/assets/C2E/4E0/sprockets%2F5b29288e435665a224409e7d76530c95 +0 -0
- data/test/dummy/tmp/cache/assets/CB3/DC0/sprockets%2F157201713d2fd4954447e0bf4d8e853e +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/080/sprockets%2F7d4d7689d6fa8236f0b4848c03ba1215 +0 -0
- data/test/dummy/tmp/cache/assets/CE5/D30/sprockets%2F8c9834a63b25a66203918a75ff56e2ac +0 -0
- data/test/dummy/tmp/cache/assets/D16/E10/sprockets%2Fd5d9c442561ec08a55d5d843a0d9792d +0 -0
- data/test/dummy/tmp/cache/assets/D20/020/sprockets%2F488c2c97fede45c86a62f1aa14554957 +0 -0
- data/test/dummy/tmp/cache/assets/D2E/690/sprockets%2F840591ad233bc7bda28b7f6a2b27c205 +0 -0
- data/test/dummy/tmp/cache/assets/D30/990/sprockets%2F995cc20d042afc03241f58f7d6ca1f02 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D52/430/sprockets%2F6ada07f0c9869f9f35b05fa0988dc717 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/DBB/BE0/sprockets%2Fc6eb578d23a69b5abb056e3abaa5c060 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E02/FA0/sprockets%2Fca8d5771d03e669be1d96acb6beb6cb6 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/remote_partial_test.rb +0 -7
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
module RemotePartial
|
4
|
-
class PartialTest <
|
4
|
+
class PartialTest < MiniTest::Unit::TestCase
|
5
5
|
|
6
6
|
def setup
|
7
7
|
create_partial_for('http://www.warwickshire.gov.uk')
|
@@ -39,30 +39,30 @@ module RemotePartial
|
|
39
39
|
def test_update_stale_at
|
40
40
|
@partial.update_stale_at
|
41
41
|
@expected = @partial.updated_at + @partial.repeat_period
|
42
|
-
assert_equal @expected.to_s
|
42
|
+
assert_equal @expected.to_s, @partial.stale_at.to_s
|
43
43
|
end
|
44
44
|
|
45
45
|
def test_stale_at_gets_into_hash
|
46
46
|
test_update_stale_at
|
47
47
|
hash = @partial.to_hash
|
48
|
-
assert_equal @expected.to_s
|
48
|
+
assert_equal @expected.to_s, hash['stale_at'].to_s
|
49
49
|
end
|
50
50
|
|
51
51
|
def test_stale_at_gets_into_file
|
52
52
|
test_update_stale_at
|
53
53
|
partial = Partial.find(@partial.name)
|
54
|
-
assert_equal partial.stale_at, @partial.stale_at
|
54
|
+
assert_equal partial.stale_at.to_s, @partial.stale_at.to_s
|
55
55
|
end
|
56
56
|
|
57
57
|
def test_stale_at_not_updated_unless_stale
|
58
58
|
test_update_stale_at
|
59
|
-
before = @partial.stale_at
|
59
|
+
before = @partial.stale_at.to_s
|
60
60
|
@partial.update_stale_at
|
61
|
-
assert_equal before, @partial.stale_at
|
61
|
+
assert_equal before, @partial.stale_at.to_s
|
62
62
|
end
|
63
63
|
|
64
64
|
def test_stale_at_reset_if_stale
|
65
|
-
@partial.stale_at = 1
|
65
|
+
@partial.stale_at = TimeCalc.hours_ago(1)
|
66
66
|
test_update_stale_at
|
67
67
|
end
|
68
68
|
|
@@ -93,7 +93,7 @@ module RemotePartial
|
|
93
93
|
name: :simple,
|
94
94
|
url: url,
|
95
95
|
criteria: 'p:first-child',
|
96
|
-
repeat_period: 10
|
96
|
+
repeat_period: TimeCalc.minutes_ago(10)
|
97
97
|
)
|
98
98
|
end
|
99
99
|
|
@@ -3,7 +3,7 @@ require 'nokogiri'
|
|
3
3
|
require 'net/http'
|
4
4
|
|
5
5
|
module RemotePartial
|
6
|
-
class ResourceManagerTest <
|
6
|
+
class ResourceManagerTest < MiniTest::Unit::TestCase
|
7
7
|
|
8
8
|
def setup
|
9
9
|
@url = "http://www.worcestershire.gov.uk"
|
@@ -71,14 +71,14 @@ module RemotePartial
|
|
71
71
|
|
72
72
|
def test_connection_failure
|
73
73
|
enable_mock_connection_failure @url
|
74
|
-
|
74
|
+
assert_raises RemotePartialRetrivalError do
|
75
75
|
ResourceManager.new(@url, 'body').html
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
79
|
def test_connection_failure_due_to_invalid_url
|
80
80
|
enable_mock_connection_error @url
|
81
|
-
|
81
|
+
assert_raises RemotePartialRetrivalError do
|
82
82
|
ResourceManager.new(@url, 'body').html
|
83
83
|
end
|
84
84
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
module RemotePartial
|
4
|
-
class YamlStoreTest <
|
4
|
+
class YamlStoreTest < MiniTest::Unit::TestCase
|
5
5
|
|
6
6
|
def teardown
|
7
7
|
File.delete(YamlStore.file) if File.exists?(YamlStore.file)
|
@@ -12,7 +12,7 @@ module RemotePartial
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def test_file
|
15
|
-
expected = File.expand_path('remote_partial/
|
15
|
+
expected = File.expand_path('remote_partial/yaml_store.yml', test_db_path)
|
16
16
|
assert_equal(expected, YamlStore.file)
|
17
17
|
end
|
18
18
|
|
@@ -61,7 +61,7 @@ module RemotePartial
|
|
61
61
|
def test_save_without_a_name
|
62
62
|
hash = {foo: 'bar'}
|
63
63
|
yaml_store = YamlStore.new(hash)
|
64
|
-
|
64
|
+
assert_raises RuntimeError do
|
65
65
|
yaml_store.save
|
66
66
|
end
|
67
67
|
end
|
@@ -112,11 +112,11 @@ module RemotePartial
|
|
112
112
|
def test_created_at
|
113
113
|
yaml_store = YamlStore.create(name: 'foo')
|
114
114
|
assert yaml_store.created_at.kind_of?(Time), 'create_at should be a Time'
|
115
|
-
assert 1
|
115
|
+
assert TimeCalc.minutes_ago(1) < yaml_store.created_at, 'created_at should be within the last minute'
|
116
116
|
end
|
117
117
|
|
118
118
|
def test_created_at_not_updated_if_exists
|
119
|
-
time = 1
|
119
|
+
time = TimeCalc.days_ago(1)
|
120
120
|
yaml_store = YamlStore.create(name: 'foo', created_at: time)
|
121
121
|
assert_equal(time, yaml_store.created_at)
|
122
122
|
end
|
@@ -124,13 +124,13 @@ module RemotePartial
|
|
124
124
|
def test_updated_at
|
125
125
|
yaml_store = YamlStore.create(name: 'foo')
|
126
126
|
assert yaml_store.updated_at.kind_of?(Time), 'updated_at should be a Time'
|
127
|
-
assert 1
|
127
|
+
assert TimeCalc.minutes_ago(1) < yaml_store.updated_at, 'updated_at should be within the last minute'
|
128
128
|
end
|
129
129
|
|
130
130
|
def test_updated_at_if_updated_if_exists
|
131
|
-
time = 1
|
131
|
+
time = TimeCalc.days_ago(1)
|
132
132
|
yaml_store = YamlStore.create(name: 'foo', updated_at: time)
|
133
|
-
assert 1
|
133
|
+
assert TimeCalc.minutes_ago(1) < yaml_store.updated_at, 'updated_at should be within the last minute'
|
134
134
|
end
|
135
135
|
|
136
136
|
def test_string_keys
|
@@ -140,7 +140,7 @@ module RemotePartial
|
|
140
140
|
end
|
141
141
|
|
142
142
|
def test_db_path
|
143
|
-
File.expand_path('../../
|
143
|
+
File.expand_path('../../db', File.dirname(__FILE__))
|
144
144
|
end
|
145
145
|
end
|
146
146
|
end
|
@@ -1,33 +1,47 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
|
-
class RemotePartialTest <
|
3
|
+
class RemotePartialTest < MiniTest::Unit::TestCase
|
4
|
+
|
5
|
+
def setup
|
6
|
+
enable_mock url, 'Some content'
|
7
|
+
end
|
4
8
|
|
5
9
|
def teardown
|
6
|
-
|
10
|
+
remove_file(RemotePartial::Partial.file)
|
7
11
|
end
|
8
12
|
|
9
13
|
def test_define_with_string_keys
|
10
|
-
url = 'http://www.warwickshire.gov.uk'
|
11
|
-
name = 'wcc'
|
12
14
|
assert_difference 'RemotePartial::Partial.count' do
|
13
15
|
RemotePartial.define(
|
14
16
|
'url' => url,
|
15
17
|
'name' => name
|
16
18
|
)
|
17
19
|
end
|
18
|
-
|
20
|
+
assert_partial_content_correct
|
19
21
|
end
|
20
22
|
|
21
|
-
def test_define
|
22
|
-
url = 'http://www.warwickshire.gov.uk'
|
23
|
-
name = 'wcc'
|
23
|
+
def test_define
|
24
24
|
assert_difference 'RemotePartial::Partial.count' do
|
25
25
|
RemotePartial.define(
|
26
26
|
url: url,
|
27
27
|
name: name
|
28
28
|
)
|
29
29
|
end
|
30
|
-
|
30
|
+
assert_partial_content_correct
|
31
|
+
end
|
32
|
+
|
33
|
+
def url
|
34
|
+
'http://www.warwickshire.gov.uk'
|
35
|
+
end
|
36
|
+
|
37
|
+
def name
|
38
|
+
'wcc'
|
39
|
+
end
|
40
|
+
|
41
|
+
def assert_partial_content_correct
|
42
|
+
partial = RemotePartial::Partial.find(name)
|
43
|
+
assert_equal(url, partial.url)
|
44
|
+
remove_file(partial.output_file_name)
|
31
45
|
end
|
32
46
|
|
33
47
|
end
|
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.
|
4
|
+
version: 0.7.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
14
|
- !ruby/object:Gem::Dependency
|
31
15
|
name: nokogiri
|
32
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,94 +52,20 @@ executables: []
|
|
68
52
|
extensions: []
|
69
53
|
extra_rdoc_files: []
|
70
54
|
files:
|
71
|
-
-
|
72
|
-
- app/helpers/remote_partial/application_helper.rb
|
73
|
-
- app/models/remote_partial/resource_manager.rb
|
74
|
-
- app/models/remote_partial/exceptions.rb
|
75
|
-
- app/models/remote_partial/partial.rb
|
76
|
-
- app/models/remote_partial/builder.rb
|
77
|
-
- app/models/remote_partial/yaml_store.rb
|
78
|
-
- config/routes.rb
|
55
|
+
- lib/remote_partial/resource_manager.rb
|
79
56
|
- lib/remote_partial/version.rb
|
80
|
-
- lib/remote_partial/
|
57
|
+
- lib/remote_partial/exceptions.rb
|
58
|
+
- lib/remote_partial/partial.rb
|
59
|
+
- lib/remote_partial/railtie.rb
|
60
|
+
- lib/remote_partial/builder.rb
|
61
|
+
- lib/remote_partial/yaml_store.rb
|
62
|
+
- lib/remote_partial/time_calc.rb
|
81
63
|
- lib/remote_partial.rb
|
82
64
|
- lib/tasks/remote_partial_tasks.rake
|
83
65
|
- MIT-LICENSE
|
84
66
|
- Rakefile
|
85
67
|
- README.rdoc
|
86
|
-
- test/
|
87
|
-
- test/dummy/app/helpers/application_helper.rb
|
88
|
-
- test/dummy/app/helpers/demos_helper.rb
|
89
|
-
- test/dummy/app/views/demos/show.html.erb
|
90
|
-
- test/dummy/app/views/demos/_clock.html.erb
|
91
|
-
- test/dummy/app/views/demos/index.html.erb
|
92
|
-
- test/dummy/app/views/demos/_fixed.html.erb
|
93
|
-
- test/dummy/app/views/demos/_ruby.html.erb
|
94
|
-
- test/dummy/app/views/layouts/application.html.erb
|
95
|
-
- test/dummy/app/views/remote_partials/_clock.html.erb
|
96
|
-
- test/dummy/app/views/remote_partials/_wcc.html.erb
|
97
|
-
- test/dummy/app/views/remote_partials/_partial_with_mod.html.erb
|
98
|
-
- test/dummy/app/views/remote_partials/_fixed.html.erb
|
99
|
-
- test/dummy/app/views/remote_partials/_ruby.html.erb
|
100
|
-
- test/dummy/app/controllers/application_controller.rb
|
101
|
-
- test/dummy/app/controllers/demos_controller.rb
|
102
|
-
- test/dummy/app/assets/javascripts/samples.js
|
103
|
-
- test/dummy/app/assets/javascripts/demos.js
|
104
|
-
- test/dummy/app/assets/javascripts/application.js
|
105
|
-
- test/dummy/app/assets/stylesheets/application.css
|
106
|
-
- test/dummy/app/assets/stylesheets/samples.css
|
107
|
-
- test/dummy/app/assets/stylesheets/demos.css
|
108
|
-
- test/dummy/README.rdoc
|
109
|
-
- test/dummy/log/test.log
|
110
|
-
- test/dummy/log/development.log
|
111
|
-
- test/dummy/db/migrate/20130703141929_create_remote_partial_partials.remote_partial.rb
|
112
|
-
- test/dummy/db/remote_partial/partials.yml
|
113
|
-
- test/dummy/db/test.sqlite3
|
114
|
-
- test/dummy/db/development.sqlite3
|
115
|
-
- test/dummy/config.ru
|
116
|
-
- test/dummy/public/422.html
|
117
|
-
- test/dummy/public/favicon.ico
|
118
|
-
- test/dummy/public/404.html
|
119
|
-
- test/dummy/public/500.html
|
120
|
-
- test/dummy/test/functional/demos_controller_test.rb
|
121
|
-
- test/dummy/test/unit/helpers/demos_helper_test.rb
|
122
|
-
- test/dummy/test/unit/helpers/samples_helper_test.rb
|
123
|
-
- test/dummy/Rakefile
|
124
|
-
- test/dummy/tmp/cache/assets/DBB/BE0/sprockets%2Fc6eb578d23a69b5abb056e3abaa5c060
|
125
|
-
- test/dummy/tmp/cache/assets/CE3/080/sprockets%2F7d4d7689d6fa8236f0b4848c03ba1215
|
126
|
-
- test/dummy/tmp/cache/assets/BE9/0F0/sprockets%2Fb918d6cc641337193b96751002451244
|
127
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
128
|
-
- test/dummy/tmp/cache/assets/D2E/690/sprockets%2F840591ad233bc7bda28b7f6a2b27c205
|
129
|
-
- test/dummy/tmp/cache/assets/D20/020/sprockets%2F488c2c97fede45c86a62f1aa14554957
|
130
|
-
- test/dummy/tmp/cache/assets/C2E/4E0/sprockets%2F5b29288e435665a224409e7d76530c95
|
131
|
-
- test/dummy/tmp/cache/assets/E02/FA0/sprockets%2Fca8d5771d03e669be1d96acb6beb6cb6
|
132
|
-
- test/dummy/tmp/cache/assets/D52/430/sprockets%2F6ada07f0c9869f9f35b05fa0988dc717
|
133
|
-
- test/dummy/tmp/cache/assets/D16/E10/sprockets%2Fd5d9c442561ec08a55d5d843a0d9792d
|
134
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
135
|
-
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
136
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
137
|
-
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
138
|
-
- test/dummy/tmp/cache/assets/D30/990/sprockets%2F995cc20d042afc03241f58f7d6ca1f02
|
139
|
-
- test/dummy/tmp/cache/assets/CE5/D30/sprockets%2F8c9834a63b25a66203918a75ff56e2ac
|
140
|
-
- test/dummy/tmp/cache/assets/CB3/DC0/sprockets%2F157201713d2fd4954447e0bf4d8e853e
|
141
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
142
|
-
- test/dummy/config/locales/en.yml
|
143
|
-
- test/dummy/config/environment.rb
|
144
|
-
- test/dummy/config/routes.rb
|
145
|
-
- test/dummy/config/boot.rb
|
146
|
-
- test/dummy/config/environments/development.rb
|
147
|
-
- test/dummy/config/environments/production.rb
|
148
|
-
- test/dummy/config/environments/test.rb
|
149
|
-
- test/dummy/config/initializers/inflections.rb
|
150
|
-
- test/dummy/config/initializers/session_store.rb
|
151
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
152
|
-
- test/dummy/config/initializers/secret_token.rb
|
153
|
-
- test/dummy/config/initializers/remote_partial.rb
|
154
|
-
- test/dummy/config/initializers/mime_types.rb
|
155
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
156
|
-
- test/dummy/config/application.rb
|
157
|
-
- test/dummy/script/rails
|
158
|
-
- test/remote_partial_test.rb
|
68
|
+
- test/log/test.log
|
159
69
|
- test/test_helper.rb
|
160
70
|
- test/unit/remote_partial/partial_test.rb
|
161
71
|
- test/unit/remote_partial/builder_test.rb
|
@@ -190,79 +100,7 @@ specification_version: 3
|
|
190
100
|
summary: RemotePartial adds the facility to grab content from remote sites and add
|
191
101
|
them as partials to the host app.
|
192
102
|
test_files:
|
193
|
-
- test/
|
194
|
-
- test/dummy/app/helpers/application_helper.rb
|
195
|
-
- test/dummy/app/helpers/demos_helper.rb
|
196
|
-
- test/dummy/app/views/demos/show.html.erb
|
197
|
-
- test/dummy/app/views/demos/_clock.html.erb
|
198
|
-
- test/dummy/app/views/demos/index.html.erb
|
199
|
-
- test/dummy/app/views/demos/_fixed.html.erb
|
200
|
-
- test/dummy/app/views/demos/_ruby.html.erb
|
201
|
-
- test/dummy/app/views/layouts/application.html.erb
|
202
|
-
- test/dummy/app/views/remote_partials/_clock.html.erb
|
203
|
-
- test/dummy/app/views/remote_partials/_wcc.html.erb
|
204
|
-
- test/dummy/app/views/remote_partials/_partial_with_mod.html.erb
|
205
|
-
- test/dummy/app/views/remote_partials/_fixed.html.erb
|
206
|
-
- test/dummy/app/views/remote_partials/_ruby.html.erb
|
207
|
-
- test/dummy/app/controllers/application_controller.rb
|
208
|
-
- test/dummy/app/controllers/demos_controller.rb
|
209
|
-
- test/dummy/app/assets/javascripts/samples.js
|
210
|
-
- test/dummy/app/assets/javascripts/demos.js
|
211
|
-
- test/dummy/app/assets/javascripts/application.js
|
212
|
-
- test/dummy/app/assets/stylesheets/application.css
|
213
|
-
- test/dummy/app/assets/stylesheets/samples.css
|
214
|
-
- test/dummy/app/assets/stylesheets/demos.css
|
215
|
-
- test/dummy/README.rdoc
|
216
|
-
- test/dummy/log/test.log
|
217
|
-
- test/dummy/log/development.log
|
218
|
-
- test/dummy/db/migrate/20130703141929_create_remote_partial_partials.remote_partial.rb
|
219
|
-
- test/dummy/db/remote_partial/partials.yml
|
220
|
-
- test/dummy/db/test.sqlite3
|
221
|
-
- test/dummy/db/development.sqlite3
|
222
|
-
- test/dummy/config.ru
|
223
|
-
- test/dummy/public/422.html
|
224
|
-
- test/dummy/public/favicon.ico
|
225
|
-
- test/dummy/public/404.html
|
226
|
-
- test/dummy/public/500.html
|
227
|
-
- test/dummy/test/functional/demos_controller_test.rb
|
228
|
-
- test/dummy/test/unit/helpers/demos_helper_test.rb
|
229
|
-
- test/dummy/test/unit/helpers/samples_helper_test.rb
|
230
|
-
- test/dummy/Rakefile
|
231
|
-
- test/dummy/tmp/cache/assets/DBB/BE0/sprockets%2Fc6eb578d23a69b5abb056e3abaa5c060
|
232
|
-
- test/dummy/tmp/cache/assets/CE3/080/sprockets%2F7d4d7689d6fa8236f0b4848c03ba1215
|
233
|
-
- test/dummy/tmp/cache/assets/BE9/0F0/sprockets%2Fb918d6cc641337193b96751002451244
|
234
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
235
|
-
- test/dummy/tmp/cache/assets/D2E/690/sprockets%2F840591ad233bc7bda28b7f6a2b27c205
|
236
|
-
- test/dummy/tmp/cache/assets/D20/020/sprockets%2F488c2c97fede45c86a62f1aa14554957
|
237
|
-
- test/dummy/tmp/cache/assets/C2E/4E0/sprockets%2F5b29288e435665a224409e7d76530c95
|
238
|
-
- test/dummy/tmp/cache/assets/E02/FA0/sprockets%2Fca8d5771d03e669be1d96acb6beb6cb6
|
239
|
-
- test/dummy/tmp/cache/assets/D52/430/sprockets%2F6ada07f0c9869f9f35b05fa0988dc717
|
240
|
-
- test/dummy/tmp/cache/assets/D16/E10/sprockets%2Fd5d9c442561ec08a55d5d843a0d9792d
|
241
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
242
|
-
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
243
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
244
|
-
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
245
|
-
- test/dummy/tmp/cache/assets/D30/990/sprockets%2F995cc20d042afc03241f58f7d6ca1f02
|
246
|
-
- test/dummy/tmp/cache/assets/CE5/D30/sprockets%2F8c9834a63b25a66203918a75ff56e2ac
|
247
|
-
- test/dummy/tmp/cache/assets/CB3/DC0/sprockets%2F157201713d2fd4954447e0bf4d8e853e
|
248
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
249
|
-
- test/dummy/config/locales/en.yml
|
250
|
-
- test/dummy/config/environment.rb
|
251
|
-
- test/dummy/config/routes.rb
|
252
|
-
- test/dummy/config/boot.rb
|
253
|
-
- test/dummy/config/environments/development.rb
|
254
|
-
- test/dummy/config/environments/production.rb
|
255
|
-
- test/dummy/config/environments/test.rb
|
256
|
-
- test/dummy/config/initializers/inflections.rb
|
257
|
-
- test/dummy/config/initializers/session_store.rb
|
258
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
259
|
-
- test/dummy/config/initializers/secret_token.rb
|
260
|
-
- test/dummy/config/initializers/remote_partial.rb
|
261
|
-
- test/dummy/config/initializers/mime_types.rb
|
262
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
263
|
-
- test/dummy/config/application.rb
|
264
|
-
- test/dummy/script/rails
|
265
|
-
- test/remote_partial_test.rb
|
103
|
+
- test/log/test.log
|
266
104
|
- test/test_helper.rb
|
267
105
|
- test/unit/remote_partial/partial_test.rb
|
268
106
|
- test/unit/remote_partial/builder_test.rb
|
data/config/routes.rb
DELETED