swf-guess 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +29 -0
- data/README.rdoc +94 -0
- data/Rakefile +38 -0
- data/app/assets/javascripts/swf_fu.js.coffee +7 -0
- data/app/assets/javascripts/swfobject.js +4 -0
- data/app/assets/swfs/expressInstall.swf +0 -0
- data/app/helpers/swf_fu_helper.rb +55 -0
- data/app/models/swf_fu/generator.rb +140 -0
- data/lib/swf_fu.rb +15 -0
- data/lib/swf_fu/version.rb +3 -0
- data/lib/tasks/swf_fu_tasks.rake +4 -0
- data/test/dummy/Gemfile +38 -0
- data/test/dummy/Gemfile.lock +117 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/images/rails.png +0 -0
- data/test/dummy/app/assets/javascripts/application.js +16 -0
- data/test/dummy/app/assets/javascripts/example.js.coffee +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/assets/swfs/example.swf +0 -0
- data/test/dummy/app/assets/swfs/source/Example.as +26 -0
- data/test/dummy/app/assets/swfs/source/example.fla +0 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/application/example.html.erb +7 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +67 -0
- data/test/dummy/config/boot.rb +6 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/production.sqlite3 +0 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/doc/README_FOR_APP +2 -0
- data/test/dummy/log/development.log +68 -0
- data/test/dummy/log/production.log +666 -0
- data/test/dummy/log/test.log +395 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/test_helper.rb +13 -0
- data/test/dummy/tmp/cache/assets/C4D/E10/sprockets%2Fc047976633a340cdce345035269560f4 +0 -0
- data/test/dummy/tmp/cache/assets/C7D/5D0/sprockets%2Fa50a564d1a39a5058679294d142b259d +0 -0
- data/test/dummy/tmp/cache/assets/CA5/7E0/sprockets%2F405243a95c7fe62c5f1e13384bd52007 +0 -0
- data/test/dummy/tmp/cache/assets/CD0/400/sprockets%2Fe939b3c887723847718bef9263b545fe +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CEC/8F0/sprockets%2Fda530500a7f58a5049b41df99e7784e9 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +0 -0
- data/test/dummy/tmp/cache/assets/D0C/F20/sprockets%2F25319c41bf6665cc6f9ceb161d9055a0 +0 -0
- data/test/dummy/tmp/cache/assets/D1B/B70/sprockets%2F264d8ed9497d7df507e761a240016fde +0 -0
- data/test/dummy/tmp/cache/assets/D1D/090/sprockets%2F309c8b49c8b56c65a4f528745bf2e3c6 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D41/740/sprockets%2F414358cbdcf6fbb7d59c54ea24824407 +0 -0
- data/test/dummy/tmp/cache/assets/D42/580/sprockets%2F1c45ae7a3cffe91e16b5364466531d8e +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D5E/410/sprockets%2F0c6df3662a1326977ba1fb520cedb17a +0 -0
- data/test/dummy/tmp/cache/assets/D71/FD0/sprockets%2F3b1ada17db7b9fae7d40d971226385f9 +0 -0
- data/test/dummy/tmp/cache/assets/D83/1B0/sprockets%2F0106065ad8a5142ec6e805cabda5d1ae +0 -0
- data/test/dummy/tmp/cache/assets/DAA/3D0/sprockets%2F40a1f8ebd3c717ece6ec73c673871e8e +0 -0
- data/test/dummy/tmp/cache/assets/DCD/4B0/sprockets%2Fefe3fa2f4d5970fe935c56eadd20131c +0 -0
- data/test/dummy/tmp/cache/assets/DD9/1F0/sprockets%2Fe9f37f4cdf34aa6f149790ccead56d15 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DF6/300/sprockets%2F6818827aaaafddb35bc386d1c6cbd40e +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6 +0 -0
- data/test/dummy/tmp/cache/assets/E6D/DA0/sprockets%2F753c6b9fddf2dffb5f978cd1ae50cda8 +0 -0
- data/test/support/assert_same_striped.rb +9 -0
- data/test/support/fixtures/results.rb +41 -0
- data/test/swf_path_test.rb +35 -0
- data/test/swf_tag_test.rb +95 -0
- data/test/test_helper.rb +12 -0
- metadata +249 -0
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
+
#
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
+
# -- they do not yet inherit this setting
|
10
|
+
fixtures :all
|
11
|
+
|
12
|
+
# Add more helper methods to be used by all tests here...
|
13
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
def assert_same_stripped(expect, test, *equivalencies)
|
2
|
+
equivalencies.each{|look, ok| test.gsub! look, ok }
|
3
|
+
expect, test = [expect, test].map{|s| s.split("\n").map(&:strip)}
|
4
|
+
same = expect & test
|
5
|
+
delta_expect, delta_test = [expect, test].map{|a| a-same}
|
6
|
+
STDOUT << "\n\n---- Actual result: ----\n" << test.join("\n") << "\n---------\n" unless delta_expect == delta_test
|
7
|
+
assert_equal delta_expect, delta_test
|
8
|
+
end
|
9
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
DYNAMIC_RESULT = <<'EOS'
|
3
|
+
<script type="text/javascript">
|
4
|
+
//<![CDATA[
|
5
|
+
swfobject.embedSWF("/swfs/mySwf.swf","mySwf_div","456","123","7","/swfs/expressInstall.swf",{"myVar":"value 1 \u003E 2","id":"mySwf"},{"play":true},{"id":"mySwf"})
|
6
|
+
//]]>
|
7
|
+
</script><div id="mySwf_div"><a href="//www.adobe.com/go/getflashplayer">
|
8
|
+
<img src="//www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
|
9
|
+
</a></div><script type="text/javascript">
|
10
|
+
//<![CDATA[
|
11
|
+
swfobject.addDomLoadEvent(function(){SwfFu.setup($('#mySwf')[0], SomeClass, [{"be":"good"}])})
|
12
|
+
//]]>
|
13
|
+
</script>
|
14
|
+
EOS
|
15
|
+
|
16
|
+
STATIC_RESULT = <<'EOS'
|
17
|
+
<script type="text/javascript">
|
18
|
+
//<![CDATA[
|
19
|
+
swfobject.registerObject("mySwf_container", "7", "/swfs/expressInstall.swf");
|
20
|
+
//]]>
|
21
|
+
</script><div id="mySwf_div"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="456" height="123" id="mySwf_container" class="lots">
|
22
|
+
<param name="movie" value="/swfs/mySwf.swf" />
|
23
|
+
<param name="play" value="true"/>
|
24
|
+
<param name="flashvars" value="myVar=value+1+%3E+2&id=mySwf"/>
|
25
|
+
<!--[if !IE]>-->
|
26
|
+
<object type="application/x-shockwave-flash" data="/swfs/mySwf.swf" width="456" height="123" id="mySwf">
|
27
|
+
<param name="play" value="true"/>
|
28
|
+
<param name="flashvars" value="myVar=value+1+%3E+2&id=mySwf"/>
|
29
|
+
<!--<![endif]-->
|
30
|
+
<a href="//www.adobe.com/go/getflashplayer">
|
31
|
+
<img src="//www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
|
32
|
+
</a>
|
33
|
+
<!--[if !IE]>-->
|
34
|
+
</object>
|
35
|
+
<!--<![endif]-->
|
36
|
+
</object></div><script type="text/javascript">
|
37
|
+
//<![CDATA[
|
38
|
+
SwfFu.setup($('#mySwf')[0], SomeClass, [{"be":"good"}])
|
39
|
+
//]]>
|
40
|
+
</script>
|
41
|
+
EOS
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class SwfPathTest < ActionView::TestCase
|
4
|
+
context "with no special asset host" do
|
5
|
+
should "deduce the extension" do
|
6
|
+
assert_equal swf_path("example.swf"), swf_path("example")
|
7
|
+
assert_match "/swfs/example.swf", swf_path("example.swf")
|
8
|
+
end
|
9
|
+
|
10
|
+
should "accept relative paths" do
|
11
|
+
assert_equal "/swfs/whatever/example.swf", swf_path("whatever/example.swf")
|
12
|
+
end
|
13
|
+
|
14
|
+
should "leave full paths alone" do
|
15
|
+
["/full/path.swf", "http://www.example.com/whatever.swf"].each do |p|
|
16
|
+
assert_equal p, swf_path(p)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
context "with custom asset host" do
|
22
|
+
HOST = "http://assets.example.com"
|
23
|
+
setup do
|
24
|
+
ActionController::Base.asset_host = HOST
|
25
|
+
end
|
26
|
+
|
27
|
+
teardown do
|
28
|
+
ActionController::Base.asset_host = nil
|
29
|
+
end
|
30
|
+
|
31
|
+
should "take it into account" do
|
32
|
+
assert_equal "#{HOST}/swfs/whatever.swf", swf_path("whatever")
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class SwfTagTest < ActionView::TestCase
|
4
|
+
|
5
|
+
COMPLEX_OPTIONS = { :width => "456", :height => 123,
|
6
|
+
:flashvars => {:myVar => "value 1 > 2"}.freeze,
|
7
|
+
:javascript_class => "SomeClass",
|
8
|
+
:initialize => {:be => "good"}.freeze,
|
9
|
+
:parameters => {:play => true}.freeze
|
10
|
+
}.freeze
|
11
|
+
|
12
|
+
should "understand size" do
|
13
|
+
assert_equal swf_tag("hello", :size => "123x456"),
|
14
|
+
swf_tag("hello", :width => 123, :height => "456")
|
15
|
+
end
|
16
|
+
|
17
|
+
should "only accept valid modes" do
|
18
|
+
assert_raise(ArgumentError) { swf_tag("xyz", :mode => :xyz) }
|
19
|
+
end
|
20
|
+
|
21
|
+
context "with custom defaults" do
|
22
|
+
setup do
|
23
|
+
test = {:flashvars=> {:xyz => "abc", :hello => "world"}.freeze, :mode => :static, :size => "400x300"}.freeze
|
24
|
+
@expect = swf_tag("test", test)
|
25
|
+
@expect_with_hello = swf_tag("test", :flashvars => {:xyz => "abc", :hello => "my friend"}, :mode => :static, :size => "400x300")
|
26
|
+
ActionView::Base.swf_default_options = test
|
27
|
+
end
|
28
|
+
|
29
|
+
should "respect them" do
|
30
|
+
assert_equal @expect, swf_tag("test")
|
31
|
+
end
|
32
|
+
|
33
|
+
should "merge suboptions" do
|
34
|
+
assert_equal @expect_with_hello, swf_tag("test", :flashvars => {:hello => "my friend"}.freeze)
|
35
|
+
end
|
36
|
+
|
37
|
+
teardown { ActionView::Base.swf_default_options = {} }
|
38
|
+
end
|
39
|
+
|
40
|
+
context "with proc options" do
|
41
|
+
should "call them" do
|
42
|
+
expect = swf_tag("test", :id => "generated_id_for_test")
|
43
|
+
assert_equal expect, swf_tag("test", :id => Proc.new{|arg| "generated_id_for_#{arg}"})
|
44
|
+
end
|
45
|
+
|
46
|
+
should "call global default's everytime" do
|
47
|
+
expect1 = swf_tag("test", :id => "call_number_1")
|
48
|
+
expect2 = swf_tag("test", :id => "call_number_2")
|
49
|
+
cnt = 0
|
50
|
+
ActionView::Base.swf_default_options = { :id => Proc.new{ "call_number_#{cnt+=1}" }}
|
51
|
+
assert_equal expect1, swf_tag("test")
|
52
|
+
assert_equal expect2, swf_tag("test")
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
context "with static mode" do
|
57
|
+
setup { ActionView::Base.swf_default_options = {:mode => :static} }
|
58
|
+
|
59
|
+
should "deal with string flashvars" do
|
60
|
+
assert_equal swf_tag("hello", :flashvars => "xyz=abc", :mode => :static),
|
61
|
+
swf_tag("hello", :flashvars => {:xyz => "abc"}, :mode => :static)
|
62
|
+
end
|
63
|
+
|
64
|
+
should "produce the expected code" do
|
65
|
+
assert_same_stripped STATIC_RESULT, swf_tag("mySwf", COMPLEX_OPTIONS.merge(:html_options => {:class => "lots"}.freeze).freeze),
|
66
|
+
[%q[value="id=mySwf&myVar=value+1+%3E+2"], %q[value="myVar=value+1+%3E+2&id=mySwf"]]
|
67
|
+
end
|
68
|
+
|
69
|
+
teardown { ActionView::Base.swf_default_options = {} }
|
70
|
+
end
|
71
|
+
|
72
|
+
context "with dynamic mode" do
|
73
|
+
should "produce the expected code" do
|
74
|
+
assert_same_stripped DYNAMIC_RESULT, swf_tag("mySwf", COMPLEX_OPTIONS),
|
75
|
+
[%q[{"id":"mySwf","myVar":"value 1 \u003E 2"}], %q[{"myVar":"value 1 \u003E 2","id":"mySwf"}]]
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
79
|
+
|
80
|
+
should "enforce HTML id validity" do
|
81
|
+
div_result = '<div id="swf_123-456_ok___X_div">'
|
82
|
+
assert_match /#{div_result}/, swf_tag("123-456_ok$!+X")
|
83
|
+
obj_result = '"id":"swf_123-456_ok___X"'
|
84
|
+
assert_match /#{obj_result}/, swf_tag("123-456_ok$!+X")
|
85
|
+
end
|
86
|
+
|
87
|
+
should "treat initialize arrays as list of parameters" do
|
88
|
+
assert_match '"hello","world"])', swf_tag("mySwf", :initialize => ["hello", "world"], :javascript_class => "SomeClass")
|
89
|
+
end
|
90
|
+
|
91
|
+
should "be html safe" do
|
92
|
+
assert swf_tag("test").html_safe?
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
require "shoulda-context"
|
7
|
+
|
8
|
+
Rails.backtrace_cleaner.remove_silencers!
|
9
|
+
|
10
|
+
# Load support files
|
11
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
12
|
+
|
metadata
ADDED
@@ -0,0 +1,249 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: swf-guess
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- nephos
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: coffee-script
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: shoulda-context
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: swfu gem for guess
|
56
|
+
email: fake@street.to
|
57
|
+
executables: []
|
58
|
+
extensions: []
|
59
|
+
extra_rdoc_files: []
|
60
|
+
files:
|
61
|
+
- LICENSE
|
62
|
+
- README.rdoc
|
63
|
+
- Rakefile
|
64
|
+
- app/assets/javascripts/swf_fu.js.coffee
|
65
|
+
- app/assets/javascripts/swfobject.js
|
66
|
+
- app/assets/swfs/expressInstall.swf
|
67
|
+
- app/helpers/swf_fu_helper.rb
|
68
|
+
- app/models/swf_fu/generator.rb
|
69
|
+
- lib/swf_fu.rb
|
70
|
+
- lib/swf_fu/version.rb
|
71
|
+
- lib/tasks/swf_fu_tasks.rake
|
72
|
+
- test/dummy/Gemfile
|
73
|
+
- test/dummy/Gemfile.lock
|
74
|
+
- test/dummy/README.rdoc
|
75
|
+
- test/dummy/Rakefile
|
76
|
+
- test/dummy/app/assets/images/rails.png
|
77
|
+
- test/dummy/app/assets/javascripts/application.js
|
78
|
+
- test/dummy/app/assets/javascripts/example.js.coffee
|
79
|
+
- test/dummy/app/assets/stylesheets/application.css
|
80
|
+
- test/dummy/app/assets/swfs/example.swf
|
81
|
+
- test/dummy/app/assets/swfs/source/Example.as
|
82
|
+
- test/dummy/app/assets/swfs/source/example.fla
|
83
|
+
- test/dummy/app/controllers/application_controller.rb
|
84
|
+
- test/dummy/app/helpers/application_helper.rb
|
85
|
+
- test/dummy/app/views/application/example.html.erb
|
86
|
+
- test/dummy/app/views/layouts/application.html.erb
|
87
|
+
- test/dummy/config.ru
|
88
|
+
- test/dummy/config/application.rb
|
89
|
+
- test/dummy/config/boot.rb
|
90
|
+
- test/dummy/config/database.yml
|
91
|
+
- test/dummy/config/environment.rb
|
92
|
+
- test/dummy/config/environments/development.rb
|
93
|
+
- test/dummy/config/environments/production.rb
|
94
|
+
- test/dummy/config/environments/test.rb
|
95
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
96
|
+
- test/dummy/config/initializers/inflections.rb
|
97
|
+
- test/dummy/config/initializers/mime_types.rb
|
98
|
+
- test/dummy/config/initializers/secret_token.rb
|
99
|
+
- test/dummy/config/initializers/session_store.rb
|
100
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
101
|
+
- test/dummy/config/locales/en.yml
|
102
|
+
- test/dummy/config/routes.rb
|
103
|
+
- test/dummy/db/development.sqlite3
|
104
|
+
- test/dummy/db/production.sqlite3
|
105
|
+
- test/dummy/db/seeds.rb
|
106
|
+
- test/dummy/db/test.sqlite3
|
107
|
+
- test/dummy/doc/README_FOR_APP
|
108
|
+
- test/dummy/log/development.log
|
109
|
+
- test/dummy/log/production.log
|
110
|
+
- test/dummy/log/test.log
|
111
|
+
- test/dummy/public/404.html
|
112
|
+
- test/dummy/public/422.html
|
113
|
+
- test/dummy/public/500.html
|
114
|
+
- test/dummy/public/favicon.ico
|
115
|
+
- test/dummy/public/robots.txt
|
116
|
+
- test/dummy/script/rails
|
117
|
+
- test/dummy/test/test_helper.rb
|
118
|
+
- test/dummy/tmp/cache/assets/C4D/E10/sprockets%2Fc047976633a340cdce345035269560f4
|
119
|
+
- test/dummy/tmp/cache/assets/C7D/5D0/sprockets%2Fa50a564d1a39a5058679294d142b259d
|
120
|
+
- test/dummy/tmp/cache/assets/CA5/7E0/sprockets%2F405243a95c7fe62c5f1e13384bd52007
|
121
|
+
- test/dummy/tmp/cache/assets/CD0/400/sprockets%2Fe939b3c887723847718bef9263b545fe
|
122
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
123
|
+
- test/dummy/tmp/cache/assets/CEC/8F0/sprockets%2Fda530500a7f58a5049b41df99e7784e9
|
124
|
+
- test/dummy/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
|
125
|
+
- test/dummy/tmp/cache/assets/D0C/F20/sprockets%2F25319c41bf6665cc6f9ceb161d9055a0
|
126
|
+
- test/dummy/tmp/cache/assets/D1B/B70/sprockets%2F264d8ed9497d7df507e761a240016fde
|
127
|
+
- test/dummy/tmp/cache/assets/D1D/090/sprockets%2F309c8b49c8b56c65a4f528745bf2e3c6
|
128
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
129
|
+
- test/dummy/tmp/cache/assets/D41/740/sprockets%2F414358cbdcf6fbb7d59c54ea24824407
|
130
|
+
- test/dummy/tmp/cache/assets/D42/580/sprockets%2F1c45ae7a3cffe91e16b5364466531d8e
|
131
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
132
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
133
|
+
- test/dummy/tmp/cache/assets/D5E/410/sprockets%2F0c6df3662a1326977ba1fb520cedb17a
|
134
|
+
- test/dummy/tmp/cache/assets/D71/FD0/sprockets%2F3b1ada17db7b9fae7d40d971226385f9
|
135
|
+
- test/dummy/tmp/cache/assets/D83/1B0/sprockets%2F0106065ad8a5142ec6e805cabda5d1ae
|
136
|
+
- test/dummy/tmp/cache/assets/DAA/3D0/sprockets%2F40a1f8ebd3c717ece6ec73c673871e8e
|
137
|
+
- test/dummy/tmp/cache/assets/DCD/4B0/sprockets%2Fefe3fa2f4d5970fe935c56eadd20131c
|
138
|
+
- test/dummy/tmp/cache/assets/DD9/1F0/sprockets%2Fe9f37f4cdf34aa6f149790ccead56d15
|
139
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
140
|
+
- test/dummy/tmp/cache/assets/DF6/300/sprockets%2F6818827aaaafddb35bc386d1c6cbd40e
|
141
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
142
|
+
- test/dummy/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6
|
143
|
+
- test/dummy/tmp/cache/assets/E6D/DA0/sprockets%2F753c6b9fddf2dffb5f978cd1ae50cda8
|
144
|
+
- test/support/assert_same_striped.rb
|
145
|
+
- test/support/fixtures/results.rb
|
146
|
+
- test/swf_path_test.rb
|
147
|
+
- test/swf_tag_test.rb
|
148
|
+
- test/test_helper.rb
|
149
|
+
homepage:
|
150
|
+
licenses: []
|
151
|
+
metadata: {}
|
152
|
+
post_install_message:
|
153
|
+
rdoc_options: []
|
154
|
+
require_paths:
|
155
|
+
- lib
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
requirements: []
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 2.4.2
|
169
|
+
signing_key:
|
170
|
+
specification_version: 4
|
171
|
+
summary: guess!
|
172
|
+
test_files:
|
173
|
+
- test/dummy/app/assets/images/rails.png
|
174
|
+
- test/dummy/app/assets/javascripts/application.js
|
175
|
+
- test/dummy/app/assets/javascripts/example.js.coffee
|
176
|
+
- test/dummy/app/assets/stylesheets/application.css
|
177
|
+
- test/dummy/app/assets/swfs/example.swf
|
178
|
+
- test/dummy/app/assets/swfs/source/Example.as
|
179
|
+
- test/dummy/app/assets/swfs/source/example.fla
|
180
|
+
- test/dummy/app/controllers/application_controller.rb
|
181
|
+
- test/dummy/app/helpers/application_helper.rb
|
182
|
+
- test/dummy/app/views/application/example.html.erb
|
183
|
+
- test/dummy/app/views/layouts/application.html.erb
|
184
|
+
- test/dummy/config/application.rb
|
185
|
+
- test/dummy/config/boot.rb
|
186
|
+
- test/dummy/config/database.yml
|
187
|
+
- test/dummy/config/environment.rb
|
188
|
+
- test/dummy/config/environments/development.rb
|
189
|
+
- test/dummy/config/environments/production.rb
|
190
|
+
- test/dummy/config/environments/test.rb
|
191
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
192
|
+
- test/dummy/config/initializers/inflections.rb
|
193
|
+
- test/dummy/config/initializers/mime_types.rb
|
194
|
+
- test/dummy/config/initializers/secret_token.rb
|
195
|
+
- test/dummy/config/initializers/session_store.rb
|
196
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
197
|
+
- test/dummy/config/locales/en.yml
|
198
|
+
- test/dummy/config/routes.rb
|
199
|
+
- test/dummy/config.ru
|
200
|
+
- test/dummy/db/development.sqlite3
|
201
|
+
- test/dummy/db/production.sqlite3
|
202
|
+
- test/dummy/db/seeds.rb
|
203
|
+
- test/dummy/db/test.sqlite3
|
204
|
+
- test/dummy/doc/README_FOR_APP
|
205
|
+
- test/dummy/Gemfile
|
206
|
+
- test/dummy/Gemfile.lock
|
207
|
+
- test/dummy/log/development.log
|
208
|
+
- test/dummy/log/production.log
|
209
|
+
- test/dummy/log/test.log
|
210
|
+
- test/dummy/public/404.html
|
211
|
+
- test/dummy/public/422.html
|
212
|
+
- test/dummy/public/500.html
|
213
|
+
- test/dummy/public/favicon.ico
|
214
|
+
- test/dummy/public/robots.txt
|
215
|
+
- test/dummy/Rakefile
|
216
|
+
- test/dummy/README.rdoc
|
217
|
+
- test/dummy/script/rails
|
218
|
+
- test/dummy/test/test_helper.rb
|
219
|
+
- test/dummy/tmp/cache/assets/C4D/E10/sprockets%2Fc047976633a340cdce345035269560f4
|
220
|
+
- test/dummy/tmp/cache/assets/C7D/5D0/sprockets%2Fa50a564d1a39a5058679294d142b259d
|
221
|
+
- test/dummy/tmp/cache/assets/CA5/7E0/sprockets%2F405243a95c7fe62c5f1e13384bd52007
|
222
|
+
- test/dummy/tmp/cache/assets/CD0/400/sprockets%2Fe939b3c887723847718bef9263b545fe
|
223
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
224
|
+
- test/dummy/tmp/cache/assets/CEC/8F0/sprockets%2Fda530500a7f58a5049b41df99e7784e9
|
225
|
+
- test/dummy/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
|
226
|
+
- test/dummy/tmp/cache/assets/D0C/F20/sprockets%2F25319c41bf6665cc6f9ceb161d9055a0
|
227
|
+
- test/dummy/tmp/cache/assets/D1B/B70/sprockets%2F264d8ed9497d7df507e761a240016fde
|
228
|
+
- test/dummy/tmp/cache/assets/D1D/090/sprockets%2F309c8b49c8b56c65a4f528745bf2e3c6
|
229
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
230
|
+
- test/dummy/tmp/cache/assets/D41/740/sprockets%2F414358cbdcf6fbb7d59c54ea24824407
|
231
|
+
- test/dummy/tmp/cache/assets/D42/580/sprockets%2F1c45ae7a3cffe91e16b5364466531d8e
|
232
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
233
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
234
|
+
- test/dummy/tmp/cache/assets/D5E/410/sprockets%2F0c6df3662a1326977ba1fb520cedb17a
|
235
|
+
- test/dummy/tmp/cache/assets/D71/FD0/sprockets%2F3b1ada17db7b9fae7d40d971226385f9
|
236
|
+
- test/dummy/tmp/cache/assets/D83/1B0/sprockets%2F0106065ad8a5142ec6e805cabda5d1ae
|
237
|
+
- test/dummy/tmp/cache/assets/DAA/3D0/sprockets%2F40a1f8ebd3c717ece6ec73c673871e8e
|
238
|
+
- test/dummy/tmp/cache/assets/DCD/4B0/sprockets%2Fefe3fa2f4d5970fe935c56eadd20131c
|
239
|
+
- test/dummy/tmp/cache/assets/DD9/1F0/sprockets%2Fe9f37f4cdf34aa6f149790ccead56d15
|
240
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
241
|
+
- test/dummy/tmp/cache/assets/DF6/300/sprockets%2F6818827aaaafddb35bc386d1c6cbd40e
|
242
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
243
|
+
- test/dummy/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6
|
244
|
+
- test/dummy/tmp/cache/assets/E6D/DA0/sprockets%2F753c6b9fddf2dffb5f978cd1ae50cda8
|
245
|
+
- test/support/assert_same_striped.rb
|
246
|
+
- test/support/fixtures/results.rb
|
247
|
+
- test/swf_path_test.rb
|
248
|
+
- test/swf_tag_test.rb
|
249
|
+
- test/test_helper.rb
|