alfred-workflow 1.2.6 → 1.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
- SHA1:
3
- data.tar.gz: a4d4690e0cf9842ae71dbe8cd4422d1380ccdf82
4
- metadata.gz: 0ee5f0ffe87125ee715424157f68847e85471c38
5
2
  SHA512:
6
- data.tar.gz: b8abbdde6a2a657132ab5c066a709e5834904887a2da135b492583adc87eccf31521ef584c2ba9844ae7303a53008f8386e0dff5a9fc407399867d098781bccf
7
- metadata.gz: b6bb1e5118547a0c18c2d7e5d029777ce9057f7beed9865d1bdede3ca9d1224513304106e4ba9307355a809b5835374932d47b7c8e1e703f604c589614c9f503
3
+ metadata.gz: 9ce5a687824e9931add6861468c5321b7c4209a2d0210be66e7b08f1f0a33e81cb336ade9f7f107e5f2e27fc7110375291c9fcf988f3c6f776cb8dbfd2837eec
4
+ data.tar.gz: 4e7251f0b3c518a12418328f363625e036e83b30a014de3ccf4e8dc0b1b059677aa6ed98b1d8dfa57b7b96adcb43affc81b84ab9747ede1e8219cdccf75834ca
5
+ SHA1:
6
+ metadata.gz: 9ba771b4d8d87fed9cd4c189150452f74249ac17
7
+ data.tar.gz: 69b3c0625f703308e35b0db84c2aa3525c0dcc3a
data/Rakefile CHANGED
@@ -21,20 +21,17 @@ Hoe.spec 'alfred-workflow' do
21
21
  testlib = :minitest
22
22
  extra_deps << ['plist', '~> 3.1.0']
23
23
  extra_deps << ['logging', '~> 1.8.0']
24
- end
25
24
 
26
- desc "Bump Major Version and Commit"
27
- task "bump:major" => ["version:bump:major"] do
28
- sh "git commit -am '! Bump version to #{ENV["VERSION"]}'"
25
+ # add rspce dep
29
26
  end
30
27
 
31
- desc "Bump Minor Version and Commit"
32
- task "bump:minor" => ["version:bump:minor"] do
33
- sh "git commit -am '* Bump version to #{ENV["VERSION"]}'"
34
- end
35
- desc "Bump Patch Version and Commit"
36
- task "bump:patch" => ["version:bump:patch"] do
37
- sh "git commit -am 'Bump version to #{ENV["VERSION"]}'"
38
- end
28
+
29
+ %w{major minor patch}.each { |v|
30
+ desc "Bump #{v.capitalize} Version and Commit"
31
+ task "bump:#{v}", [:message] => ["version:bump:#{v}"] do |t, args|
32
+ m = args[:message] ? args[:message] :'Bump version to #{ENV["VERSION"]}'
33
+ sh "git commit -am #{m}"
34
+ end
35
+ }
39
36
 
40
37
  # vim: syntax=ruby
@@ -99,9 +99,6 @@ module Alfred
99
99
  path
100
100
  end
101
101
 
102
- def with_rescue_feedback
103
-
104
- end
105
102
  def rescue_feedback(opts = {})
106
103
  default_opts = {
107
104
  :title => "Failed Query!",
@@ -1,3 +1,3 @@
1
1
  module Alfred
2
- VERSION = '1.2.6'
2
+ VERSION = '1.2.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alfred-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhao Cai