wtt-core 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/.bundle/config +1 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +19 -0
  5. data/.travis.yml +4 -0
  6. data/Gemfile +3 -0
  7. data/README.md +36 -0
  8. data/Rakefile +3 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +7 -0
  11. data/coverage/.last_run.json +5 -0
  12. data/coverage/.resultset.json +857 -0
  13. data/coverage/.resultset.json.lock +0 -0
  14. data/coverage/assets/0.10.0/application.css +799 -0
  15. data/coverage/assets/0.10.0/application.js +1707 -0
  16. data/coverage/assets/0.10.0/colorbox/border.png +0 -0
  17. data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  18. data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  19. data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  20. data/coverage/assets/0.10.0/favicon_green.png +0 -0
  21. data/coverage/assets/0.10.0/favicon_red.png +0 -0
  22. data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  23. data/coverage/assets/0.10.0/loading.gif +0 -0
  24. data/coverage/assets/0.10.0/magnify.png +0 -0
  25. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  26. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  27. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  28. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  29. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  30. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  31. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  32. data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  33. data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  34. data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  35. data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  36. data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  37. data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  38. data/coverage/index.html +5396 -0
  39. data/exe/wtt_cover +28 -0
  40. data/lib/wtt/core/anchor_task.rb +30 -0
  41. data/lib/wtt/core/mapper.rb +138 -0
  42. data/lib/wtt/core/matchers/exact_matcher.rb +17 -0
  43. data/lib/wtt/core/matchers/fuzzy_matcher.rb +21 -0
  44. data/lib/wtt/core/matchers/touch_matcher.rb +17 -0
  45. data/lib/wtt/core/matchers.rb +3 -0
  46. data/lib/wtt/core/meta_data.rb +42 -0
  47. data/lib/wtt/core/paths.rb +21 -0
  48. data/lib/wtt/core/selector.rb +148 -0
  49. data/lib/wtt/core/storage.rb +89 -0
  50. data/lib/wtt/core/trace_service.rb +47 -0
  51. data/lib/wtt/core/tracer.rb +95 -0
  52. data/lib/wtt/core/version.rb +8 -0
  53. data/lib/wtt/core.rb +57 -0
  54. data/lib/wtt.rb +97 -0
  55. data/wtt.gemspec +31 -0
  56. metadata +210 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fda30588258095fc3bd9b46d52af0603b81c0fd4
4
+ data.tar.gz: df5b7323eaf59d00ffec93706a793c71e3b9e884
5
+ SHA512:
6
+ metadata.gz: 46d53167d601110e0a9df9cca69db5e3d489df4cda050fd2007b76f5db907a58fc80f5aa9336dd6d383e2df1d8dd333e0e73d2ef553f90b51f02311a9ae57bfd
7
+ data.tar.gz: 260bf68922005cef0f6e97dc39b46e8c6946347c1bf186f16e202dec4e6d10e362385abc798ef56bb93498609067dbb4a8ed79dda99cf72668ce4b551be88846
data/.bundle/config ADDED
@@ -0,0 +1 @@
1
+ --- {}
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,19 @@
1
+ # Offense count: 2
2
+ Metrics/AbcSize:
3
+ Max: 23
4
+
5
+ # Offense count: 3
6
+ # Configuration parameters: CountComments.
7
+ Metrics/MethodLength:
8
+ Max: 17
9
+
10
+ # Offense count: 2
11
+ # Cop supports --auto-correct.
12
+ # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
13
+ Style/CaseIndentation:
14
+ Enabled: false
15
+
16
+ # Offense count: 2
17
+ Style/ClassVars:
18
+ Exclude:
19
+ - 'lib/wtt/core/paths.rb'
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+ # Specify your gem's dependencies in core.gemspec
3
+ gemspec
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # WttCore
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/wtt_core`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'core'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install wtt_core
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/wtt_core.
36
+
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require 'bundler/gem_tasks'
2
+
3
+
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "core"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,5 @@
1
+ {
2
+ "result": {
3
+ "covered_percent": 86.65
4
+ }
5
+ }