sifter 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/lib/sifter/account.rb +1 -1
- data/lib/sifter/version.rb +1 -1
- metadata +34 -64
data/README.md
CHANGED
@@ -4,6 +4,10 @@ It's an API wrapper for the [Sifter API](http://sifterapp.com/developer). You
|
|
4
4
|
can use it to fetch projects, issues, milestones, and people from your Sifter
|
5
5
|
accounts.
|
6
6
|
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
gem install sifter
|
10
|
+
|
7
11
|
## Getting started
|
8
12
|
|
9
13
|
First you'll need to generate a Sifter API token. You can do this in your
|
data/lib/sifter/account.rb
CHANGED
@@ -7,7 +7,7 @@ class Sifter::Account
|
|
7
7
|
# Profile->Access Keys.
|
8
8
|
def initialize(host, token)
|
9
9
|
Sifter.default_options[:base_uri] = "https://" << host
|
10
|
-
Sifter.default_options[:headers] = {"X-Sifter-Token" => token}
|
10
|
+
Sifter.default_options[:headers] = {"X-Sifter-Token" => token, "Accept" => "application/json"}
|
11
11
|
end
|
12
12
|
|
13
13
|
# Fetch the possible issue statuses for this project. This is currently hardcoded
|
data/lib/sifter/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,45 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sifter
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Adam Keys
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-14 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: httparty
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70361979940320 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 5
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 6
|
33
|
-
- 1
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 0.6.1
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: hashie
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *70361979940320
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hashie
|
27
|
+
requirement: &70361979934200 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
29
|
+
requirements:
|
43
30
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 15
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 4
|
49
|
-
- 0
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 0.4.0
|
51
33
|
type: :runtime
|
52
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70361979934200
|
53
36
|
description: Query, fetch, create and modify issues stored in Sifter.
|
54
|
-
email:
|
37
|
+
email:
|
55
38
|
- adam@nextupdate.com
|
56
39
|
executables: []
|
57
|
-
|
58
40
|
extensions: []
|
59
|
-
|
60
41
|
extra_rdoc_files: []
|
61
|
-
|
62
|
-
files:
|
42
|
+
files:
|
63
43
|
- .gitignore
|
64
44
|
- .rspec
|
65
45
|
- Gemfile
|
@@ -80,41 +60,31 @@ files:
|
|
80
60
|
- spec/sifter/account_spec.rb
|
81
61
|
- spec/sifter/project_spec.rb
|
82
62
|
- spec/spec_helper.rb
|
83
|
-
has_rdoc: true
|
84
63
|
homepage: http://github.com/nextupdate/sifter-ruby
|
85
64
|
licenses: []
|
86
|
-
|
87
65
|
post_install_message:
|
88
66
|
rdoc_options: []
|
89
|
-
|
90
|
-
require_paths:
|
67
|
+
require_paths:
|
91
68
|
- lib
|
92
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
70
|
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
|
99
|
-
- 0
|
100
|
-
version: "0"
|
101
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
76
|
none: false
|
103
|
-
requirements:
|
104
|
-
- -
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
|
107
|
-
segments:
|
108
|
-
- 0
|
109
|
-
version: "0"
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
110
81
|
requirements: []
|
111
|
-
|
112
82
|
rubyforge_project: sifter
|
113
|
-
rubygems_version: 1.
|
83
|
+
rubygems_version: 1.8.10
|
114
84
|
signing_key:
|
115
85
|
specification_version: 3
|
116
86
|
summary: Wrapper for the Sifter API
|
117
|
-
test_files:
|
87
|
+
test_files:
|
118
88
|
- spec/fixtures/issues.json
|
119
89
|
- spec/fixtures/milestones.json
|
120
90
|
- spec/fixtures/people.json
|