battleroom 0.0.77 → 0.0.78

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: 78134191850d5bf42304b7497bd5527c58cfd809
4
- data.tar.gz: be9f91bfce496f06f2888eab9f8ef334df47a78f
3
+ metadata.gz: d4723d3ecf5bca3b1bf87337f5e1b7cbc5b20310
4
+ data.tar.gz: 1f898090ed5bd802f5d4c46507fcabc0861bcf8e
5
5
  SHA512:
6
- metadata.gz: 5074ee39cc786d5cddbd6c2503df1069dba6dfb22305b1b9ca7e66750ed7952ed1475edeb080adbaf7b3d9fd7a343620fab06f7f69fa52587901a346674ba07b
7
- data.tar.gz: 05eda85829dbadd7996fc6f93d44fd175fcd5f2e9f83b9fd8356c8f727373f0edf0961c3296bbdbcd8612821cc3bf1aa04b3bf6f35352f1e564529d439e0cfb4
6
+ metadata.gz: e6999ae0f4f292e1335571ba70d10dc331832f4336842552799b63b260362360def2e0afe5b341a571a402b99b81ba4e71954f29fa8f1d6e9dade524e1e6d5e9
7
+ data.tar.gz: 7ba16ba01aaaa31b9cfca07f933b92bfca19065036531f59f3daf38e56113013260012ccf9f8e8cba5d3368d291f6c805df55686335f9dc27dd4e0295b054e1f
@@ -0,0 +1,24 @@
1
+ # eliminates deprecation warning
2
+ I18n.config.enforce_available_locales = false
3
+
4
+ def configure_pry
5
+ Pry.config.default_window_size = 0
6
+ Pry.config.quiet = true
7
+ Pry.prompt = [proc { "> ".blue }, proc { "* ".blue }]
8
+ Pry.config.memory_size = 10
9
+
10
+ Pry::Commands.delete("exit")
11
+
12
+ # Pry::Hooks.new.clear_all
13
+
14
+ Pry.config.hooks.add_hook :before_eval, :self_terminate do |last_input, pry_instance|
15
+ $input = last_input
16
+ puts ''
17
+ unless last_input.include?("revert_pry_to_defaults")
18
+ pry_instance.run_command("continue")
19
+ end
20
+ end
21
+
22
+ end
23
+
24
+ configure_pry
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: battleroom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.77
4
+ version: 0.0.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Vander Hoop
@@ -106,6 +106,7 @@ files:
106
106
  - bin/battleroom
107
107
  - lib/battleroom.rb
108
108
  - lib/battleroom/battleroom_machinery.rb
109
+ - lib/battleroom/config/pry_config.rb
109
110
  - lib/battleroom/data/array_questions.rb
110
111
  - lib/battleroom/data/hash_questions.rb
111
112
  - lib/battleroom/data/nested_data_structure_access_questions.rb