transponder 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +14 -1
- data/lib/assets/javascripts/transponder/service.coffee +1 -0
- data/lib/generators/transponder/install/install_generator.rb +9 -5
- data/lib/generators/transponder/install/templates/{manifest.coffee → initializers/manifest.coffee} +0 -0
- data/lib/generators/transponder/install/templates/{setup.coffee → initializers/setup.coffee} +0 -0
- data/lib/generators/transponder/resource_helpers.rb +0 -1
- data/lib/transponder/version.rb +1 -1
- data/test/javascripts/runner/Gemfile +1 -0
- data/test/javascripts/runner/Gemfile.lock +3 -2
- data/test/javascripts/runner/config.rb +1 -0
- data/test/javascripts/runner/source/fixtures/calculate.html.erb +3 -0
- data/test/javascripts/runner/source/index.html.erb +5 -1
- data/test/javascripts/runner/source/javascripts/all.js +4 -2
- data/test/javascripts/support/chai-jquery.js +237 -0
- data/test/javascripts/transponder/services/calculate_test.coffee +28 -0
- metadata +11 -22
- data/Gemfile.lock +0 -145
- data/test/javascripts/transponder/service_test.coffee +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f898cb7d9ca87fb996ef86bb37e24f43aa2d9836
|
4
|
+
data.tar.gz: 676cc7b095dd07a2895e9f19cde8d2f81ec17c58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4c1b2563e362445b2f49935d5b0233531cd312f9f7552b8d98e8d9d469a0ec61d600dea1c53931cf58f86762777a90026dd4e63cb741a917853788f6b58b997
|
7
|
+
data.tar.gz: e9b6a21f81f17133cfcb7f60687196c9814c9d4b5209e3cb41891652191a55e259362520cf06c704f2aad0153e5c8d06ba98bf8c305511e240cfd5dd72cece87
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -20,7 +20,20 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
Once installing the gem run.
|
24
|
+
|
25
|
+
$ rails g transponder:install
|
26
|
+
|
27
|
+
## Documentation
|
28
|
+
+ [Slides](http://www.slideshare.net/artellectual/better-ujsforrails)
|
29
|
+
|
30
|
+
## TODO - Whats Coming
|
31
|
+
|
32
|
+
+ Clean up some APIs
|
33
|
+
+ Add Documentation
|
34
|
+
+ Video Screencasts
|
35
|
+
+ More Generators
|
36
|
+
+ Example Rails Project
|
24
37
|
|
25
38
|
## Contributing
|
26
39
|
|
@@ -7,23 +7,27 @@ module Transponder
|
|
7
7
|
include Transponder::Generators::ResourceHelpers
|
8
8
|
|
9
9
|
def create_services
|
10
|
-
directory 'services',
|
10
|
+
directory 'services', 'app/assets/javascripts/services'
|
11
11
|
end
|
12
12
|
|
13
13
|
def create_presenters
|
14
|
-
directory 'presenters',
|
14
|
+
directory 'presenters', 'app/assets/javascripts/presenters'
|
15
15
|
end
|
16
16
|
|
17
17
|
def create_helpers
|
18
|
-
directory 'helpers',
|
18
|
+
directory 'helpers', 'app/assets/javascripts/helpers'
|
19
|
+
end
|
20
|
+
|
21
|
+
def create_initializers
|
22
|
+
directory 'initializers', 'app/assets/javascripts/initializers'
|
19
23
|
end
|
20
24
|
|
21
25
|
def add_setup
|
22
|
-
template 'setup.coffee',
|
26
|
+
template 'initializers/setup.coffee', 'app/assets/javascripts/initializers/setup.coffee'
|
23
27
|
end
|
24
28
|
|
25
29
|
def add_manifest
|
26
|
-
template 'manifest.coffee', "app/assets/javascripts
|
30
|
+
template 'initializers/manifest.coffee', "app/assets/javascripts/initializers/manifest.coffee"
|
27
31
|
end
|
28
32
|
end
|
29
33
|
end
|
data/lib/generators/transponder/install/templates/{manifest.coffee → initializers/manifest.coffee}
RENAMED
File without changes
|
data/lib/generators/transponder/install/templates/{setup.coffee → initializers/setup.coffee}
RENAMED
File without changes
|
data/lib/transponder/version.rb
CHANGED
@@ -57,7 +57,7 @@ GEM
|
|
57
57
|
sprockets (~> 2.1)
|
58
58
|
sprockets-helpers (~> 1.0.0)
|
59
59
|
sprockets-sass (~> 1.0.0)
|
60
|
-
multi_json (1.7.
|
60
|
+
multi_json (1.7.5)
|
61
61
|
padrino-core (0.10.7)
|
62
62
|
activesupport (~> 3.2.0)
|
63
63
|
http_router (~> 0.10.2)
|
@@ -78,7 +78,7 @@ GEM
|
|
78
78
|
rack (~> 1.4)
|
79
79
|
rack-protection (~> 1.3)
|
80
80
|
tilt (~> 1.3, >= 1.3.3)
|
81
|
-
sprockets (2.
|
81
|
+
sprockets (2.10.0)
|
82
82
|
hike (~> 1.2)
|
83
83
|
multi_json (~> 1.0)
|
84
84
|
rack (~> 1.0)
|
@@ -101,4 +101,5 @@ PLATFORMS
|
|
101
101
|
ruby
|
102
102
|
|
103
103
|
DEPENDENCIES
|
104
|
+
haml (= 4.0.2)
|
104
105
|
middleman (~> 3.0.14)
|
@@ -52,6 +52,7 @@ after_configuration do
|
|
52
52
|
sprockets.append_path "#{root}/../../../test/javascripts"
|
53
53
|
sprockets.append_path "#{root}/../support"
|
54
54
|
sprockets.append_path "#{root}/../../../examples"
|
55
|
+
sprockets.append_path "#{root}/../transponder/fixtures"
|
55
56
|
end
|
56
57
|
|
57
58
|
set :css_dir, 'stylesheets'
|
@@ -1,6 +1,7 @@
|
|
1
1
|
//= require jquery-2
|
2
2
|
//= require mocha
|
3
3
|
//= require chai
|
4
|
+
//= require chai-jquery
|
4
5
|
//= require sinon
|
5
6
|
//= require sinon-chai
|
6
7
|
//= require test_setup
|
@@ -8,6 +9,7 @@
|
|
8
9
|
//= require transponder
|
9
10
|
|
10
11
|
//= require transponder/presenter_test
|
11
|
-
//= require transponder/service_test
|
12
12
|
|
13
|
-
//= require transponder/presenters/examples_presenter_test
|
13
|
+
//= require transponder/presenters/examples_presenter_test
|
14
|
+
//= require transponder/services/calculate_test
|
15
|
+
|
@@ -0,0 +1,237 @@
|
|
1
|
+
(function (chaiJquery) {
|
2
|
+
// Module systems magic dance.
|
3
|
+
if (typeof require === "function" && typeof exports === "object" && typeof module === "object") {
|
4
|
+
// NodeJS
|
5
|
+
module.exports = chaiJquery;
|
6
|
+
} else if (typeof define === "function" && define.amd) {
|
7
|
+
// AMD
|
8
|
+
define(['jquery'], function ($) {
|
9
|
+
return function (chai, utils) {
|
10
|
+
return chaiJquery(chai, utils, $);
|
11
|
+
};
|
12
|
+
});
|
13
|
+
} else {
|
14
|
+
// Other environment (usually <script> tag): plug in to global chai instance directly.
|
15
|
+
chai.use(function (chai, utils) {
|
16
|
+
return chaiJquery(chai, utils, jQuery);
|
17
|
+
});
|
18
|
+
}
|
19
|
+
}(function (chai, utils, $) {
|
20
|
+
var inspect = utils.inspect,
|
21
|
+
flag = utils.flag;
|
22
|
+
$ = $ || jQuery;
|
23
|
+
|
24
|
+
$.fn.inspect = function (depth) {
|
25
|
+
var el = $('<div />').append(this.clone());
|
26
|
+
if (depth !== undefined) {
|
27
|
+
var children = el.children();
|
28
|
+
while (depth-- > 0)
|
29
|
+
children = children.children();
|
30
|
+
children.html('...');
|
31
|
+
}
|
32
|
+
return el.html();
|
33
|
+
};
|
34
|
+
|
35
|
+
var props = {attr: 'attribute', css: 'CSS property'};
|
36
|
+
for (var prop in props) {
|
37
|
+
(function (prop, description) {
|
38
|
+
chai.Assertion.addMethod(prop, function (name, val) {
|
39
|
+
var actual = flag(this, 'object')[prop](name);
|
40
|
+
|
41
|
+
if (!flag(this, 'negate') || undefined === val) {
|
42
|
+
this.assert(
|
43
|
+
undefined !== actual
|
44
|
+
, 'expected #{this} to have a #{exp} ' + description
|
45
|
+
, 'expected #{this} not to have a #{exp} ' + description
|
46
|
+
, name
|
47
|
+
);
|
48
|
+
}
|
49
|
+
|
50
|
+
if (undefined !== val) {
|
51
|
+
this.assert(
|
52
|
+
val === actual
|
53
|
+
, 'expected #{this} to have a ' + inspect(name) + ' ' + description + ' with the value #{exp}, but the value was #{act}'
|
54
|
+
, 'expected #{this} not to have a ' + inspect(name) + ' ' + description + ' with the value #{act}'
|
55
|
+
, val
|
56
|
+
, actual
|
57
|
+
);
|
58
|
+
}
|
59
|
+
|
60
|
+
flag(this, 'object', actual);
|
61
|
+
});
|
62
|
+
})(prop, props[prop]);
|
63
|
+
}
|
64
|
+
|
65
|
+
chai.Assertion.addMethod('data', function (name, val) {
|
66
|
+
// Work around a chai bug (https://github.com/logicalparadox/chai/issues/16)
|
67
|
+
if (flag(this, 'negate') && undefined !== val && undefined === flag(this, 'object').data(name)) {
|
68
|
+
return;
|
69
|
+
}
|
70
|
+
|
71
|
+
var assertion = new chai.Assertion(flag(this, 'object').data());
|
72
|
+
if (flag(this, 'negate'))
|
73
|
+
assertion = assertion.not;
|
74
|
+
return assertion.property(name, val);
|
75
|
+
});
|
76
|
+
|
77
|
+
chai.Assertion.addMethod('class', function (className) {
|
78
|
+
this.assert(
|
79
|
+
flag(this, 'object').hasClass(className)
|
80
|
+
, 'expected #{this} to have class #{exp}'
|
81
|
+
, 'expected #{this} not to have class #{exp}'
|
82
|
+
, className
|
83
|
+
);
|
84
|
+
});
|
85
|
+
|
86
|
+
chai.Assertion.addMethod('id', function (id) {
|
87
|
+
this.assert(
|
88
|
+
flag(this, 'object').attr('id') === id
|
89
|
+
, 'expected #{this} to have id #{exp}'
|
90
|
+
, 'expected #{this} not to have id #{exp}'
|
91
|
+
, id
|
92
|
+
);
|
93
|
+
});
|
94
|
+
|
95
|
+
chai.Assertion.addMethod('html', function (html) {
|
96
|
+
this.assert(
|
97
|
+
flag(this, 'object').html() === html
|
98
|
+
, 'expected #{this} to have HTML #{exp}'
|
99
|
+
, 'expected #{this} not to have HTML #{exp}'
|
100
|
+
, html
|
101
|
+
);
|
102
|
+
});
|
103
|
+
|
104
|
+
chai.Assertion.addMethod('text', function (text) {
|
105
|
+
this.assert(
|
106
|
+
flag(this, 'object').text() === text
|
107
|
+
, 'expected #{this} to have text #{exp}'
|
108
|
+
, 'expected #{this} not to have text #{exp}'
|
109
|
+
, text
|
110
|
+
);
|
111
|
+
});
|
112
|
+
|
113
|
+
chai.Assertion.addMethod('value', function (value) {
|
114
|
+
this.assert(
|
115
|
+
flag(this, 'object').val() === value
|
116
|
+
, 'expected #{this} to have value #{exp}'
|
117
|
+
, 'expected #{this} not to have value #{exp}'
|
118
|
+
, value
|
119
|
+
);
|
120
|
+
});
|
121
|
+
|
122
|
+
$.each(['visible', 'hidden', 'selected', 'checked', 'disabled'], function (i, attr) {
|
123
|
+
chai.Assertion.addProperty(attr, function () {
|
124
|
+
this.assert(
|
125
|
+
flag(this, 'object').is(':' + attr)
|
126
|
+
, 'expected #{this} to be ' + attr
|
127
|
+
, 'expected #{this} not to be ' + attr);
|
128
|
+
});
|
129
|
+
});
|
130
|
+
|
131
|
+
chai.Assertion.overwriteProperty('exist', function (_super) {
|
132
|
+
return function () {
|
133
|
+
var obj = flag(this, 'object');
|
134
|
+
if (obj instanceof $) {
|
135
|
+
this.assert(
|
136
|
+
obj.length > 0
|
137
|
+
, 'expected ' + inspect(obj.selector) + ' to exist'
|
138
|
+
, 'expected ' + inspect(obj.selector) + ' not to exist');
|
139
|
+
} else {
|
140
|
+
_super.apply(this, arguments);
|
141
|
+
}
|
142
|
+
};
|
143
|
+
});
|
144
|
+
|
145
|
+
chai.Assertion.overwriteProperty('empty', function (_super) {
|
146
|
+
return function () {
|
147
|
+
var obj = flag(this, 'object');
|
148
|
+
if (obj instanceof $) {
|
149
|
+
this.assert(
|
150
|
+
obj.is(':empty')
|
151
|
+
, 'expected #{this} to be empty'
|
152
|
+
, 'expected #{this} not to be empty');
|
153
|
+
} else {
|
154
|
+
_super.apply(this, arguments);
|
155
|
+
}
|
156
|
+
};
|
157
|
+
});
|
158
|
+
|
159
|
+
chai.Assertion.overwriteProperty('be', function (_super) {
|
160
|
+
return function () {
|
161
|
+
var be = function (selector) {
|
162
|
+
var obj = flag(this, 'object');
|
163
|
+
if (obj instanceof $) {
|
164
|
+
this.assert(
|
165
|
+
obj.is(selector)
|
166
|
+
, 'expected #{this} to be #{exp}'
|
167
|
+
, 'expected #{this} not to be #{exp}'
|
168
|
+
, selector
|
169
|
+
);
|
170
|
+
} else {
|
171
|
+
_super.apply(this, arguments);
|
172
|
+
}
|
173
|
+
};
|
174
|
+
be.__proto__ = this;
|
175
|
+
return be;
|
176
|
+
}
|
177
|
+
});
|
178
|
+
|
179
|
+
chai.Assertion.overwriteMethod('match', function (_super) {
|
180
|
+
return function (selector) {
|
181
|
+
var obj = flag(this, 'object');
|
182
|
+
if (obj instanceof $) {
|
183
|
+
this.assert(
|
184
|
+
obj.is(selector)
|
185
|
+
, 'expected #{this} to match #{exp}'
|
186
|
+
, 'expected #{this} not to match #{exp}'
|
187
|
+
, selector
|
188
|
+
);
|
189
|
+
} else {
|
190
|
+
_super.apply(this, arguments);
|
191
|
+
}
|
192
|
+
}
|
193
|
+
});
|
194
|
+
|
195
|
+
chai.Assertion.overwriteProperty('contain', function (_super) {
|
196
|
+
return function () {
|
197
|
+
_super.call(this);
|
198
|
+
var contain = function (text) {
|
199
|
+
var obj = flag(this, 'object');
|
200
|
+
if (obj instanceof $) {
|
201
|
+
this.assert(
|
202
|
+
obj.is(':contains(\'' + text + '\')')
|
203
|
+
, 'expected #{this} to contain #{exp}'
|
204
|
+
, 'expected #{this} not to contain #{exp}'
|
205
|
+
, text
|
206
|
+
);
|
207
|
+
} else {
|
208
|
+
Function.prototype.apply.call(_super.call(this), this, arguments);
|
209
|
+
}
|
210
|
+
};
|
211
|
+
contain.__proto__ = this;
|
212
|
+
return contain;
|
213
|
+
}
|
214
|
+
});
|
215
|
+
|
216
|
+
chai.Assertion.overwriteProperty('have', function (_super) {
|
217
|
+
return function () {
|
218
|
+
var obj = flag(this, 'object');
|
219
|
+
if (obj instanceof $) {
|
220
|
+
var have = function (selector) {
|
221
|
+
this.assert(
|
222
|
+
// Using find() rather than has() to work around a jQuery bug:
|
223
|
+
// http://bugs.jquery.com/ticket/11706
|
224
|
+
obj.find(selector).length > 0
|
225
|
+
, 'expected #{this} to have #{exp}'
|
226
|
+
, 'expected #{this} not to have #{exp}'
|
227
|
+
, selector
|
228
|
+
);
|
229
|
+
};
|
230
|
+
have.__proto__ = this;
|
231
|
+
return have;
|
232
|
+
} else {
|
233
|
+
_super.call(this);
|
234
|
+
}
|
235
|
+
}
|
236
|
+
});
|
237
|
+
}));
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#= require services/calculate
|
2
|
+
|
3
|
+
describe "Calculate", ->
|
4
|
+
before ->
|
5
|
+
@service = new Calculate()
|
6
|
+
|
7
|
+
it "should have serviceName 'ex:services:calculate'", ->
|
8
|
+
expect(@service.serviceName).to.equal('ex:services:calculate')
|
9
|
+
|
10
|
+
describe "#calculate", ->
|
11
|
+
before ->
|
12
|
+
@service.calculate()
|
13
|
+
|
14
|
+
it "should calculate result", ->
|
15
|
+
expect(@service.result).to.equal(400)
|
16
|
+
|
17
|
+
describe "#serve", ->
|
18
|
+
before ->
|
19
|
+
$('#fixtures').html("<div class='calculate'><span class='result'></span></div>")
|
20
|
+
$('#fixtures').trigger('ex:services:calculate')
|
21
|
+
after ->
|
22
|
+
$('#fixtures').empty()
|
23
|
+
|
24
|
+
it "should calculate the result", ->
|
25
|
+
expect($('.calculate')).to.have.class('calculate_active')
|
26
|
+
|
27
|
+
it "should render the result to the span.result", ->
|
28
|
+
expect($('span.result').text()).to.equal('400')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transponder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zack Siri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.2'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '3.2'
|
41
27
|
description: A Cleaner way of working with rails frontend code
|
42
28
|
email:
|
43
29
|
- zack@artellectual.com
|
@@ -53,15 +39,14 @@ files:
|
|
53
39
|
- lib/assets/javascripts/transponder/setup.coffee
|
54
40
|
- lib/assets/javascripts/transponder.coffee
|
55
41
|
- lib/generators/transponder/install/install_generator.rb
|
56
|
-
- lib/generators/transponder/install/templates/manifest.coffee
|
57
|
-
- lib/generators/transponder/install/templates/setup.coffee
|
42
|
+
- lib/generators/transponder/install/templates/initializers/manifest.coffee
|
43
|
+
- lib/generators/transponder/install/templates/initializers/setup.coffee
|
58
44
|
- lib/generators/transponder/install/USAGE
|
59
45
|
- lib/generators/transponder/resource_helpers.rb
|
60
46
|
- lib/generators/transponder.rb
|
61
47
|
- lib/transponder/version.rb
|
62
48
|
- lib/transponder.rb
|
63
49
|
- Gemfile
|
64
|
-
- Gemfile.lock
|
65
50
|
- LICENSE.txt
|
66
51
|
- Rakefile
|
67
52
|
- README.md
|
@@ -70,11 +55,13 @@ files:
|
|
70
55
|
- test/javascripts/runner/Gemfile.lock
|
71
56
|
- test/javascripts/runner/package.json
|
72
57
|
- test/javascripts/runner/README.md
|
58
|
+
- test/javascripts/runner/source/fixtures/calculate.html.erb
|
73
59
|
- test/javascripts/runner/source/index.html.erb
|
74
60
|
- test/javascripts/runner/source/javascripts/all.js
|
75
61
|
- test/javascripts/runner/source/javascripts/test_runner.js
|
76
62
|
- test/javascripts/runner/source/layouts/layout.erb
|
77
63
|
- test/javascripts/runner/source/stylesheets/mocha.css
|
64
|
+
- test/javascripts/support/chai-jquery.js
|
78
65
|
- test/javascripts/support/chai.js
|
79
66
|
- test/javascripts/support/jquery-2.js
|
80
67
|
- test/javascripts/support/mocha.js
|
@@ -83,7 +70,7 @@ files:
|
|
83
70
|
- test/javascripts/support/test_setup.js
|
84
71
|
- test/javascripts/transponder/presenter_test.coffee
|
85
72
|
- test/javascripts/transponder/presenters/examples_presenter_test.coffee
|
86
|
-
- test/javascripts/transponder/
|
73
|
+
- test/javascripts/transponder/services/calculate_test.coffee
|
87
74
|
homepage: http://github.com/zacksiri/transponder
|
88
75
|
licenses: []
|
89
76
|
metadata: {}
|
@@ -103,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
90
|
version: '0'
|
104
91
|
requirements: []
|
105
92
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.0.
|
93
|
+
rubygems_version: 2.0.3
|
107
94
|
signing_key:
|
108
95
|
specification_version: 4
|
109
96
|
summary: This library gives you more control over rails ujs, it compliments turbolinks,
|
@@ -115,11 +102,13 @@ test_files:
|
|
115
102
|
- test/javascripts/runner/Gemfile.lock
|
116
103
|
- test/javascripts/runner/package.json
|
117
104
|
- test/javascripts/runner/README.md
|
105
|
+
- test/javascripts/runner/source/fixtures/calculate.html.erb
|
118
106
|
- test/javascripts/runner/source/index.html.erb
|
119
107
|
- test/javascripts/runner/source/javascripts/all.js
|
120
108
|
- test/javascripts/runner/source/javascripts/test_runner.js
|
121
109
|
- test/javascripts/runner/source/layouts/layout.erb
|
122
110
|
- test/javascripts/runner/source/stylesheets/mocha.css
|
111
|
+
- test/javascripts/support/chai-jquery.js
|
123
112
|
- test/javascripts/support/chai.js
|
124
113
|
- test/javascripts/support/jquery-2.js
|
125
114
|
- test/javascripts/support/mocha.js
|
@@ -128,4 +117,4 @@ test_files:
|
|
128
117
|
- test/javascripts/support/test_setup.js
|
129
118
|
- test/javascripts/transponder/presenter_test.coffee
|
130
119
|
- test/javascripts/transponder/presenters/examples_presenter_test.coffee
|
131
|
-
- test/javascripts/transponder/
|
120
|
+
- test/javascripts/transponder/services/calculate_test.coffee
|
data/Gemfile.lock
DELETED
@@ -1,145 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
transponder (0.0.5)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
actionpack (3.2.12)
|
10
|
-
activemodel (= 3.2.12)
|
11
|
-
activesupport (= 3.2.12)
|
12
|
-
builder (~> 3.0.0)
|
13
|
-
erubis (~> 2.7.0)
|
14
|
-
journey (~> 1.0.4)
|
15
|
-
rack (~> 1.4.5)
|
16
|
-
rack-cache (~> 1.2)
|
17
|
-
rack-test (~> 0.6.1)
|
18
|
-
sprockets (~> 2.2.1)
|
19
|
-
activemodel (3.2.12)
|
20
|
-
activesupport (= 3.2.12)
|
21
|
-
builder (~> 3.0.0)
|
22
|
-
activesupport (3.2.12)
|
23
|
-
i18n (~> 0.6)
|
24
|
-
multi_json (~> 1.0)
|
25
|
-
builder (3.0.4)
|
26
|
-
chunky_png (1.2.8)
|
27
|
-
coffee-rails (3.2.2)
|
28
|
-
coffee-script (>= 2.2.0)
|
29
|
-
railties (~> 3.2.0)
|
30
|
-
coffee-script (2.2.0)
|
31
|
-
coffee-script-source
|
32
|
-
execjs
|
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)
|
38
|
-
erubis (2.7.0)
|
39
|
-
execjs (1.4.0)
|
40
|
-
multi_json (~> 1.0)
|
41
|
-
fssm (0.2.10)
|
42
|
-
haml (4.0.2)
|
43
|
-
tilt
|
44
|
-
hike (1.2.2)
|
45
|
-
http_router (0.10.2)
|
46
|
-
rack (>= 1.0.0)
|
47
|
-
url_mount (~> 0.2.1)
|
48
|
-
i18n (0.6.1)
|
49
|
-
journey (1.0.4)
|
50
|
-
json (1.8.0)
|
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)
|
85
|
-
multi_json (1.7.3)
|
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)
|
95
|
-
rack (1.4.5)
|
96
|
-
rack-cache (1.2)
|
97
|
-
rack (>= 0.4)
|
98
|
-
rack-protection (1.5.0)
|
99
|
-
rack
|
100
|
-
rack-ssl (1.3.3)
|
101
|
-
rack
|
102
|
-
rack-test (0.6.2)
|
103
|
-
rack (>= 1.0)
|
104
|
-
railties (3.2.12)
|
105
|
-
actionpack (= 3.2.12)
|
106
|
-
activesupport (= 3.2.12)
|
107
|
-
rack-ssl (~> 1.3.2)
|
108
|
-
rake (>= 0.8.7)
|
109
|
-
rdoc (~> 3.4)
|
110
|
-
thor (>= 0.14.6, < 2.0)
|
111
|
-
rake (10.0.4)
|
112
|
-
rb-fsevent (0.9.3)
|
113
|
-
rdoc (3.12.2)
|
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)
|
120
|
-
sprockets (2.2.2)
|
121
|
-
hike (~> 1.2)
|
122
|
-
multi_json (~> 1.0)
|
123
|
-
rack (~> 1.0)
|
124
|
-
tilt (~> 1.1, != 1.3.0)
|
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
|
138
|
-
|
139
|
-
PLATFORMS
|
140
|
-
ruby
|
141
|
-
|
142
|
-
DEPENDENCIES
|
143
|
-
coffee-rails
|
144
|
-
middleman (~> 3.0.14)
|
145
|
-
transponder!
|