gusto 1.0.0.beta16 → 1.0.0.beta17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54c35d8ce34b62e62deaf3eefe54c240d29e3af6
4
- data.tar.gz: 19e86b796fe7b07039aa2e96bcfca819833edd1e
3
+ metadata.gz: 52e514573a2f2c0533443bce6a5b67bcebc2bfe3
4
+ data.tar.gz: e79092342df01f0d0a7bd2600d6286c2c15621b2
5
5
  SHA512:
6
- metadata.gz: 118e514a59ee364b213c4169482a5cb856215fa593d63650f7f1a7919fde9622e2537c471909da6b2077541966781b40c478a39fb9aefd3f2be1aac7f74abd91
7
- data.tar.gz: a3c22bdb20ca4b5519a55ab6c608ac1060d2d6d012cac4be863a446418e14822cef47db15f83a8b58aea82bd808da586c2ff575535556284188acaa5c5794d7b
6
+ metadata.gz: 35ea1772aad47e44f7a925ccaaab601274b9a2dfd9f00bade0f27c30358c4c301b122792e98a1b768608d50d22ba9b38fceb892c706adffaa7ffb80c5eae7e28
7
+ data.tar.gz: 6d85d62d5e4dd3f2d80cd88ae8d06996ba27277c479bda18b4bb450fe67ffa140131f81e0223c6f653d98f76eec89b88934732101e6d1207856e39854540e8a6
@@ -41,6 +41,10 @@ module Gusto
41
41
  @data['spec_paths']
42
42
  end
43
43
 
44
+ def cache_path
45
+ @data['cache_path']
46
+ end
47
+
44
48
  def sprockets_extensions
45
49
  @data['sprockets_extensions']
46
50
  end
@@ -12,15 +12,18 @@ module Gusto
12
12
  private
13
13
 
14
14
  def configure_environment(environment)
15
+ FileUtils.mkdir_p(Configuration.cache_path) unless File.exist?(Configuration.cache_path)
16
+ environment.cache = ::Sprockets::Cache::FileStore.new(Configuration.cache_path)
17
+ environment.logger = Gusto.logger
15
18
  environment.append_path File.join(Gusto.root, 'lib')
16
19
  environment.append_path File.join(Gusto.root, 'assets')
17
- puts "Using assets in #{all_paths.inspect}"
20
+ Gusto.logger.debug { "Using assets in #{all_paths.inspect}" }
18
21
  all_paths.each{ |path| environment.append_path(path) }
19
22
  end
20
23
 
21
24
  def load_sprockets_extensions(environment)
22
25
  if Configuration.sprockets_extensions
23
- puts "Loading sprockets extensions from #{Configuration.sprockets_extensions}"
26
+ Gusto.logger.debug { "Loading sprockets extensions from #{Configuration.sprockets_extensions}" }
24
27
  extensions = File.read(Configuration.sprockets_extensions)
25
28
  environment.instance_eval extensions
26
29
  end
@@ -1,3 +1,3 @@
1
1
  module Gusto
2
- VERSION = "1.0.0.beta16"
2
+ VERSION = "1.0.0.beta17"
3
3
  end
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gusto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta16
4
+ version: 1.0.0.beta17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Cohen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
11
+ date: 2014-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-script
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sprockets
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sprockets-helpers
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sinatra
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sass
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: slim
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: listen
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: fosl
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - '>='
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  description: Gusto is Coffeescript behavioral testing framework, with a command line
@@ -149,13 +149,20 @@ files:
149
149
  - assets/spec.css.sass
150
150
  - assets/test_results.sass
151
151
  - bin/gusto
152
+ - lib/gusto/cli_renderer.rb
153
+ - lib/gusto/configuration.rb
154
+ - lib/gusto/runner.rb
155
+ - lib/gusto/server.rb
156
+ - lib/gusto/server_spawner.rb
157
+ - lib/gusto/sprockets.rb
158
+ - lib/gusto/version.rb
159
+ - lib/gusto.rb
152
160
  - lib/HtmlReport.coffee
153
- - lib/Spec.coffee
154
- - lib/Spec/DSL.coffee
155
161
  - lib/Spec/DelayedExpectation.coffee
162
+ - lib/Spec/DSL.coffee
156
163
  - lib/Spec/Matchers.coffee
157
- - lib/Spec/MethodStub.coffee
158
164
  - lib/Spec/MethodStub/PossibleCall.coffee
165
+ - lib/Spec/MethodStub.coffee
159
166
  - lib/Spec/Mock.coffee
160
167
  - lib/Spec/ObjectDSL.coffee
161
168
  - lib/Spec/Report.coffee
@@ -163,14 +170,7 @@ files:
163
170
  - lib/Spec/Suite.coffee
164
171
  - lib/Spec/Test.coffee
165
172
  - lib/Spec/Util.coffee
166
- - lib/gusto.rb
167
- - lib/gusto/cli_renderer.rb
168
- - lib/gusto/configuration.rb
169
- - lib/gusto/runner.rb
170
- - lib/gusto/server.rb
171
- - lib/gusto/server_spawner.rb
172
- - lib/gusto/sprockets.rb
173
- - lib/gusto/version.rb
173
+ - lib/Spec.coffee
174
174
  - phantom/headless_runner.js
175
175
  - public/ie.js
176
176
  - public/jquery-1.10.2.js
@@ -187,17 +187,17 @@ require_paths:
187
187
  - lib
188
188
  required_ruby_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - ">="
190
+ - - '>='
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - ">"
195
+ - - '>'
196
196
  - !ruby/object:Gem::Version
197
197
  version: 1.3.1
198
198
  requirements: []
199
199
  rubyforge_project:
200
- rubygems_version: 2.2.2
200
+ rubygems_version: 2.0.14
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: Coffeescript testing framework