rtasklib 0.2.3 → 0.2.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: 55fa7b52d0b936a660f0bd5ec3abec540061899f
4
- data.tar.gz: 5477d47c2444d63804f6a8a3e04ea92d8144c5a8
3
+ metadata.gz: f11f6fcd65ccbcf39e9c7615b25090df54faefb6
4
+ data.tar.gz: b95b3207de9e98428a93ab26b5a46d466ac746e0
5
5
  SHA512:
6
- metadata.gz: c72b5d7e96f38eb352a3bc4dd21d1bc39bd6cc73134e0679a0d61edd9c62c92c1171f0d6d7483f8e1e41a030fb3ace9b7d5741a76b3d9857f281b393e37837ad
7
- data.tar.gz: 28ead3888140bc9b38cb641051a2a1814d68333ae03429618cb5df5cc67a56ce92bd0a6b78d2a0485fa4ff67f86311fc01d46bb141b35f85d21b5c34ffaec4c4
6
+ metadata.gz: bbab4b933125c77279f370d7be6d140a903279e44ca9e26edded7a5b506bfdf4cf8839cd1a63ac9a5094668055dc6af5a448819462da0746c21e76fc42a227cf
7
+ data.tar.gz: adb6fc9c8d3a72eabdeb4ac739c3d84afb2707012b5737bf8614dbb627ccdba52567e7f0245b0d0951fd7e62321b9238d534d62ff9a7ea16a6c870940c395b00
@@ -12,7 +12,7 @@ before_install:
12
12
  - sudo apt-get update -qq
13
13
  - sudo apt-get install -qq build-essential cmake uuid-dev g++-4.8
14
14
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
15
- - git clone https://git.tasktools.org/scm/tm/task.git
15
+ - git clone https://git.tasktools.org/TM/task.git
16
16
  - cd task
17
17
  - git checkout $TASK_VERSION
18
18
  - git clean -dfx
data/README.md CHANGED
@@ -33,7 +33,7 @@ Or install it yourself as:
33
33
  With this method you will need to install TaskWarrior (version 2.4 or above) yourself.
34
34
 
35
35
  **On OSX:**
36
-
36
+
37
37
  $ brew install task
38
38
 
39
39
  **On Fedora:**
@@ -58,9 +58,17 @@ The major repos TaskWarrior packages are extremely outdated, so you will have to
58
58
 
59
59
  ### Using the RPM
60
60
 
61
- If you are running Fedora there is an RPM available, this comes with the advantage of being managed by `yum` and installing TaskWarrior for you. Simply get the desired version RPM from the `pkg/` dir:
61
+ If you are running Fedora there is an RPM available, this comes with the advantage of being managed by `yum` and installing TaskWarrior for you. Simply get the desired version RPM from the `rpms/` dir:
62
+
63
+ $ sudo yum install rubygem-rtasklib-VERSION-noarch.rpm
64
+ $ sudo yum install rubygem-rtasklib-docs-VERSION-noarch.rpm
65
+
66
+ The docs package installs documentation that you can access through the ruby doc interface ri, e.g:
67
+
68
+ $ ri Rtasklib
69
+
70
+ This will bring up a `less` like interface to browse the documentation with.
62
71
 
63
- $ sudo yum install rubygem-rtasklib-VERSION.rpm
64
72
 
65
73
  ### Configure TaskWarrior
66
74
 
@@ -369,11 +369,11 @@ module Rtasklib
369
369
  default: nil, urgency: nil
370
370
  label = name if label.nil?
371
371
 
372
- update_config("uda.#{name}.type", type)
373
- update_config("uda.#{name}.label", label)
374
- update_config("uda.#{name}.values", values) unless values.nil?
375
- update_config("uda.#{name}.default", default) unless default.nil?
376
- update_config("uda.#{name}.urgency", urgency) unless urgency.nil?
372
+ update_config!("uda.#{name}.type", type)
373
+ update_config!("uda.#{name}.label", label)
374
+ update_config!("uda.#{name}.values", values) unless values.nil?
375
+ update_config!("uda.#{name}.default", default) unless default.nil?
376
+ update_config!("uda.#{name}.urgency", urgency) unless urgency.nil?
377
377
  end
378
378
 
379
379
  # Sync the local TaskWarrior database changes to the remote databases.
@@ -5,5 +5,5 @@
5
5
 
6
6
  module Rtasklib
7
7
  # The latest version of rtasklib
8
- VERSION = "0.2.3"
8
+ VERSION = "0.2.4"
9
9
  end
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_dependency "multi_json", "~> 1.7"
25
25
  spec.add_dependency "virtus", "~> 1.0"
26
- spec.add_dependency "iso8601", "~> 0.8"
26
+ spec.add_dependency "iso8601", "0.8.7"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.8"
29
29
  spec.add_development_dependency "rake", "~> 10.0"
