add-to-org 0.0.1 → 1.0.0

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: 18dc2fd4a2e9a3e0b5d5739198d12a7ad9a53686
4
- data.tar.gz: 8a138d7e82808d71f3888865efd662640f95ae58
3
+ metadata.gz: 6d40b774139a77ec0fcb88a4419bbae34b3d8f45
4
+ data.tar.gz: f9f0935c12fe775108b1b0cc1f0b0822ea7599b7
5
5
  SHA512:
6
- metadata.gz: 2b34675089ad04b79b4a476357ad47ed53716c0ce3d7ed1aac6684528782b24997dcfed7f98beb896b31f936084df4ba200c5a2a4f2574156a5ccf1ede789a9b
7
- data.tar.gz: 1c11908e629090694077d386cf4ea7264fd64be932969a5469e7ba32b4bfb754d9d1f898ca592f91d9b020e5bae701f9fef3db1dbde657cb9206058da6c3c24c
6
+ metadata.gz: a7a56a2d899068be257af5c25d2b33f6d3e8c1fd3f3a9bc0dab4c5f6bb5d22f87ffc6efce70f1881cf5bb320fdee4d6f5cecb2a42c563def621ac09c78cf4c6e
7
+ data.tar.gz: a34c518d7f822033d18471a59feff3f3a7eb5a2947a1bb70564b2d057b93d53e98275535335700346fb60c4e3cfd2fe6aeac3275334d2804038f855ac6461e53
data/lib/add-to-org.rb CHANGED
@@ -53,7 +53,7 @@ module AddToOrg
53
53
 
54
54
  # the main event...
55
55
  def add
56
- sudo_client.add_team_member team_id, user.login
56
+ sudo_client.add_team_membership team_id, user.login
57
57
  end
58
58
 
59
59
  end
@@ -1,3 +1,3 @@
1
1
  module AddToOrg
2
- VERSION = "0.0.1"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -6,11 +6,7 @@
6
6
  </head>
7
7
  <body>
8
8
  <h1>You're all set</h1>
9
- <p>You should be <a href="<%= ERB::Util.html_escape(redirect) %>">redirected</a> automatically...</h1>
10
- <script>
11
- setTimeout(function () {
12
- window.location.href = "<%= ERB::Util.html_escape(redirect) %>";
13
- }, 5000);
14
- </script>
9
+ <p>You should have recieved an email inviting you to join the organization.</p>
10
+ <p>Once confirmed, you will have access to <a href="<%= ERB::Util.html_escape(redirect) %>"></a>, the requested URL.</h1>
15
11
  </body>
16
12
  </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: add-to-org
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-16 00:00:00.000000000 Z
11
+ date: 2014-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: warden-github
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: octokit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.3'
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'
54
+ version: '3.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rack-ssl-enforcer
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: ''
83
+ description: A simple Oauth App to automatically add users to an organization.
84
84
  email: ben.balter@github.com
85
85
  executables: []
86
86
  extensions: []
@@ -115,5 +115,5 @@ rubyforge_project:
115
115
  rubygems_version: 2.2.0
116
116
  signing_key:
117
117
  specification_version: 4
118
- summary: ''
118
+ summary: A simple Oauth App to automatically add users to an organization
119
119
  test_files: []