coderunner 0.16.3 → 0.16.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e194fbfceec78cdf510ade9ff65ecde56149569c
4
- data.tar.gz: 91ea94d407b0ce5cb14d119f33edd31b4036780b
3
+ metadata.gz: 48ef89e2719338787837d791ffa8b67c9af92fd6
4
+ data.tar.gz: f54fcf7bc92604734999337fbc65df2cb9345d8f
5
5
  SHA512:
6
- metadata.gz: 6571b626cb20ed104a0110a12f5e22f15d94f3e6fd25633300e62078df211ec2c745264a40e9305a2b7da67bc128c808ffa757af37e2c18e42ea60a53c032eba
7
- data.tar.gz: 3a730a25cdb803041787252aeb915c9cef0c9ddd482168377a08d5a606fdd741148681c86334e6cef27a6307607729c1da624c8a0fb0e301409e5bae0129d4f3
6
+ metadata.gz: f06147321ddd9921574cdd737b799d5ee84c10df11e36659e3570fbdd3540d258aa7c298bcfe916c3e4a27b554019ec5da2511bca029a4a3e140500de13976bc
7
+ data.tar.gz: 266129dd759a3459ac0fe4e235cdb3a58078e3969799e64e941a6ffe09f733260c54ee3166edd6846bf65ce8f74ec355eab237b54f102ac3bda59c818c30d20c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.16.3
1
+ 0.16.4
data/coderunner.gemspec CHANGED
@@ -2,12 +2,12 @@
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: coderunner 0.16.3 ruby lib
5
+ # stub: coderunner 0.16.4 ruby lib
6
6
  # stub: ext/extconf.rb
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "coderunner"
10
- s.version = "0.16.3"
10
+ s.version = "0.16.4"
11
11
 
12
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
13
  s.require_paths = ["lib"]
@@ -1574,7 +1574,7 @@ EOF
1574
1574
  if is_in_repo?
1575
1575
  repo = Repository.open_in_subfolder(@root_folder)
1576
1576
  Dir.chdir(@root_folder){
1577
- repo.deleted_in_folder(Dir.pwd).each{|k,f| repo.add(repo.dir.to_s + '/' + f.path)}
1577
+ repo.deleted_in_folder(Dir.pwd).each{|k,f| repo.remove(repo.dir.to_s + '/' + f.path)}
1578
1578
  }
1579
1579
  repo.autocommit("Deleted simulations with ids #{ids} in folder #{repo.relative_path(@root_folder)}")
1580
1580
  end
@@ -31,17 +31,17 @@ class CodeRunner
31
31
  # without the need for a central server which all
32
32
  # working directories have access to.
33
33
  class Repository < Git::Base
34
- # Create a coderunner repo, which consists of a
35
- # twin set of a bare repo and a clone of that
36
- # repo. folder must end in '.cr.git'
37
- #
38
34
  def self.url_regex
39
35
  (/(?:ssh:\/\/)?(?<namehost>[^\/:]+):?(?<folder>.*$)/)
40
36
  end
41
37
  def self.bare_ext_reg
42
38
  /\.cr\.git$/
43
39
  end
44
-
40
+
41
+ # Create a coderunner repo, which consists of a
42
+ # twin set of a bare repo and a clone of that
43
+ # repo. folder must end in '.cr.git'
44
+ #
45
45
  def self.init(folder)
46
46
  if folder =~ /\.git$/
47
47
  raise "Please do not add '.git' to the end of #{folder}. Two repositories will be created: a bare repo ending in .cr.git and a clone of this bare repo"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coderunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.3
4
+ version: 0.16.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Highcock