@@ -0,0 +1,100 @@
1
+ # Generated from rtasklib-0.2.3.gem by gem2rpm -*- rpm-spec -*-
2
+ %global gem_name rtasklib
3
+
4
+ Name: rubygem-%{gem_name}
5
+ Version: 0.2.3
6
+ Release: 1%{?dist}
7
+ Summary: A Ruby wrapper around the TaskWarrior CLI
8
+ Group: Development/Languages
9
+ License: MIT
10
+ URL: http://github.com/dropofwill/rtasklib
11
+ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
12
+ Requires: ruby(release)
13
+ Requires: ruby(rubygems)
14
+ Requires: task > 2.4
15
+ # Requires: rubygem(multi_json) => 1.7
16
+ # Requires: rubygem(multi_json) < 2
17
+ # Requires: rubygem(virtus) => 1.0
18
+ # Requires: rubygem(virtus) < 2
19
+ # Requires: rubygem(iso8601) => 0.8
20
+ # Requires: rubygem(iso8601) < 1
21
+ BuildRequires: ruby(release)
22
+ BuildRequires: rubygems-devel
23
+ BuildRequires: ruby >= 2.0
24
+ # BuildRequires: rubygem(coveralls)
25
+ # BuildRequires: rubygem(rspec)
26
+ # BuildRequires: rubygem(rspec-nc)
27
+ # BuildRequires: rubygem(guard)
28
+ # BuildRequires: rubygem(guard-rspec)
29
+ # BuildRequires: rubygem(yard)
30
+ BuildArch: noarch
31
+ Provides: rubygem(%{gem_name}) = %{version}
32
+
33
+ %description
34
+ A Ruby wrapper around the TaskWarrior CLI. Requires a TaskWarrior install
35
+ version 2.4.0 of greater.
36
+
37
+ %pre
38
+ gem install virtus --version '>= 1.0'
39
+ gem install iso8601 --version '>= 0.8'
40
+ gem install multi_json --version '>= 1.11'
41
+
42
+ %package doc
43
+ Summary: Documentation for %{name}
44
+ Group: Documentation
45
+ Requires: %{name} = %{version}-%{release}
46
+ BuildArch: noarch
47
+
48
+ %description doc
49
+ Documentation for %{name}.
50
+
51
+ %prep
52
+ gem unpack %{SOURCE0}
53
+
54
+ %setup -q -D -T -n %{gem_name}-%{version}
55
+
56
+ gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
57
+
58
+ %build
59
+ # Create the gem as gem install only works on a gem file
60
+ gem build %{gem_name}.gemspec
61
+
62
+ # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
63
+ # by default, so that we can move it into the buildroot in %%install
64
+ %gem_install
65
+
66
+ %install
67
+ mkdir -p %{buildroot}%{gem_dir}
68
+ cp -a .%{gem_dir}/* \
69
+ %{buildroot}%{gem_dir}/
70
+
71
+
72
+ # Run the test suite
73
+ %check
74
+ pushd .%{gem_instdir}
75
+
76
+ popd
77
+
78
+ %files
79
+ %dir %{gem_instdir}
80
+ %{gem_libdir}
81
+ %exclude %{gem_cache}
82
+ %{gem_spec}
83
+ %exclude %{gem_instdir}/.*
84
+ %exclude %{gem_instdir}/*.spec
85
+ %exclude %{gem_instdir}/*.spec.template
86
+
87
+ %files doc
88
+ %doc %{gem_docdir}
89
+ %doc %{gem_instdir}/LICENSE.txt
90
+ %doc %{gem_instdir}/*.md
91
+ %{gem_instdir}/Gemfile
92
+ %{gem_instdir}/Guardfile
93
+ %{gem_instdir}/Rakefile
94
+ %{gem_instdir}/%{gem_name}.gemspec
95
+ %{gem_instdir}/spec/
96
+ %{gem_instdir}/bin/
97
+
98
+ %changelog
99
+ * Mon May 18 2015 Will Paul - 0.2.3-1
100
+ - Initial package
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtasklib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Paul
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2017-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: iso8601
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '0.8'
47
+ version: 0.8.7
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '0.8'
54
+ version: 0.8.7
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -193,7 +193,10 @@ files:
193
193
  - lib/rtasklib/models.rb
194
194
  - lib/rtasklib/taskrc.rb
195
195
  - lib/rtasklib/version.rb
196
+ - rpms/rubygem-rtasklib-0.2.3-1.fc20.noarch.rpm
197
+ - rpms/rubygem-rtasklib-doc-0.2.3-1.fc20.noarch.rpm
196
198
  - rtasklib.gemspec
199
+ - rubygem-rtasklib.spec
197
200
  - spec/controller_spec.rb
198
201
  - spec/data/.task/backlog.data
199
202
  - spec/data/.task/completed.data
@@ -227,9 +230,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
230
  requirements:
228
231
  - taskwarrior, >=2.4.0
229
232
  rubyforge_project:
230
- rubygems_version: 2.2.2
233
+ rubygems_version: 2.5.1
231
234
  signing_key:
232
235
  specification_version: 4
233
236
  summary: A Ruby wrapper around the TaskWarrior CLI
234
237
  test_files: []
235
- has_rdoc: