transponder 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/Gemfile.lock +88 -62
- data/README.md +3 -0
- data/lib/generators/transponder.rb +1 -1
- data/lib/transponder.rb +2 -2
- data/lib/transponder/version.rb +1 -1
- data/test/javascripts/runner/Gemfile +5 -0
- data/test/javascripts/runner/Gemfile.lock +104 -0
- data/test/javascripts/runner/README.md +1 -0
- data/test/javascripts/runner/config.rb +85 -0
- data/test/javascripts/runner/package.json +22 -0
- data/test/javascripts/runner/source/index.html.erb +1 -0
- data/test/javascripts/runner/source/javascripts/all.js +13 -0
- data/test/javascripts/runner/source/javascripts/test_runner.js +2 -0
- data/test/javascripts/runner/source/layouts/layout.erb +19 -0
- data/test/javascripts/runner/source/stylesheets/mocha.css +246 -0
- data/test/javascripts/support/chai.js +4251 -0
- data/test/javascripts/support/jquery-2.js +8755 -0
- data/test/javascripts/support/mocha.js +5338 -0
- data/test/javascripts/support/sinon-chai.js +109 -0
- data/test/javascripts/support/sinon.js +4299 -0
- data/test/javascripts/support/test_setup.js +2 -0
- data/test/javascripts/transponder/presenter_test.coffee +34 -0
- data/test/javascripts/transponder/presenters/examples_presenter_test.coffee +74 -0
- data/test/javascripts/transponder/service_test.coffee +3 -0
- metadata +57 -6
- data/lib/transponder/engine.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87e8f086d000b93b58fe26b3a39837a7072ee648
|
4
|
+
data.tar.gz: 9ec567ba33f39fed87c091dd3701e5a770b06dcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f36db01ad04c0fe2b73bdb5052f9f9d32d684a8310b848092b1d8258a138322fb0b7a6530ff17f1ec7e204032c53bc33f83ecb50e166a0314601e70da6bc5029
|
7
|
+
data.tar.gz: 5d3f01a67eb8e450cc28be355d8482f5c2c0454d6e002cd479f1a692f82ac3bc9fb5325238a8a2688c7b81426ea4bc11240ab915fe87b63d6be2233e4b3c2dda
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,18 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
transponder (0.0.
|
5
|
-
railties (~> 3.1)
|
4
|
+
transponder (0.0.5)
|
6
5
|
|
7
6
|
GEM
|
8
7
|
remote: https://rubygems.org/
|
9
8
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
actionpack (3.2.13)
|
14
|
-
activemodel (= 3.2.13)
|
15
|
-
activesupport (= 3.2.13)
|
9
|
+
actionpack (3.2.12)
|
10
|
+
activemodel (= 3.2.12)
|
11
|
+
activesupport (= 3.2.12)
|
16
12
|
builder (~> 3.0.0)
|
17
13
|
erubis (~> 2.7.0)
|
18
14
|
journey (~> 1.0.4)
|
@@ -20,100 +16,130 @@ GEM
|
|
20
16
|
rack-cache (~> 1.2)
|
21
17
|
rack-test (~> 0.6.1)
|
22
18
|
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.
|
24
|
-
activesupport (= 3.2.
|
19
|
+
activemodel (3.2.12)
|
20
|
+
activesupport (= 3.2.12)
|
25
21
|
builder (~> 3.0.0)
|
26
|
-
|
27
|
-
|
28
|
-
activesupport (= 3.2.13)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.13)
|
32
|
-
activemodel (= 3.2.13)
|
33
|
-
activesupport (= 3.2.13)
|
34
|
-
activesupport (3.2.13)
|
35
|
-
i18n (= 0.6.1)
|
22
|
+
activesupport (3.2.12)
|
23
|
+
i18n (~> 0.6)
|
36
24
|
multi_json (~> 1.0)
|
37
|
-
arel (3.0.2)
|
38
25
|
builder (3.0.4)
|
39
|
-
|
40
|
-
mime-types (>= 1.16)
|
41
|
-
nokogiri (>= 1.3.3)
|
42
|
-
rack (>= 1.0.0)
|
43
|
-
rack-test (>= 0.5.4)
|
44
|
-
xpath (~> 2.0)
|
26
|
+
chunky_png (1.2.8)
|
45
27
|
coffee-rails (3.2.2)
|
46
28
|
coffee-script (>= 2.2.0)
|
47
29
|
railties (~> 3.2.0)
|
48
30
|
coffee-script (2.2.0)
|
49
31
|
coffee-script-source
|
50
32
|
execjs
|
51
|
-
coffee-script-source (1.
|
52
|
-
|
33
|
+
coffee-script-source (1.3.3)
|
34
|
+
compass (0.12.2)
|
35
|
+
chunky_png (~> 1.2)
|
36
|
+
fssm (>= 0.2.7)
|
37
|
+
sass (~> 3.1)
|
53
38
|
erubis (2.7.0)
|
54
39
|
execjs (1.4.0)
|
55
40
|
multi_json (~> 1.0)
|
41
|
+
fssm (0.2.10)
|
42
|
+
haml (4.0.2)
|
43
|
+
tilt
|
56
44
|
hike (1.2.2)
|
45
|
+
http_router (0.10.2)
|
46
|
+
rack (>= 1.0.0)
|
47
|
+
url_mount (~> 0.2.1)
|
57
48
|
i18n (0.6.1)
|
58
49
|
journey (1.0.4)
|
59
50
|
json (1.8.0)
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
51
|
+
listen (0.7.3)
|
52
|
+
maruku (0.6.1)
|
53
|
+
syntax (>= 1.0.0)
|
54
|
+
middleman (3.0.14)
|
55
|
+
middleman-core (= 3.0.14)
|
56
|
+
middleman-more (= 3.0.14)
|
57
|
+
middleman-sprockets (~> 3.1.0)
|
58
|
+
middleman-core (3.0.14)
|
59
|
+
activesupport (~> 3.2.6)
|
60
|
+
bundler (~> 1.1)
|
61
|
+
listen (~> 0.7.3)
|
62
|
+
rack (~> 1.4.1)
|
63
|
+
rack-test (~> 0.6.1)
|
64
|
+
rb-fsevent (~> 0.9.3)
|
65
|
+
thor (~> 0.15.4)
|
66
|
+
tilt (~> 1.3.6)
|
67
|
+
middleman-more (3.0.14)
|
68
|
+
coffee-script (~> 2.2.0)
|
69
|
+
coffee-script-source (~> 1.3.3)
|
70
|
+
compass (>= 0.12.2)
|
71
|
+
execjs (~> 1.4.0)
|
72
|
+
haml (>= 3.1.6)
|
73
|
+
i18n (~> 0.6.0, < 0.6.2)
|
74
|
+
maruku (~> 0.6.0)
|
75
|
+
middleman-core (= 3.0.14)
|
76
|
+
padrino-helpers (= 0.10.7)
|
77
|
+
sass (>= 3.1.20)
|
78
|
+
uglifier (~> 1.2.6)
|
79
|
+
middleman-sprockets (3.1.1)
|
80
|
+
middleman-core (>= 3.0.14)
|
81
|
+
padrino-helpers (= 0.10.7)
|
82
|
+
sprockets (~> 2.1)
|
83
|
+
sprockets-helpers (~> 1.0.0)
|
84
|
+
sprockets-sass (~> 1.0.0)
|
70
85
|
multi_json (1.7.3)
|
71
|
-
|
72
|
-
|
86
|
+
padrino-core (0.10.7)
|
87
|
+
activesupport (~> 3.2.0)
|
88
|
+
http_router (~> 0.10.2)
|
89
|
+
sinatra (~> 1.3.1)
|
90
|
+
thor (~> 0.15.2)
|
91
|
+
tilt (~> 1.3.0)
|
92
|
+
padrino-helpers (0.10.7)
|
93
|
+
i18n (~> 0.6)
|
94
|
+
padrino-core (= 0.10.7)
|
73
95
|
rack (1.4.5)
|
74
96
|
rack-cache (1.2)
|
75
97
|
rack (>= 0.4)
|
98
|
+
rack-protection (1.5.0)
|
99
|
+
rack
|
76
100
|
rack-ssl (1.3.3)
|
77
101
|
rack
|
78
102
|
rack-test (0.6.2)
|
79
103
|
rack (>= 1.0)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
activerecord (= 3.2.13)
|
84
|
-
activeresource (= 3.2.13)
|
85
|
-
activesupport (= 3.2.13)
|
86
|
-
bundler (~> 1.0)
|
87
|
-
railties (= 3.2.13)
|
88
|
-
railties (3.2.13)
|
89
|
-
actionpack (= 3.2.13)
|
90
|
-
activesupport (= 3.2.13)
|
104
|
+
railties (3.2.12)
|
105
|
+
actionpack (= 3.2.12)
|
106
|
+
activesupport (= 3.2.12)
|
91
107
|
rack-ssl (~> 1.3.2)
|
92
108
|
rake (>= 0.8.7)
|
93
109
|
rdoc (~> 3.4)
|
94
110
|
thor (>= 0.14.6, < 2.0)
|
95
111
|
rake (10.0.4)
|
112
|
+
rb-fsevent (0.9.3)
|
96
113
|
rdoc (3.12.2)
|
97
114
|
json (~> 1.4)
|
115
|
+
sass (3.2.9)
|
116
|
+
sinatra (1.3.6)
|
117
|
+
rack (~> 1.4)
|
118
|
+
rack-protection (~> 1.3)
|
119
|
+
tilt (~> 1.3, >= 1.3.3)
|
98
120
|
sprockets (2.2.2)
|
99
121
|
hike (~> 1.2)
|
100
122
|
multi_json (~> 1.0)
|
101
123
|
rack (~> 1.0)
|
102
124
|
tilt (~> 1.1, != 1.3.0)
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
125
|
+
sprockets-helpers (1.0.1)
|
126
|
+
sprockets (~> 2.0)
|
127
|
+
sprockets-sass (1.0.1)
|
128
|
+
sprockets (~> 2.0)
|
129
|
+
tilt (~> 1.1)
|
130
|
+
syntax (1.0.0)
|
131
|
+
thor (0.15.4)
|
132
|
+
tilt (1.3.7)
|
133
|
+
uglifier (1.2.7)
|
134
|
+
execjs (>= 0.3.0)
|
135
|
+
multi_json (~> 1.3)
|
136
|
+
url_mount (0.2.1)
|
137
|
+
rack
|
111
138
|
|
112
139
|
PLATFORMS
|
113
140
|
ruby
|
114
141
|
|
115
142
|
DEPENDENCIES
|
116
143
|
coffee-rails
|
117
|
-
|
118
|
-
rails (~> 3.2.13)
|
144
|
+
middleman (~> 3.0.14)
|
119
145
|
transponder!
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@ require 'rails/generators/base'
|
|
2
2
|
|
3
3
|
module Transponder
|
4
4
|
module Generators
|
5
|
-
class Base <
|
5
|
+
class Base < Rails::Generators::Base
|
6
6
|
def self.source_root
|
7
7
|
@_transponder_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'transponder', generator_name, 'templates'))
|
8
8
|
end
|
data/lib/transponder.rb
CHANGED
data/lib/transponder/version.rb
CHANGED
@@ -0,0 +1,104 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (3.2.13)
|
5
|
+
i18n (= 0.6.1)
|
6
|
+
multi_json (~> 1.0)
|
7
|
+
chunky_png (1.2.8)
|
8
|
+
coffee-script (2.2.0)
|
9
|
+
coffee-script-source
|
10
|
+
execjs
|
11
|
+
coffee-script-source (1.3.3)
|
12
|
+
compass (0.12.2)
|
13
|
+
chunky_png (~> 1.2)
|
14
|
+
fssm (>= 0.2.7)
|
15
|
+
sass (~> 3.1)
|
16
|
+
execjs (1.4.0)
|
17
|
+
multi_json (~> 1.0)
|
18
|
+
fssm (0.2.10)
|
19
|
+
haml (4.0.2)
|
20
|
+
tilt
|
21
|
+
hike (1.2.2)
|
22
|
+
http_router (0.10.2)
|
23
|
+
rack (>= 1.0.0)
|
24
|
+
url_mount (~> 0.2.1)
|
25
|
+
i18n (0.6.1)
|
26
|
+
listen (0.7.3)
|
27
|
+
maruku (0.6.1)
|
28
|
+
syntax (>= 1.0.0)
|
29
|
+
middleman (3.0.14)
|
30
|
+
middleman-core (= 3.0.14)
|
31
|
+
middleman-more (= 3.0.14)
|
32
|
+
middleman-sprockets (~> 3.1.0)
|
33
|
+
middleman-core (3.0.14)
|
34
|
+
activesupport (~> 3.2.6)
|
35
|
+
bundler (~> 1.1)
|
36
|
+
listen (~> 0.7.3)
|
37
|
+
rack (~> 1.4.1)
|
38
|
+
rack-test (~> 0.6.1)
|
39
|
+
rb-fsevent (~> 0.9.3)
|
40
|
+
thor (~> 0.15.4)
|
41
|
+
tilt (~> 1.3.6)
|
42
|
+
middleman-more (3.0.14)
|
43
|
+
coffee-script (~> 2.2.0)
|
44
|
+
coffee-script-source (~> 1.3.3)
|
45
|
+
compass (>= 0.12.2)
|
46
|
+
execjs (~> 1.4.0)
|
47
|
+
haml (>= 3.1.6)
|
48
|
+
i18n (~> 0.6.0, < 0.6.2)
|
49
|
+
maruku (~> 0.6.0)
|
50
|
+
middleman-core (= 3.0.14)
|
51
|
+
padrino-helpers (= 0.10.7)
|
52
|
+
sass (>= 3.1.20)
|
53
|
+
uglifier (~> 1.2.6)
|
54
|
+
middleman-sprockets (3.1.1)
|
55
|
+
middleman-core (>= 3.0.14)
|
56
|
+
padrino-helpers (= 0.10.7)
|
57
|
+
sprockets (~> 2.1)
|
58
|
+
sprockets-helpers (~> 1.0.0)
|
59
|
+
sprockets-sass (~> 1.0.0)
|
60
|
+
multi_json (1.7.3)
|
61
|
+
padrino-core (0.10.7)
|
62
|
+
activesupport (~> 3.2.0)
|
63
|
+
http_router (~> 0.10.2)
|
64
|
+
sinatra (~> 1.3.1)
|
65
|
+
thor (~> 0.15.2)
|
66
|
+
tilt (~> 1.3.0)
|
67
|
+
padrino-helpers (0.10.7)
|
68
|
+
i18n (~> 0.6)
|
69
|
+
padrino-core (= 0.10.7)
|
70
|
+
rack (1.4.5)
|
71
|
+
rack-protection (1.5.0)
|
72
|
+
rack
|
73
|
+
rack-test (0.6.2)
|
74
|
+
rack (>= 1.0)
|
75
|
+
rb-fsevent (0.9.3)
|
76
|
+
sass (3.2.9)
|
77
|
+
sinatra (1.3.6)
|
78
|
+
rack (~> 1.4)
|
79
|
+
rack-protection (~> 1.3)
|
80
|
+
tilt (~> 1.3, >= 1.3.3)
|
81
|
+
sprockets (2.9.3)
|
82
|
+
hike (~> 1.2)
|
83
|
+
multi_json (~> 1.0)
|
84
|
+
rack (~> 1.0)
|
85
|
+
tilt (~> 1.1, != 1.3.0)
|
86
|
+
sprockets-helpers (1.0.1)
|
87
|
+
sprockets (~> 2.0)
|
88
|
+
sprockets-sass (1.0.1)
|
89
|
+
sprockets (~> 2.0)
|
90
|
+
tilt (~> 1.1)
|
91
|
+
syntax (1.0.0)
|
92
|
+
thor (0.15.4)
|
93
|
+
tilt (1.3.7)
|
94
|
+
uglifier (1.2.7)
|
95
|
+
execjs (>= 0.3.0)
|
96
|
+
multi_json (~> 1.3)
|
97
|
+
url_mount (0.2.1)
|
98
|
+
rack
|
99
|
+
|
100
|
+
PLATFORMS
|
101
|
+
ruby
|
102
|
+
|
103
|
+
DEPENDENCIES
|
104
|
+
middleman (~> 3.0.14)
|
@@ -0,0 +1 @@
|
|
1
|
+
# app for running transponder test
|
@@ -0,0 +1,85 @@
|
|
1
|
+
###
|
2
|
+
# Compass
|
3
|
+
###
|
4
|
+
|
5
|
+
# Susy grids in Compass
|
6
|
+
# First: gem install susy
|
7
|
+
# require 'susy'
|
8
|
+
|
9
|
+
# Change Compass configuration
|
10
|
+
# compass_config do |config|
|
11
|
+
# config.output_style = :compact
|
12
|
+
# end
|
13
|
+
|
14
|
+
###
|
15
|
+
# Page options, layouts, aliases and proxies
|
16
|
+
###
|
17
|
+
|
18
|
+
# Per-page layout changes:
|
19
|
+
#
|
20
|
+
# With no layout
|
21
|
+
# page "/path/to/file.html", :layout => false
|
22
|
+
#
|
23
|
+
# With alternative layout
|
24
|
+
# page "/path/to/file.html", :layout => :otherlayout
|
25
|
+
#
|
26
|
+
# A path which all have the same layout
|
27
|
+
# with_layout :admin do
|
28
|
+
# page "/admin/*"
|
29
|
+
# end
|
30
|
+
|
31
|
+
# Proxy (fake) files
|
32
|
+
# page "/this-page-has-no-template.html", :proxy => "/template-file.html" do
|
33
|
+
# @which_fake_page = "Rendering a fake page with a variable"
|
34
|
+
# end
|
35
|
+
|
36
|
+
###
|
37
|
+
# Helpers
|
38
|
+
###
|
39
|
+
|
40
|
+
# Automatic image dimensions on image_tag helper
|
41
|
+
# activate :automatic_image_sizes
|
42
|
+
|
43
|
+
# Methods defined in the helpers block are available in templates
|
44
|
+
# helpers do
|
45
|
+
# def some_helper
|
46
|
+
# "Helping"
|
47
|
+
# end
|
48
|
+
# end
|
49
|
+
|
50
|
+
after_configuration do
|
51
|
+
sprockets.append_path "#{root}/../../../lib/assets/javascripts"
|
52
|
+
sprockets.append_path "#{root}/../../../test/javascripts"
|
53
|
+
sprockets.append_path "#{root}/../support"
|
54
|
+
sprockets.append_path "#{root}/../../../examples"
|
55
|
+
end
|
56
|
+
|
57
|
+
set :css_dir, 'stylesheets'
|
58
|
+
|
59
|
+
set :js_dir, 'javascripts'
|
60
|
+
|
61
|
+
set :images_dir, 'images'
|
62
|
+
|
63
|
+
|
64
|
+
# Build-specific configuration
|
65
|
+
configure :build do
|
66
|
+
# For example, change the Compass output style for deployment
|
67
|
+
activate :minify_css
|
68
|
+
|
69
|
+
# Minify Javascript on build
|
70
|
+
activate :minify_javascript
|
71
|
+
|
72
|
+
# Enable cache buster
|
73
|
+
# activate :cache_buster
|
74
|
+
|
75
|
+
# Use relative URLs
|
76
|
+
activate :relative_assets
|
77
|
+
|
78
|
+
# Compress PNGs after build
|
79
|
+
# First: gem install middleman-smusher
|
80
|
+
# require "middleman-smusher"
|
81
|
+
# activate :smusher
|
82
|
+
|
83
|
+
# Or use a different image path
|
84
|
+
# set :http_path, "/Content/images/"
|
85
|
+
end
|