brunter 0.0.1.alpha → 0.0.2.alpha

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.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'curb'
4
- gem 'github_api', :git => 'https://github.com/peter-murach/github', :tag => 'v0.9.7'
4
+ gem 'octokit'
@@ -1,39 +1,27 @@
1
- GIT
2
- remote: https://github.com/peter-murach/github
3
- revision: d9939e2573060df365d6f040d778aa1fd171df04
4
- tag: v0.9.7
5
- specs:
6
- github_api (0.9.7)
7
- faraday (~> 0.8.1)
8
- hashie (>= 1.2)
9
- multi_json (~> 1.4)
10
- nokogiri (~> 1.5.2)
11
- oauth2
12
-
13
1
  GEM
14
2
  remote: https://rubygems.org/
15
3
  specs:
4
+ addressable (2.3.4)
5
+ curb (0.8.4)
16
6
  faraday (0.8.7)
17
7
  multipart-post (~> 1.1)
18
- hashie (2.0.4)
19
- httpauth (0.2.0)
20
- jwt (0.1.8)
21
- multi_json (>= 1.5)
22
- multi_json (1.7.3)
23
- multi_xml (0.5.3)
8
+ faraday_middleware (0.9.0)
9
+ faraday (>= 0.7.4, < 0.9)
10
+ hashie (2.0.5)
11
+ multi_json (1.7.4)
24
12
  multipart-post (1.2.0)
25
- nokogiri (1.5.9)
26
- oauth2 (0.9.1)
13
+ netrc (0.7.7)
14
+ octokit (1.24.0)
15
+ addressable (~> 2.2)
27
16
  faraday (~> 0.8)
28
- httpauth (~> 0.1)
29
- jwt (~> 0.1.4)
30
- multi_json (~> 1.0)
31
- multi_xml (~> 0.5)
32
- rack (~> 1.2)
33
- rack (1.5.2)
17
+ faraday_middleware (~> 0.9)
18
+ hashie (~> 2.0)
19
+ multi_json (~> 1.3)
20
+ netrc (~> 0.7.7)
34
21
 
35
22
  PLATFORMS
36
23
  ruby
37
24
 
38
25
  DEPENDENCIES
39
- github_api!
26
+ curb
27
+ octokit
data/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ # About
2
+ Nothing to see here yet, move along.
3
+
1
4
  ## Usage
2
5
 
3
6
  _from a cli_
@@ -7,21 +7,3 @@ class Brunter
7
7
  end
8
8
  end
9
9
 
10
- class Brunter::Registrar
11
- def initialize(component, url, description)
12
- @component = component
13
- @url = url
14
- @description = description
15
- @host = 'brunter.io/packages'
16
- @payload = {
17
- 'name' => @component,
18
- 'url' => @url,
19
- 'description' => @description
20
- }
21
- end
22
- def register
23
- http = Curl.post(@host, @payload)
24
- puts http.body_str
25
- end
26
- end
27
-
@@ -0,0 +1,18 @@
1
+ class Brunter::Registrar
2
+ def initialize(component, url, description)
3
+ @component = component
4
+ @url = url
5
+ @description = description
6
+ @host = 'brunter.io/packages'
7
+ @payload = {
8
+ 'name' => @component,
9
+ 'url' => @url,
10
+ 'description' => @description
11
+ }
12
+ end
13
+ def register
14
+ http = Curl.post(@host, @payload)
15
+ puts http.body_str
16
+ end
17
+ end
18
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brunter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha
4
+ version: 0.0.2.alpha
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -20,6 +20,7 @@ executables:
20
20
  extensions: []
21
21
  extra_rdoc_files: []
22
22
  files:
23
+ - lib/brunter/registrar.rb
23
24
  - lib/brunter.rb
24
25
  - bin/brunter
25
26
  - Gemfile
@@ -47,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
48
  version: 1.3.1
48
49
  requirements: []
49
50
  rubyforge_project:
50
- rubygems_version: 1.8.24
51
+ rubygems_version: 1.8.23
51
52
  signing_key:
52
53
  specification_version: 3
53
54
  summary: Package management for Sass components.