dotstore 0.0.1 → 1.0.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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/bin/dotstore +2 -2
  3. metadata +29 -50
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a62466548cb90059cf63fd68c2c6959ac82a871ebfe569a6f0044f372246bbbe
4
+ data.tar.gz: a77c17285a4d28b6b518d8ab6fa7673a588cc376486c961a4f82d11f8f3696f8
5
+ SHA512:
6
+ metadata.gz: 923ada80fd4be888096a7618ebcf3d87bd181053b8c587216a4709765743aef66694eae03cd4f238c7e51c2483d28f9c1b166dd4edbe279ce9f7c5c6847f5011
7
+ data.tar.gz: 67c63928f20ef093f0ed5ffa5487b4646d83f31275aecd2d6533b10ddafba56132fedadba27e7cb38890d2bf07dd17a93a9fdbd62f0c450c0d55adfd7a9210e0
data/bin/dotstore CHANGED
@@ -4,7 +4,7 @@ require 'fileutils'
4
4
  home_dir = File.expand_path('~') + '/'
5
5
  dotstore_dir = home_dir + '.dotstore/'
6
6
 
7
- unless File.exists?(dotstore_dir)
7
+ unless File.exist?(dotstore_dir)
8
8
  print "#{home_dir}.dotstore does not exist.\n"
9
9
  exit
10
10
  end
@@ -26,7 +26,7 @@ Dir.foreach(dotstore_dir) do |f|
26
26
  next
27
27
  end
28
28
 
29
- if File.exists?(target)
29
+ if File.exist?(target)
30
30
  backup = f + '-' + Time.now.to_i.to_s
31
31
  puts " #{f} exists. Backing it up to #{backup}"
32
32
  FileUtils.mv( target, home_dir + backup )
metadata CHANGED
@@ -1,67 +1,46 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dotstore
3
- version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - John Joseph Bachir
14
- autorequire:
8
+ autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2010-12-10 00:00:00 -05:00
19
- default_executable:
11
+ date: 2010-12-10 00:00:00.000000000 Z
20
12
  dependencies: []
21
-
22
- description:
13
+ description:
23
14
  email: j@jjb.cc
24
- executables:
15
+ executables:
25
16
  - dotstore
26
17
  extensions: []
27
-
28
18
  extra_rdoc_files: []
29
-
30
- files:
19
+ files:
31
20
  - bin/dotstore
32
- has_rdoc: true
33
21
  homepage: https://github.com/jjb/dostore/
34
- licenses: []
35
-
36
- post_install_message:
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
37
26
  rdoc_options: []
38
-
39
- require_paths:
40
- - .
41
- required_ruby_version: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
27
+ require_paths:
28
+ - "."
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
44
31
  - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
- version: "0"
50
- required_rubygems_version: !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.0
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
53
36
  - - ">="
54
- - !ruby/object:Gem::Version
55
- hash: 3
56
- segments:
57
- - 0
58
- version: "0"
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
59
39
  requirements: []
60
-
61
- rubyforge_project: dotstore
62
- rubygems_version: 1.3.7
63
- signing_key:
64
- specification_version: 3
65
- summary: dotstore is an easy way to keep your dotfiles in synch between computers, using git for all the things that make sense to use git for, and scripts for the rest.
40
+ rubygems_version: 3.5.9
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: dotstore is an easy way to keep your dotfiles in sync between computers,
44
+ using git for all the things that make sense to use git for, and scripts for the
45
+ rest.
66
46
  test_files: []
67
-