desktop 1.0.0 → 1.1.0

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: 28652a5faa1e08cb547b3f1cd0128c8e7c331df7
4
- data.tar.gz: e36b75e377891d7517e027cd7766e73b877245b3
3
+ metadata.gz: baf8e2c8fe943e00600976c2e9ac1f92117ee140
4
+ data.tar.gz: 1069ee0d452addac29c11031b22f10bcc7662702
5
5
  SHA512:
6
- metadata.gz: 36f705143fce3e7aaa4f434e7cbdbc0351a1341973ebe3a697684426779d5bd98772d3222931e508b599bf87b397dfed9026185e8f5758e3e4f04a46068c3321
7
- data.tar.gz: 9efb951a5cd055b0b7ee9311be4d815aff9ce5ab1bbccb0dee923e21fec4df5198728a25d0fb4e92da617c25bd9c0736fff28189ab95d2b64ad6762f5d101b71
6
+ metadata.gz: 45a7c8f948a881470f18cd6fb9e1d16a0b0ac1cb1b0916545e74e34732e531f532fb1b75a9d455f532fbe247e98a59baa8066fdb223a58913451b3781853af04
7
+ data.tar.gz: 3d6725d98c997d0ee5181115c0efce22fce51b1e6f94100aeb6feef4ac6e38f670de2505e8e76ae131f42d11d69a6e085dfe6cb7da5afaa434669128922b36d0
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ##v1.1.0
4
+ *2014-06-01*
5
+
6
+ - [Add missing sqlite3 dependency](https://github.com/chrishunt/desktop/pull/1)
7
+ - [Add 'desktop version' ](https://github.com/chrishunt/desktop/pull/2)
8
+
3
9
  ##v1.0.0
4
10
  *2014-06-01*
5
11
 
data/README.md CHANGED
@@ -31,6 +31,7 @@ $ desktop help
31
31
  Commands:
32
32
  desktop help [COMMAND] # Describe available commands or one specific command
33
33
  desktop set IMAGE_PATH # Set all desktops to the image at IMAGE_PATH
34
+ desktop version # Show gem version
34
35
  ```
35
36
 
36
37
  Desktop images can be set using a file path:
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'desktop'
4
4
 
5
- if ARGV.size == 1 && !%w[set help].include?(ARGV.first)
5
+ if ARGV.size == 1 && !%w[set help version].include?(ARGV.first)
6
6
  ARGV.unshift('set')
7
7
  end
8
8
 
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "faraday", "~> 0.9"
22
+ spec.add_dependency "sqlite3", "~> 1.3"
22
23
  spec.add_dependency "thor", "~> 0.19"
23
24
 
24
25
  spec.add_development_dependency "bundler", "~> 1.6"
@@ -34,6 +34,11 @@ module Desktop
34
34
  end
35
35
  end
36
36
 
37
+ desc 'version', 'Show gem version'
38
+ def version
39
+ puts Desktop::VERSION
40
+ end
41
+
37
42
  private
38
43
 
39
44
  def fail_with_permissions_error
@@ -1,3 +1,3 @@
1
1
  module Desktop
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: desktop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hunt
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: thor
29
43
  requirement: !ruby/object:Gem::Requirement