reacto 0.0.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.
- checksums.yaml +7 -0
- data/.rspec +2 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +32 -0
- data/README.md +1 -0
- data/lib/reacto/behaviours.rb +50 -0
- data/lib/reacto/constants.rb +7 -0
- data/lib/reacto/executors.rb +31 -0
- data/lib/reacto/operations/buffer.rb +80 -0
- data/lib/reacto/operations/concat.rb +23 -0
- data/lib/reacto/operations/diff.rb +36 -0
- data/lib/reacto/operations/drop.rb +41 -0
- data/lib/reacto/operations/drop_errors.rb +15 -0
- data/lib/reacto/operations/flat_map.rb +26 -0
- data/lib/reacto/operations/flatten.rb +26 -0
- data/lib/reacto/operations/inject.rb +43 -0
- data/lib/reacto/operations/last.rb +31 -0
- data/lib/reacto/operations/map.rb +38 -0
- data/lib/reacto/operations/merge.rb +47 -0
- data/lib/reacto/operations/prepend.rb +19 -0
- data/lib/reacto/operations/select.rb +25 -0
- data/lib/reacto/operations/take.rb +38 -0
- data/lib/reacto/operations/throttle.rb +60 -0
- data/lib/reacto/operations/track_on.rb +18 -0
- data/lib/reacto/operations/uniq.rb +22 -0
- data/lib/reacto/operations.rb +23 -0
- data/lib/reacto/resources/executor_resource.rb +19 -0
- data/lib/reacto/resources.rb +1 -0
- data/lib/reacto/subscriptions/buffered_subscription.rb +52 -0
- data/lib/reacto/subscriptions/combining_last_subscription.rb +22 -0
- data/lib/reacto/subscriptions/combining_subscription.rb +8 -0
- data/lib/reacto/subscriptions/composite_subscription.rb +82 -0
- data/lib/reacto/subscriptions/executor_subscription.rb +63 -0
- data/lib/reacto/subscriptions/flat_map_subscription.rb +20 -0
- data/lib/reacto/subscriptions/inner_subscription.rb +47 -0
- data/lib/reacto/subscriptions/operation_subscription.rb +25 -0
- data/lib/reacto/subscriptions/simple_subscription.rb +80 -0
- data/lib/reacto/subscriptions/subscription.rb +21 -0
- data/lib/reacto/subscriptions/subscription_wrapper.rb +16 -0
- data/lib/reacto/subscriptions/tracker_subscription.rb +76 -0
- data/lib/reacto/subscriptions/zipping_subscription.rb +43 -0
- data/lib/reacto/subscriptions.rb +27 -0
- data/lib/reacto/trackable.rb +317 -0
- data/lib/reacto/tracker.rb +33 -0
- data/lib/reacto/version.rb +4 -0
- data/lib/reacto.rb +10 -0
- data/reacto.gemspec +27 -0
- data/spec/reacto/create_trackable_spec.rb +245 -0
- data/spec/reacto/executors_and_trackable_spec.rb +32 -0
- data/spec/reacto/operations/track_on_spec.rb +20 -0
- data/spec/reacto/trackable/buffer_spec.rb +58 -0
- data/spec/reacto/trackable/throttle_spec.rb +15 -0
- data/spec/reacto/trackable/zip_spec.rb +25 -0
- data/spec/reacto/trackable_spec.rb +417 -0
- data/spec/spec_helper.rb +15 -0
- data/spec/support/helpers.rb +16 -0
- metadata +150 -0
metadata
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: reacto
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nickolay Tzvetinov - Meddle
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.3.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.3.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: concurrent-ruby
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.0
|
55
|
+
description: Concurrent Reactive Programming for Ruby
|
56
|
+
email:
|
57
|
+
- n.tzvetinov@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- .rspec
|
63
|
+
- Gemfile
|
64
|
+
- Gemfile.lock
|
65
|
+
- README.md
|
66
|
+
- lib/reacto.rb
|
67
|
+
- lib/reacto/behaviours.rb
|
68
|
+
- lib/reacto/constants.rb
|
69
|
+
- lib/reacto/executors.rb
|
70
|
+
- lib/reacto/operations.rb
|
71
|
+
- lib/reacto/operations/buffer.rb
|
72
|
+
- lib/reacto/operations/concat.rb
|
73
|
+
- lib/reacto/operations/diff.rb
|
74
|
+
- lib/reacto/operations/drop.rb
|
75
|
+
- lib/reacto/operations/drop_errors.rb
|
76
|
+
- lib/reacto/operations/flat_map.rb
|
77
|
+
- lib/reacto/operations/flatten.rb
|
78
|
+
- lib/reacto/operations/inject.rb
|
79
|
+
- lib/reacto/operations/last.rb
|
80
|
+
- lib/reacto/operations/map.rb
|
81
|
+
- lib/reacto/operations/merge.rb
|
82
|
+
- lib/reacto/operations/prepend.rb
|
83
|
+
- lib/reacto/operations/select.rb
|
84
|
+
- lib/reacto/operations/take.rb
|
85
|
+
- lib/reacto/operations/throttle.rb
|
86
|
+
- lib/reacto/operations/track_on.rb
|
87
|
+
- lib/reacto/operations/uniq.rb
|
88
|
+
- lib/reacto/resources.rb
|
89
|
+
- lib/reacto/resources/executor_resource.rb
|
90
|
+
- lib/reacto/subscriptions.rb
|
91
|
+
- lib/reacto/subscriptions/buffered_subscription.rb
|
92
|
+
- lib/reacto/subscriptions/combining_last_subscription.rb
|
93
|
+
- lib/reacto/subscriptions/combining_subscription.rb
|
94
|
+
- lib/reacto/subscriptions/composite_subscription.rb
|
95
|
+
- lib/reacto/subscriptions/executor_subscription.rb
|
96
|
+
- lib/reacto/subscriptions/flat_map_subscription.rb
|
97
|
+
- lib/reacto/subscriptions/inner_subscription.rb
|
98
|
+
- lib/reacto/subscriptions/operation_subscription.rb
|
99
|
+
- lib/reacto/subscriptions/simple_subscription.rb
|
100
|
+
- lib/reacto/subscriptions/subscription.rb
|
101
|
+
- lib/reacto/subscriptions/subscription_wrapper.rb
|
102
|
+
- lib/reacto/subscriptions/tracker_subscription.rb
|
103
|
+
- lib/reacto/subscriptions/zipping_subscription.rb
|
104
|
+
- lib/reacto/trackable.rb
|
105
|
+
- lib/reacto/tracker.rb
|
106
|
+
- lib/reacto/version.rb
|
107
|
+
- reacto.gemspec
|
108
|
+
- spec/reacto/create_trackable_spec.rb
|
109
|
+
- spec/reacto/executors_and_trackable_spec.rb
|
110
|
+
- spec/reacto/operations/track_on_spec.rb
|
111
|
+
- spec/reacto/trackable/buffer_spec.rb
|
112
|
+
- spec/reacto/trackable/throttle_spec.rb
|
113
|
+
- spec/reacto/trackable/zip_spec.rb
|
114
|
+
- spec/reacto/trackable_spec.rb
|
115
|
+
- spec/spec_helper.rb
|
116
|
+
- spec/support/helpers.rb
|
117
|
+
homepage: https://github.com/meddle0x53/reacto
|
118
|
+
licenses:
|
119
|
+
- MIT
|
120
|
+
metadata: {}
|
121
|
+
post_install_message:
|
122
|
+
rdoc_options: []
|
123
|
+
require_paths:
|
124
|
+
- lib
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - '>='
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
requirements: []
|
136
|
+
rubyforge_project:
|
137
|
+
rubygems_version: 2.0.2
|
138
|
+
signing_key:
|
139
|
+
specification_version: 4
|
140
|
+
summary: Concurrent Reactive Programming for Ruby
|
141
|
+
test_files:
|
142
|
+
- spec/reacto/create_trackable_spec.rb
|
143
|
+
- spec/reacto/executors_and_trackable_spec.rb
|
144
|
+
- spec/reacto/operations/track_on_spec.rb
|
145
|
+
- spec/reacto/trackable/buffer_spec.rb
|
146
|
+
- spec/reacto/trackable/throttle_spec.rb
|
147
|
+
- spec/reacto/trackable/zip_spec.rb
|
148
|
+
- spec/reacto/trackable_spec.rb
|
149
|
+
- spec/spec_helper.rb
|
150
|
+
- spec/support/helpers.rb
|