hyperlayer 0.1 → 0.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -14
  3. data/lib/hyperlayer/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fd30d67e114c0e092b7e38cbea6552944fea27c90b8ea7837609c115ceddaf7
4
- data.tar.gz: 8e7e1e5f49fb5d0aca707bdecf55e5f31bf523b18aedce2f37fc6e88d91d7f04
3
+ metadata.gz: b8a517e9e7a4093676fea42abcfdd9a0b1f97d8002d4a617c6f5c8b4dd96ba8f
4
+ data.tar.gz: d3370b78ff431d8e380e75408d313e1aabdb9e2ec2b69178ff37aa376a4206d9
5
5
  SHA512:
6
- metadata.gz: 618cdfe286f5771bda8ebecd220a46fe3ab20b40da9ee206b2c228fdc60822f252a0707dd70012c2b391560f636c9f3cabc3eaa45fbfb846930f219bf3d5fef8
7
- data.tar.gz: 90770e90e512b143e4adc9341491f55eed91b533bf5ec72247306dbd8fc55e02a0b73ac58743aebfc5f31661c135fd570479a67c9e0f3be6bed6a9c885fcfc48
6
+ metadata.gz: 64775eb1ea054ad987384f2abd0ca50a60e674e564b1c5c607ec99fad2895a75a9e1a786585b54545344532e50547263874cf96b370aea4f5307c62da250a81e
7
+ data.tar.gz: 3b5a9b652bf2ca677abd0d1858b3527128d7912452156d8e33990d6c0f03059ed55c5406635c3f186eab3038fb0e5831875cbcf455da4fe58775046a8ebe2b53
data/README.md CHANGED
@@ -20,19 +20,68 @@ This is just the beginning.
20
20
  ## Watch the video
21
21
  [![Introduction to Hyperlayer](http://img.youtube.com/vi/9iZkE8ZrFMU/0.jpg)](http://www.youtube.com/watch?v=9iZkE8ZrFMU "Introduction to Hyperlayer")
22
22
 
23
- * [What is Hyperlayer?](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=00m08s) (00:08)
24
- * [Why Hyperlayer?](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=04m40s) (04:40)
25
- * [Meet the demo app](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=05m31s) (05:31)
26
- * [Debugging with Hyperlayer - Viewing spec runs](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=09m34s) (09:34)
27
- * [Debugging with Hyperlayer - Application flow & state](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=10m39s) (10:39)
28
- * [Debugging with Hyperlayer - Code view](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=17m56s) (17:56)
29
- * [We’ve fixed our bug](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=25m37s) (25:37)
30
- * [Closing notes](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=27m47s) (27:47)
31
-
32
- ## Code coming soon
33
-
34
- Both the gem and the client application will be online very soon. Tidying up required!
23
+ * [What is Hyperlayer? (00:08)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=00m08s)
24
+ * [Why Hyperlayer? (04:40)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=04m40s)
25
+ * [Meet the demo app (05:31)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=05m31s)
26
+ * [Debugging with Hyperlayer - Viewing spec runs (09:34)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=09m34s)
27
+ * [Debugging with Hyperlayer - Application flow & state (10:39)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=10m39s)
28
+ * [Debugging with Hyperlayer - Code view (17:56)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=17m56s)
29
+ * [We’ve fixed our bug (25:37)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=25m37s)
30
+ * [Closing notes (27:47)](https://www.youtube.com/watch?v=9iZkE8ZrFMU&t=27m47s)
31
+
32
+ ## Getting setup
33
+
34
+ ### Installation
35
+
36
+ Add the gem to your Gemfile
37
+
38
+ ```
39
+ gem 'hyperlayer'
40
+ ```
41
+
42
+ A few tables are added to handle Hyperlayer objects so `bundle exec rake db:migrate`
43
+
44
+ Add in your `spec_helper.rb` please add:
45
+
46
+ ```
47
+ RSpec.configure do |config|
48
+ # Add this block
49
+ config.around(:each) do |example|
50
+ trace = Hyperlayer::Tracer.setup_trace
51
+ trace.enable
52
+
53
+ example.run
54
+
55
+ trace.disable
56
+ end
57
+
58
+ ...
59
+ end
60
+ ```
61
+
62
+ Finally mount the UI by adding this to your `routes.rb`:
63
+
64
+ ```
65
+ mount Hyperlayer::Engine => '/hyperlayer'
66
+ ```
67
+
68
+ Note: You must have Redis installed and running locally.
69
+
70
+ ### Using the app
71
+
72
+ Once you have completed the above, running a spec will cause the emits to be emitted to Redis.
73
+
74
+ In order to listen to/process the events you must run:
75
+ ```
76
+ rake hyperlayer:listen
77
+ ```
78
+ You should see events coming in as they are processed.
79
+
80
+ Now simply load `http://localhost:3000/hyperlayer`.
81
+
82
+ For better instructions I recommend you watch the video - choose one of the "Debugging with Hyperlayer" chapters above!
35
83
  ## Author
36
84
 
37
- - [@geoffw8](https://www.github.com/geoffw8)
38
- - [Geoff Wright](https://www.linkedin.com/in/geoffw8)
85
+ I'm [Geoff Wright](https://www.github.com/geoffw8) - Co-Founder & Chief Technology Officer at [Tembo Money](https://tembomoney.com) - the only place in the UK you can view your true house buying budget.
86
+
87
+ This is a PoC - so I'm super keen for any feedback. Please feel free to reach out!
@@ -1,3 +1,3 @@
1
1
  module Hyperlayer
2
- VERSION = "0.1"
2
+ VERSION = "0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperlayer
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Wright