nutella_framework 0.7.0 → 0.7.1

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: 7750cdf08b41df1aa16fe91e81a7139a44673183
4
- data.tar.gz: 123af08b4f4fb8c05044faee20a8e81680fc0742
3
+ metadata.gz: 6b39da496f6601db15aadb57b28401606f7e7a98
4
+ data.tar.gz: f6357e46bcec24be91537f5c191eaaeeed4363bd
5
5
  SHA512:
6
- metadata.gz: a0a51409dfbc5339be31211186c36316c1e6ca0fc8577a8fcbd87b718aaa1f0a9c4c2d5e7d9017c2e6c9ff1dd5f9a94decfa33c323db470c432f3ecdf292987b
7
- data.tar.gz: 2f045bde885636db2ae0f75a85f3bfd45ad02f37d177398a683573177748cc99aa5cba02ee40973e1e2a5f422665e24a39b6280f307c3e92afb1484a87ef145e
6
+ metadata.gz: 0a3148144b0ca3e40b764d3ec8b2bc2638658876cb1ad69c244fe8d236c65122d486205b5b53580a7ae2f6c10d9c5bbe7ef897eb303e8e1c185b4ed7761399a7
7
+ data.tar.gz: 69a4ea7cb8ddfbf7cb1b243c3bd2cc97a7adad88477f97eaacea6102273670d44409f92e1d88f6a7fdb204d27b9f0328e0fd212085f6df9f4985ded41a96fa13
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
@@ -0,0 +1,18 @@
1
+ require 'commands/meta/command'
2
+
3
+ module Nutella
4
+ class Reset < Command
5
+ @description = 'Resets nutella to factory settings'
6
+
7
+ def run(args=nil)
8
+ if system "rm -rf $HOME/.nutella"
9
+ console.success "Successfully reset nutella to factory settings"
10
+ else
11
+ console.error 'Whoops...something went wrong while resetting nutella to factory settings'
12
+ end
13
+ end
14
+
15
+ end
16
+ end
17
+
18
+
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: nutella_framework 0.7.0 ruby lib
5
+ # stub: nutella_framework 0.7.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "nutella_framework".freeze
9
- s.version = "0.7.0"
9
+ s.version = "0.7.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
@@ -605,6 +605,7 @@ Gem::Specification.new do |s|
605
605
  "lib/commands/meta/run_command.rb",
606
606
  "lib/commands/meta/template_command.rb",
607
607
  "lib/commands/new.rb",
608
+ "lib/commands/reset.rb",
608
609
  "lib/commands/runs.rb",
609
610
  "lib/commands/start.rb",
610
611
  "lib/commands/stop.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutella_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Gnoli
@@ -848,6 +848,7 @@ files:
848
848
  - lib/commands/meta/run_command.rb
849
849
  - lib/commands/meta/template_command.rb
850
850
  - lib/commands/new.rb
851
+ - lib/commands/reset.rb
851
852
  - lib/commands/runs.rb
852
853
  - lib/commands/start.rb
853
854
  - lib/commands/stop.rb