processable 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: 705d27371b77cdc00c484f92db94f67a7e94cdc04862ebad2c61089e9a183267
4
- data.tar.gz: c5ebc893d17dc9d3f70129a7ca840be4d5dcd7277d97214e9e29c09ce1c00771
3
+ metadata.gz: af6456b89563d366dff4a93ac219dc3ac5509a90ab764492ff21c88a695e4131
4
+ data.tar.gz: 7c0d7cf116cd5b826b7d70da5cfc87fa4bb604164fd0c7680ce418b88b4b3304
5
5
  SHA512:
6
- metadata.gz: 76663b37e4ed8c24df609e5a0749250bd82111e0a9659a78dd955cc1f52476635883664e2f6fa800bba80aa5dddc92e5960cf5143cb78bd570a0ceff7f764ed7
7
- data.tar.gz: be1cc7b3986091c40635c16ca504ea000071e4d5bb5ad02cad3e3198f3c8ca83845d6db8a7e0a7924eec04643a7fae76e38b47721c4b51b22b4ef76b7244e09d
6
+ metadata.gz: bd72c594a38123b84614d58bcab6fc1f16c1d4bb3247e1fea4012bdea96b3f6888b519c61b368b12cf5a7120a47d61d3763aeb00199ee69fb4493f8e6bdc45ad
7
+ data.tar.gz: c8c1a8c1c38888305d907f87e06253a4fcafcdde2086121b0252b650cc4ae1dafaf4a064910f61fc9f154e242aa4b7b72f82f13089f58a795be540276bac8ffa
data/.gitignore CHANGED
@@ -10,4 +10,5 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  .idea
13
- .byebug_history
13
+ .byebug_history
14
+ *.gem
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- processable (0.0.1)
4
+ processable (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -17,6 +17,8 @@ class PrintGithubRepos < Processable
17
17
  print repos_json
18
18
  end
19
19
  end
20
+
21
+ PrintGithubRepos.new.process
20
22
  ```
21
23
 
22
24
  ## Installation
@@ -62,7 +64,7 @@ class SiteScrapper < Processable
62
64
  end
63
65
  ```
64
66
 
65
- **Add steps to the process**
67
+ **Trigger the process**
66
68
 
67
69
  To start the process simply call...
68
70
 
data/lib/processable.rb CHANGED
@@ -46,6 +46,9 @@ class Processable
46
46
  @@registered_steps.last[:result]
47
47
  end
48
48
 
49
+ def initialize(*arguments)
50
+ end
51
+
49
52
  private
50
53
 
51
54
  attr_accessor :registered_steps
data/processable.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "processable"
5
- spec.version = "0.0.1"
5
+ spec.version = "0.0.2"
6
6
  spec.authors = ["Max Rukomoynikov"]
7
7
  spec.email = ["rukomoynikov@gmail.com"]
8
8
 
data/processable.idea CHANGED
@@ -20,6 +20,8 @@ class LocationsUploaderStep < Processable::Step
20
20
  end
21
21
 
22
22
  # Order of steps as it's been defined
23
+ # Run process until
24
+ # Pass arguments to each step manually for test purpose
23
25
  # In the result you will get either result of the last step
24
26
  # Print every step (option to disable)
25
27
  # How to validate?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: processable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Rukomoynikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-16 00:00:00.000000000 Z
11
+ date: 2022-07-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: