brunter 0.0.1.alpha → 0.0.2.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +15 -27
- data/README.md +3 -0
- data/lib/brunter.rb +0 -18
- data/lib/brunter/registrar.rb +18 -0
- metadata +3 -2
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -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
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
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
|
-
|
26
|
-
|
13
|
+
netrc (0.7.7)
|
14
|
+
octokit (1.24.0)
|
15
|
+
addressable (~> 2.2)
|
27
16
|
faraday (~> 0.8)
|
28
|
-
|
29
|
-
|
30
|
-
multi_json (~> 1.
|
31
|
-
|
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
|
-
|
26
|
+
curb
|
27
|
+
octokit
|
data/README.md
CHANGED
data/lib/brunter.rb
CHANGED
@@ -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.
|
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.
|
51
|
+
rubygems_version: 1.8.23
|
51
52
|
signing_key:
|
52
53
|
specification_version: 3
|
53
54
|
summary: Package management for Sass components.
|