predrags_dummy_pipelines 0.2.0 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 169b8b404dbf936aae4e5094634d00bacecd45aa
4
- data.tar.gz: 3508ea17bfbd6d2731458e45a09fc326958bd784
3
+ metadata.gz: ff9f067771420d60998ee183d3977257bdb2a5ee
4
+ data.tar.gz: e18716565f94a83c7b6ca2dea5586a33cd7fe558
5
5
  SHA512:
6
- metadata.gz: 2d1514a0555d2ce47c7a799a89440f5746d481510d158ad2af03db864ca9be55869af525610f5fc66fc061959bbccee99518628e7c6d3016c80ca01ccc03db0b
7
- data.tar.gz: 64953c7a8e8742d83db492ec03f2e8e456fb038f9c3fac5e24e407e23cccd1cc074fcde46d1efe6d815fbf1b842941737d3d0f8ad13d6cf2a22bd3ed160a7a91
6
+ metadata.gz: d82f90782a05a1a450a1c7a31a0b5f358bf1f5585856d37d4f669b1bab973a64857e586be94c4b60e114927a56f68214808606525fd66ad7625f8fd1be518437
7
+ data.tar.gz: 62aa8937f17293018fc329c9f57df0286505fbf9ef3a063a9921a31462431bf1e45aa01d8d479ef4c216320b3d0ed2d033f5526dae4bca659e1d8c8863ed03b3
data/.gitignore CHANGED
@@ -8,4 +8,3 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  /vendor
11
- *.gem
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in pipelines.gemspec
3
+ # Specify your gem's dependencies in predrags_dummy_pipelines.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Pipelines
1
+ # PredragsDummyPipelines
2
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/pipelines`. To experiment with that code, run `bin/console` for an interactive prompt.
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/predrags_dummy_pipelines`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
5
5
  TODO: Delete this and the text above, and describe your gem
6
6
 
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'pipelines'
12
+ gem 'predrags_dummy_pipelines'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -18,7 +18,7 @@ And then execute:
18
18
 
19
19
  Or install it yourself as:
20
20
 
21
- $ gem install pipelines
21
+ $ gem install predrags_dummy_pipelines
22
22
 
23
23
  ## Usage
24
24
 
@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pipelines.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/predrags_dummy_pipelines.
36
36
 
37
37
 
38
38
  ## License
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "pipelines"
4
+ require "predrags_dummy_pipelines"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,4 +1,4 @@
1
- module Pipelines
1
+ module PredragsDummyPipelines
2
2
 
3
3
  class Exec
4
4
  def initialize(actions, name)
@@ -0,0 +1,3 @@
1
+ module PredragsDummyPipelines
2
+ VERSION = "0.4.0"
3
+ end
@@ -1,10 +1,16 @@
1
- require "pipelines/version"
2
- require "pipelines/exec"
1
+ require "predrags_dummy_pipelines/version"
2
+ require "predrags_dummy_pipelines/exec"
3
3
  require "psych"
4
4
 
5
- module Pipelines
5
+ module PredragsDummyPipelines
6
6
  # Your code goes here...
7
7
 
8
+ def new(file)
9
+ actions = parse(file)
10
+ #Pipelines::Pipeline.new(actions)
11
+ Pipeline.new(actions)
12
+ end
13
+
8
14
  def self.build
9
15
  Exec.new(parse_["build"])
10
16
  end
@@ -35,7 +41,7 @@ module Pipelines
35
41
  end
36
42
  end
37
43
 
38
- a = Pipelines.parse_
39
- e = Pipelines::Pipeline.new a
44
+ a = PredragsDummyPipelines.parse_
45
+ e = PredragsDummyPipelines::Pipeline.new a
40
46
  e.run
41
47
  e.show
@@ -1,26 +1,26 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'pipelines/version'
4
+ require 'predrags_dummy_pipelines/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "predrags_dummy_pipelines"
8
- spec.version = Pipelines::VERSION
8
+ spec.version = PredragsDummyPipelines::VERSION
9
9
  spec.authors = ["Predrag Rakic"]
10
10
  spec.email = ["prakic@renderedtext.com"]
11
11
 
12
- spec.summary = %q{Write a short summary, because Rubygems requires one.}
13
- spec.description = %q{Write a longer description or delete this line.}
14
- spec.homepage = "http://predrags-first.herokuapp.com"
12
+ spec.summary = %q{My first Gem}
13
+ spec.description = %q{Dummy pipeline}
14
+ spec.homepage = "https://github.com/predrag-rakic/predrags_dummy_pipelines"
15
15
  spec.license = "MIT"
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
18
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
- # if spec.respond_to?(:metadata)
20
- # spec.metadata['allowed_push_host'] = "Set to 'http://mygemserver.com'"
21
- # else
22
- # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
- # end
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ # end
24
24
 
25
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
26
  spec.bindir = "exe"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: predrags_dummy_pipelines
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Predrag Rakic
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: Write a longer description or delete this line.
55
+ description: Dummy pipeline
56
56
  email:
57
57
  - prakic@renderedtext.com
58
58
  executables: []
@@ -68,12 +68,12 @@ files:
68
68
  - Rakefile
69
69
  - bin/console
70
70
  - bin/setup
71
- - lib/pipelines.rb
72
- - lib/pipelines/exec.rb
73
- - lib/pipelines/version.rb
74
- - pipelines.gemspec
71
+ - lib/predrags_dummy_pipelines.rb
72
+ - lib/predrags_dummy_pipelines/exec.rb
73
+ - lib/predrags_dummy_pipelines/version.rb
74
+ - predrags_dummy_pipelines.gemspec
75
75
  - project/simple.yml
76
- homepage: http://predrags-first.herokuapp.com
76
+ homepage: https://github.com/predrag-rakic/predrags_dummy_pipelines
77
77
  licenses:
78
78
  - MIT
79
79
  metadata: {}
@@ -96,5 +96,5 @@ rubyforge_project:
96
96
  rubygems_version: 2.4.5.1
97
97
  signing_key:
98
98
  specification_version: 4
99
- summary: Write a short summary, because Rubygems requires one.
99
+ summary: My first Gem
100
100
  test_files: []
@@ -1,3 +0,0 @@
1
- module Pipelines
2
- VERSION = "0.2.0"
3
- end