ruby_raider 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: c4b79cdbe23fe8d98b28291b0efa3a5e7fc48c45c93eea5cf4cf2bf292a95510
4
- data.tar.gz: cf8b06ae6e67de9613fa4be51b3eb0bb28b71739a503cbfabfc6a32c79ebb2a1
3
+ metadata.gz: 52074e06fb0010ea9fdc1ffe0729598ced95349c4775b389b353ca80e234de1b
4
+ data.tar.gz: bc95a37d449f89cf0cdf3fa7d7a393aaeb66dc931cf5cdb924ed3b7245b885d4
5
5
  SHA512:
6
- metadata.gz: 0a79ed5939da9fd789e6c3e67c2873c45b1222019640ba65283655d68286e9a96c8dbc8391aa1c18ad6a444870c894e57c769fc0ec74ff1106542a7d28d93875
7
- data.tar.gz: 7c9c7ca6b505e3b3bb0b5717d9618bf635ce0bf25eab9d21e577046f19ca1bfdf538f5500d5dcd669acdd4efcf3c0bb73081c82c3b7c110422409ff18a8b4b64
6
+ metadata.gz: 3190c657ef13871b11658bd01a7744b8f95ba226c418bc913e1bba41d8a4a30a8c64468cee679342be641ac8d444ecb59c27d519f0f3c8d47b5241d9d3f5bb98
7
+ data.tar.gz: ab2b8c573a2c04a104c45c0e90c805389727fb368f8ec73325b2f2b45076cc460bd1536f630c45e25ae70086f964a68a6793e44910af96e830b0c8cfdcfed64e
@@ -29,5 +29,5 @@ gem 'rubocop'
29
29
  <%- if rspec? -%>
30
30
  gem 'rubocop-rspec'
31
31
  <%- end -%>
32
- gem 'ruby_raider', '~> 1.0.1'
32
+ gem 'ruby_raider', '~> 1.0.3'
33
33
  <%= ERB.new(File.read(File.expand_path('./partials/automation_gems.tt', __dir__))).result(binding).strip! %>
data/lib/plugin/plugin.rb CHANGED
@@ -7,6 +7,7 @@ module RubyRaider
7
7
  module Plugin
8
8
  class << self
9
9
  def add_plugin(plugin_name)
10
+ return gemfile_guard unless File.exist?('Gemfile')
10
11
  return pp 'The plugin was not found' unless available?(plugin_name)
11
12
  return pp 'The plugin is already installed' if installed?(plugin_name)
12
13
 
data/lib/version CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_raider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Pequeno