hyper-spec 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5dff8e22965b2eef2cfb535372e0b97b254d6702
4
+ data.tar.gz: 2b526b9b3c5d733b41402f91b7e77d43af9563b9
5
+ SHA512:
6
+ metadata.gz: 9e129992df21aa2acd291f13b039abbda6bf0781240704eca270aec710780d6c7bfbf960aa00e931e565cd6f1e26170092b918e33c115e112aa1213ed56810d8
7
+ data.tar.gz: 799728c7cdc07def807d85c495fad8d809f51f45cb117b282a0db8c22db1d042a99f8585cf411327c5a9ad6389b60443db609cbb6700dd941468abd1b8374a44
@@ -0,0 +1,49 @@
1
+ *.rbc
2
+ capybara-*.html
3
+ .rspec
4
+ /log
5
+ /tmp
6
+ /db/*.sqlite3
7
+ /db/*.sqlite3-journal
8
+ /public/system
9
+ /coverage/
10
+ /spec/tmp
11
+ **.orig
12
+ rerun.txt
13
+ pickle-email-*.html
14
+
15
+ # TODO Comment out these rules if you are OK with secrets being uploaded to the repo
16
+ config/initializers/secret_token.rb
17
+ config/secrets.yml
18
+
19
+ # dotenv
20
+ # TODO Comment out this rule if environment variables can be committed
21
+ .env
22
+
23
+ ## Environment normalization:
24
+ /.bundle
25
+ /vendor/bundle
26
+
27
+ # these should all be checked in to normalize the environment:
28
+ # Gemfile.lock, .ruby-version, .ruby-gemset
29
+
30
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
31
+ .rvmrc
32
+
33
+ # if using bower-rails ignore default bower_components path bower.json files
34
+ /vendor/assets/bower_components
35
+ *.bowerrc
36
+ bower.json
37
+
38
+ # Ignore pow environment settings
39
+ .powenv
40
+
41
+ # Ignore Byebug command history file.
42
+ .byebug_history
43
+
44
+ # Ignore test app files
45
+ /spec/test_app/log/
46
+ /spec/test_app/tmp/
47
+
48
+ # Ignore built gem
49
+ *.gem
@@ -0,0 +1,107 @@
1
+ Style/BlockDelimiters:
2
+ EnforcedStyle: line_count_based
3
+ SupportedStyles:
4
+ # The `line_count_based` style enforces braces around single line blocks and
5
+ # do..end around multi-line blocks.
6
+ - line_count_based
7
+ # The `semantic` style enforces braces around functional blocks, where the
8
+ # primary purpose of the block is to return a value and do..end for
9
+ # procedural blocks, where the primary purpose of the block is its
10
+ # side-effects.
11
+ #
12
+ # This looks at the usage of a block's method to determine its type (e.g. is
13
+ # the result of a `map` assigned to a variable or passed to another
14
+ # method) but exceptions are permitted in the `ProceduralMethods`,
15
+ # `FunctionalMethods` and `IgnoredMethods` sections below.
16
+ - semantic
17
+ # The `braces_for_chaining` style enforces braces around single line blocks
18
+ # and do..end around multi-line blocks, except for multi-line blocks whose
19
+ # return value is being chained with another method (in which case braces
20
+ # are enforced).
21
+ - braces_for_chaining
22
+ ProceduralMethods:
23
+ # Methods that are known to be procedural in nature but look functional from
24
+ # their usage, e.g.
25
+ #
26
+ # time = Benchmark.realtime do
27
+ # foo.bar
28
+ # end
29
+ #
30
+ # Here, the return value of the block is discarded but the return value of
31
+ # `Benchmark.realtime` is used.
32
+ - benchmark
33
+ - bm
34
+ - bmbm
35
+ - create
36
+ - each_with_object
37
+ - measure
38
+ - new
39
+ - realtime
40
+ - tap
41
+ - with_object
42
+ FunctionalMethods:
43
+ # Methods that are known to be functional in nature but look procedural from
44
+ # their usage, e.g.
45
+ #
46
+ # let(:foo) { Foo.new }
47
+ #
48
+ # Here, the return value of `Foo.new` is used to define a `foo` helper but
49
+ # doesn't appear to be used from the return value of `let`.
50
+ - let
51
+ - let!
52
+ - subject
53
+ - watch
54
+ IgnoredMethods:
55
+ # Methods that can be either procedural or functional and cannot be
56
+ # categorised from their usage alone, e.g.
57
+ #
58
+ # foo = lambda do |x|
59
+ # puts "Hello, #{x}"
60
+ # end
61
+ #
62
+ # foo = lambda do |x|
63
+ # x * 100
64
+ # end
65
+ #
66
+ # Here, it is impossible to tell from the return value of `lambda` whether
67
+ # the inner block's return value is significant.
68
+ - lambda
69
+ - proc
70
+ - it
71
+
72
+ Style/Documentation:
73
+ Description: 'Document classes and non-namespace modules.'
74
+ Enabled: false
75
+ Exclude:
76
+ - 'spec/**/*'
77
+ - 'test/**/*'
78
+
79
+ # Multi-line method chaining should be done with trailing dots.
80
+ Style/DotPosition:
81
+ EnforcedStyle: leading
82
+ SupportedStyles:
83
+ - leading
84
+ - trailing
85
+
86
+ Style/FrozenStringLiteralComment:
87
+ Description: >-
88
+ Add the frozen_string_literal comment to the top of files
89
+ to help transition from Ruby 2.3.0 to Ruby 3.0.
90
+ Enabled: false
91
+
92
+ Style/MultilineBlockChain:
93
+ Description: 'Avoid multi-line chains of blocks.'
94
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
95
+ Enabled: false
96
+
97
+ Style/MutableConstant:
98
+ Description: 'Do not assign mutable objects to constants.'
99
+ Enabled: false
100
+
101
+ Metrics/AbcSize:
102
+ # The ABC size is a calculated magnitude, so this number can be a Fixnum or
103
+ # a Float.
104
+ Max: 20
105
+
106
+ Metrics/LineLength:
107
+ Max: 100
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at mitch@catprint.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in hyper-spec.gemspec
4
+ gemspec
@@ -0,0 +1,311 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ hyper-spec (0.1.0)
5
+ capybara
6
+ opal
7
+ parser
8
+ poltergeist
9
+ pry
10
+ rspec-rails
11
+ selenium-webdriver (= 2.53.4)
12
+ timecop
13
+ unparser (= 0.2.5)
14
+
15
+ GEM
16
+ remote: https://rubygems.org/
17
+ specs:
18
+ abstract_type (0.0.7)
19
+ actioncable (5.0.1)
20
+ actionpack (= 5.0.1)
21
+ nio4r (~> 1.2)
22
+ websocket-driver (~> 0.6.1)
23
+ actionmailer (5.0.1)
24
+ actionpack (= 5.0.1)
25
+ actionview (= 5.0.1)
26
+ activejob (= 5.0.1)
27
+ mail (~> 2.5, >= 2.5.4)
28
+ rails-dom-testing (~> 2.0)
29
+ actionpack (5.0.1)
30
+ actionview (= 5.0.1)
31
+ activesupport (= 5.0.1)
32
+ rack (~> 2.0)
33
+ rack-test (~> 0.6.3)
34
+ rails-dom-testing (~> 2.0)
35
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
36
+ actionview (5.0.1)
37
+ activesupport (= 5.0.1)
38
+ builder (~> 3.1)
39
+ erubis (~> 2.7.0)
40
+ rails-dom-testing (~> 2.0)
41
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
42
+ activejob (5.0.1)
43
+ activesupport (= 5.0.1)
44
+ globalid (>= 0.3.6)
45
+ activemodel (5.0.1)
46
+ activesupport (= 5.0.1)
47
+ activerecord (5.0.1)
48
+ activemodel (= 5.0.1)
49
+ activesupport (= 5.0.1)
50
+ arel (~> 7.0)
51
+ activesupport (5.0.1)
52
+ concurrent-ruby (~> 1.0, >= 1.0.2)
53
+ i18n (~> 0.7)
54
+ minitest (~> 5.1)
55
+ tzinfo (~> 1.1)
56
+ adamantium (0.2.0)
57
+ ice_nine (~> 0.11.0)
58
+ memoizable (~> 0.4.0)
59
+ addressable (2.5.0)
60
+ public_suffix (~> 2.0, >= 2.0.2)
61
+ archive-zip (0.7.0)
62
+ io-like (~> 0.3.0)
63
+ arel (7.1.4)
64
+ ast (2.3.0)
65
+ babel-source (5.8.35)
66
+ babel-transpiler (0.7.0)
67
+ babel-source (>= 4.0, < 6)
68
+ execjs (~> 2.0)
69
+ builder (3.2.3)
70
+ capybara (2.12.0)
71
+ addressable
72
+ mime-types (>= 1.16)
73
+ nokogiri (>= 1.3.3)
74
+ rack (>= 1.0.0)
75
+ rack-test (>= 0.5.4)
76
+ xpath (~> 2.0)
77
+ childprocess (0.6.1)
78
+ ffi (~> 1.0, >= 1.0.11)
79
+ chromedriver-helper (1.0.0)
80
+ archive-zip (~> 0.7.0)
81
+ nokogiri (~> 1.6)
82
+ cliver (0.3.2)
83
+ coderay (1.1.1)
84
+ coffee-script-source (1.12.2)
85
+ concord (0.1.5)
86
+ adamantium (~> 0.2.0)
87
+ equalizer (~> 0.0.9)
88
+ concurrent-ruby (1.0.4)
89
+ connection_pool (2.2.1)
90
+ diff-lcs (1.2.5)
91
+ equalizer (0.0.11)
92
+ erubis (2.7.0)
93
+ execjs (2.7.0)
94
+ ffi (1.9.17)
95
+ globalid (0.3.7)
96
+ activesupport (>= 4.1.0)
97
+ hike (1.2.3)
98
+ hyper-react (0.11.0)
99
+ opal (>= 0.8.0)
100
+ opal-activesupport (>= 0.2.0)
101
+ react-rails
102
+ i18n (0.8.0)
103
+ ice_nine (0.11.2)
104
+ io-like (0.3.0)
105
+ jquery-rails (4.2.2)
106
+ rails-dom-testing (>= 1, < 3)
107
+ railties (>= 4.2.0)
108
+ thor (>= 0.14, < 2.0)
109
+ libv8 (3.16.14.17)
110
+ loofah (2.0.3)
111
+ nokogiri (>= 1.5.9)
112
+ mail (2.6.4)
113
+ mime-types (>= 1.16, < 4)
114
+ memoizable (0.4.2)
115
+ thread_safe (~> 0.3, >= 0.3.1)
116
+ method_source (0.8.2)
117
+ mime-types (3.1)
118
+ mime-types-data (~> 3.2015)
119
+ mime-types-data (3.2016.0521)
120
+ mini_portile2 (2.1.0)
121
+ minitest (5.10.1)
122
+ nio4r (1.2.1)
123
+ nokogiri (1.7.0.1)
124
+ mini_portile2 (~> 2.1.0)
125
+ opal (0.10.3)
126
+ hike (~> 1.2)
127
+ sourcemap (~> 0.1.0)
128
+ sprockets (~> 3.1)
129
+ tilt (>= 1.4)
130
+ opal-activesupport (0.3.0)
131
+ opal (>= 0.5.0, < 1.0.0)
132
+ opal-browser (0.2.0)
133
+ opal
134
+ paggio
135
+ opal-jquery (0.4.2)
136
+ opal (>= 0.7.0, < 0.11.0)
137
+ opal-rails (0.9.1)
138
+ jquery-rails
139
+ opal (>= 0.8.0, < 0.11)
140
+ opal-activesupport (>= 0.0.5)
141
+ opal-jquery (~> 0.4.0)
142
+ opal-sprockets (~> 0.4.0)
143
+ rails (>= 4.0, < 6.0)
144
+ sprockets-rails (< 3.0)
145
+ opal-sprockets (0.4.0.0.10.0.3.0.0)
146
+ opal (~> 0.10.0)
147
+ sprockets (~> 3.0)
148
+ tilt (>= 1.4)
149
+ paggio (0.2.6)
150
+ parser (2.3.3.1)
151
+ ast (~> 2.2)
152
+ poltergeist (1.13.0)
153
+ capybara (~> 2.1)
154
+ cliver (~> 0.3.1)
155
+ websocket-driver (>= 0.2.0)
156
+ powerpack (0.1.1)
157
+ procto (0.0.3)
158
+ pry (0.10.4)
159
+ coderay (~> 1.1.0)
160
+ method_source (~> 0.8.1)
161
+ slop (~> 3.4)
162
+ public_suffix (2.0.5)
163
+ puma (3.7.0)
164
+ rack (2.0.1)
165
+ rack-test (0.6.3)
166
+ rack (>= 1.0)
167
+ rails (5.0.1)
168
+ actioncable (= 5.0.1)
169
+ actionmailer (= 5.0.1)
170
+ actionpack (= 5.0.1)
171
+ actionview (= 5.0.1)
172
+ activejob (= 5.0.1)
173
+ activemodel (= 5.0.1)
174
+ activerecord (= 5.0.1)
175
+ activesupport (= 5.0.1)
176
+ bundler (>= 1.3.0, < 2.0)
177
+ railties (= 5.0.1)
178
+ sprockets-rails (>= 2.0.0)
179
+ rails-dom-testing (2.0.2)
180
+ activesupport (>= 4.2.0, < 6.0)
181
+ nokogiri (~> 1.6)
182
+ rails-html-sanitizer (1.0.3)
183
+ loofah (~> 2.0)
184
+ railties (5.0.1)
185
+ actionpack (= 5.0.1)
186
+ activesupport (= 5.0.1)
187
+ method_source
188
+ rake (>= 0.8.7)
189
+ thor (>= 0.18.1, < 2.0)
190
+ rainbow (2.2.1)
191
+ rake (10.5.0)
192
+ react-rails (1.4.2)
193
+ babel-transpiler (>= 0.7.0)
194
+ coffee-script-source (~> 1.8)
195
+ connection_pool
196
+ execjs
197
+ rails (>= 3.2)
198
+ tilt
199
+ ref (2.0.0)
200
+ rspec (3.5.0)
201
+ rspec-core (~> 3.5.0)
202
+ rspec-expectations (~> 3.5.0)
203
+ rspec-mocks (~> 3.5.0)
204
+ rspec-collection_matchers (1.1.3)
205
+ rspec-expectations (>= 2.99.0.beta1)
206
+ rspec-core (3.5.4)
207
+ rspec-support (~> 3.5.0)
208
+ rspec-expectations (3.5.0)
209
+ diff-lcs (>= 1.2.0, < 2.0)
210
+ rspec-support (~> 3.5.0)
211
+ rspec-its (1.2.0)
212
+ rspec-core (>= 3.0.0)
213
+ rspec-expectations (>= 3.0.0)
214
+ rspec-mocks (3.5.0)
215
+ diff-lcs (>= 1.2.0, < 2.0)
216
+ rspec-support (~> 3.5.0)
217
+ rspec-rails (3.5.2)
218
+ actionpack (>= 3.0)
219
+ activesupport (>= 3.0)
220
+ railties (>= 3.0)
221
+ rspec-core (~> 3.5.0)
222
+ rspec-expectations (~> 3.5.0)
223
+ rspec-mocks (~> 3.5.0)
224
+ rspec-support (~> 3.5.0)
225
+ rspec-steps (2.1.1)
226
+ rspec (>= 3.0, < 3.99)
227
+ rspec-support (3.5.0)
228
+ rubocop (0.47.1)
229
+ parser (>= 2.3.3.1, < 3.0)
230
+ powerpack (~> 0.1)
231
+ rainbow (>= 1.99.1, < 3.0)
232
+ ruby-progressbar (~> 1.7)
233
+ unicode-display_width (~> 1.0, >= 1.0.1)
234
+ ruby-progressbar (1.8.1)
235
+ rubyzip (1.2.0)
236
+ selenium-webdriver (2.53.4)
237
+ childprocess (~> 0.5)
238
+ rubyzip (~> 1.0)
239
+ websocket (~> 1.0)
240
+ shoulda (3.5.0)
241
+ shoulda-context (~> 1.0, >= 1.0.1)
242
+ shoulda-matchers (>= 1.4.1, < 3.0)
243
+ shoulda-context (1.2.2)
244
+ shoulda-matchers (2.8.0)
245
+ activesupport (>= 3.0.0)
246
+ slop (3.6.0)
247
+ sourcemap (0.1.1)
248
+ spring (2.0.1)
249
+ activesupport (>= 4.2)
250
+ spring-commands-rspec (1.0.4)
251
+ spring (>= 0.9.1)
252
+ sprockets (3.7.1)
253
+ concurrent-ruby (~> 1.0)
254
+ rack (> 1, < 3)
255
+ sprockets-rails (2.3.3)
256
+ actionpack (>= 3.0)
257
+ activesupport (>= 3.0)
258
+ sprockets (>= 2.8, < 4.0)
259
+ therubyracer (0.12.2)
260
+ libv8 (~> 3.16.14.0)
261
+ ref
262
+ thor (0.19.4)
263
+ thread_safe (0.3.5)
264
+ tilt (2.0.6)
265
+ timecop (0.8.1)
266
+ tzinfo (1.2.2)
267
+ thread_safe (~> 0.1)
268
+ unicode-display_width (1.1.3)
269
+ unparser (0.2.5)
270
+ abstract_type (~> 0.0.7)
271
+ adamantium (~> 0.2.0)
272
+ concord (~> 0.1.5)
273
+ diff-lcs (~> 1.2.5)
274
+ equalizer (~> 0.0.9)
275
+ parser (~> 2.3.0)
276
+ procto (~> 0.0.2)
277
+ websocket (1.2.4)
278
+ websocket-driver (0.6.5)
279
+ websocket-extensions (>= 0.1.0)
280
+ websocket-extensions (0.1.2)
281
+ xpath (2.0.0)
282
+ nokogiri (~> 1.3)
283
+
284
+ PLATFORMS
285
+ ruby
286
+
287
+ DEPENDENCIES
288
+ bundler (~> 1.12)
289
+ chromedriver-helper
290
+ hyper-react (>= 0.10.0)
291
+ hyper-spec!
292
+ method_source
293
+ opal-browser
294
+ opal-rails
295
+ puma
296
+ rails (~> 5.0.0)
297
+ rake (~> 10.0)
298
+ react-rails (< 1.10.0)
299
+ rspec-collection_matchers
300
+ rspec-expectations
301
+ rspec-its
302
+ rspec-mocks
303
+ rspec-steps
304
+ rubocop
305
+ shoulda
306
+ shoulda-matchers
307
+ spring-commands-rspec
308
+ therubyracer (= 0.12.2)
309
+
310
+ BUNDLED WITH
311
+ 1.12.5