GameGrid 0.9.5.2.4 → 0.9.5.2.7

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: 00d4d9a372bc0930f6eaa5d87008019a49a71d1f
4
- data.tar.gz: 441e7e7fcb9a8609b8d9168b53902baf96009f4a
3
+ metadata.gz: 826324b152efd607edfb706086cdf477a6582483
4
+ data.tar.gz: 5c232a20746ecff0f7bf4adc4eaecee6fe1b64af
5
5
  SHA512:
6
- metadata.gz: dd3715d96783d618fa100ba72975cfe458bd3247643be658182c3d0488b2eb412cda8dab1409f4d0665dab34987ff2c3b467757253b42b60dacdf32b30e97bc2
7
- data.tar.gz: 57d0815d480d5c1124493660bf2e1a9dd3b7ee3076ed6214c3af319e0f0060dad7aa6ab933a7ac1ab1e8bdf47d7b36775179b254ebda29ab317235f43e2e5996
6
+ metadata.gz: 52d35780c0e6fcf13dfcd98cf42c1cc7d985b06fee31239bb73cebca210b03ff8f36f8b5c1371453bc18caff965ea0f92e6bef6687b35cd489be4ecb284257e9
7
+ data.tar.gz: 60d96fc1ccbf1df5ab8258bf55cbb8488f1da1c45060588c77539e4f246f19dae2f2bc888210dad8084c5bd690b1ed9dd2709b91bab0448cae9822194c224301
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ if (ARGV[0].index("update")!=nil) then
3
+ `gem install GameGrid` or %x(gem install GameGrid)
4
+ end
5
+
6
+ puts "Loading up the game....."
7
+ require "GameGrid"; puts "100% loaded..."
8
+ play()
data/bin/sh.rb CHANGED
@@ -1,4 +1,6 @@
1
- version="0.9.5.2.4"
1
+ #!/usr/bin/env ruby
2
+
3
+ version="0.9.5.2.5"
2
4
  code='
3
5
  function edit(){
4
6
  echo "Please enter a valid password: "
@@ -38,5 +40,7 @@ irb
38
40
  fi'
39
41
 
40
42
  File.open("/usr/local/bin/gamegrid", 'w') {|f| f.write(code) };
43
+ %x(chmod u+x /usr/bin/gamegrid)
41
44
 
42
- File.open("/usr/bin/gamegrid", 'w') {|f| f.write(code) };
45
+ File.open("/usr/bin/gamegrid", 'w') {|f| f.write(code) };
46
+ %x(chmod u+x /usr/local/bin/gamegrid)
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  #DEVELOPERS: The Console Object
5
- require "sh"
5
+ require "sh"; %x(chmod u+x /usr/bin/gamegrid)
6
6
 
7
7
  $console={
8
8
  :log=>"Console/Log:",
@@ -1,5 +1,5 @@
1
1
  #=============================GameGrid, an in-console game===========================#
2
- require "sh"
2
+ require "sh"; %x(chmod u+x /usr/bin/gamegrid)
3
3
 
4
4
  #DEVELOPERS: The Console Object
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GameGrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5.2.4
4
+ version: 0.9.5.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ThinkLikeGeek
@@ -15,9 +15,11 @@ description: An in-command-line adventure game controlled by commands like picku
15
15
  email: tt2d@icloud.com
16
16
  executables:
17
17
  - sh.rb
18
+ - gamegrid.rb
18
19
  extensions: []
19
20
  extra_rdoc_files: []
20
21
  files:
22
+ - bin/gamegrid.rb
21
23
  - bin/sh.rb
22
24
  - lib/GameGrid.rb
23
25
  - lib/install.rb