copernicium 0.1.4 → 0.1.5

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pushpull.rb +3 -3
  3. data/lib/repos.rb +1 -1
  4. data/lib/ui.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a5ffa814cbc75d8cef5aa496ae365e64055544f
4
- data.tar.gz: dcdc64d513fc8d4ab767ca371446fd04897984a8
3
+ metadata.gz: 83ec826f3d14cdbcb995b248af87f070a72bf824
4
+ data.tar.gz: 612121ddaf591375956f07cb4a21e7d3efbab340
5
5
  SHA512:
6
- metadata.gz: dfa00b3ba05c58cb3c7f5fe99c7c910bc3e3ea09500d1473adaccd50640a11e0c8e554d234d14fb9e3609f09f7e58feb7bbca4d6813500b33c9c7ec37fe2d927
7
- data.tar.gz: 2c29c875e7dcc63d6e0698e4c6ff414b1fb7806d277ce66718cb2e5a6f7bf7d300d0a8a73b72b2defa9888522894cbdb535489228597e3dfd4bba6f6f1bab1ce
6
+ metadata.gz: 962d4c277e254076c342888aaecd93f603d9294f3149532df8c04e01d8ecbd92fff192c51ae8e6c0473e3b79f920327538d6a03d05815852783d9e51a5f02d63
7
+ data.tar.gz: dd22e97f46e08031d06e7c75e7b1489d8e1ff68fa19f01ce280ef8b7781239acbce022e9be5981cee61a329da2db5b216b9d3db98fefe730188775d0a130058d
data/lib/pushpull.rb CHANGED
@@ -100,7 +100,8 @@ module Copernicium
100
100
  # Function: fetch()
101
101
  #
102
102
  # Description:
103
- # a net/scp wrapper to copy from server, can take a block or do a one-off copy without one
103
+ # a net/scp wrapper to copy from server, can take a block or do a one-off
104
+ # copy without one
104
105
  #
105
106
  # local: where we want to put the file, not needed for blocked calls
106
107
  def PushPull.fetch
@@ -144,8 +145,7 @@ module Copernicium
144
145
  end # ssh
145
146
 
146
147
  PushPull.connect do |ssh|
147
- ssh.exec! "cd #{@@path}"
148
- puts ssh.exec! "cn update #{@@user}"
148
+ puts ssh.exec! "cd #{@@path} && cn update #{@@user}"
149
149
  end
150
150
  rescue => error
151
151
  connection_failure "trying to push files", error
data/lib/repos.rb CHANGED
@@ -265,7 +265,7 @@ module Copernicium
265
265
 
266
266
  # FOR PUSHPULL UPDATE
267
267
  def Repos.update(comm = UIComm.new)
268
- merge_name = File.join(@@copn,'merging_',comm.ops)
268
+ merge_name = File.join(@@copn,'merging_',comm.opts)
269
269
  status = "Remote is either up-to-date or ahead of local"
270
270
 
271
271
  if File.exist?(merge_name)
data/lib/ui.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # user interface module - parse and execute commands
2
2
  # integrates all modules, central module
3
3
 
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
 
6
6
  include Copernicium::PushPull
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copernicium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Copernicium