gritano 0.11.1 → 0.11.2

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.
@@ -66,8 +66,6 @@ Gritano 0.2.0 introduced a new feature that enables users to execute some simple
66
66
  $ ssh git@host.com key:add mykey < id_rsa.pub
67
67
 
68
68
  $ ssh git@host.com key:add mykey
69
-
70
- $ ssh git@host.com password:set # this password is used for http access
71
69
 
72
70
  For more information, execute
73
71
 
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ require 'jeweler'
15
15
  Jeweler::Tasks.new do |gem|
16
16
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
17
  gem.name = "gritano"
18
- gem.homepage = "http://igorbonadio.com.br/gritano"
18
+ gem.homepage = "http://gritano.org"
19
19
  gem.license = "MIT"
20
20
  gem.summary = %Q{Gritano is a tool to configure your git server over ssh}
21
21
  gem.description = %Q{Gritano is the simplest way to configure your git server over ssh. You can create repositories and manage user access.}
data/TODO CHANGED
@@ -1,9 +1,7 @@
1
- v0.13.0:
2
- ☐ criar uma api
3
-
4
1
  v1.0.0:
2
+ ☐ mais specs
5
3
  ☐ escrever um manual
6
- site
4
+ site @done (13-05-18 19:33)
7
5
 
8
6
  futuro:
9
7
  ☐ divulgar
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.1
1
+ 0.11.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gritano"
8
- s.version = "0.11.1"
8
+ s.version = "0.11.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Igor Bonadio"]
12
- s.date = "2013-05-15"
12
+ s.date = "2013-05-18"
13
13
  s.description = "Gritano is the simplest way to configure your git server over ssh. You can create repositories and manage user access."
14
14
  s.email = "igorbonadio@gmail.com"
15
15
  s.executables = ["gritano", "gritano-pub-key", "gritano-remote"]
@@ -224,7 +224,7 @@ Gem::Specification.new do |s|
224
224
  "spec/model_user_spec.rb",
225
225
  "spec/spec_helper.rb"
226
226
  ]
227
- s.homepage = "http://igorbonadio.com.br/gritano"
227
+ s.homepage = "http://gritano.org"
228
228
  s.licenses = ["MIT"]
229
229
  s.require_paths = ["lib"]
230
230
  s.rubygems_version = "1.8.25"
@@ -34,15 +34,6 @@ module Gritano
34
34
  end
35
35
  end
36
36
 
37
- def CLI.check_password(login, password, home_dir = Etc.getpwuid.dir, repo_dir = Etc.getpwuid.dir)
38
- ActiveRecord::Base.establish_connection(YAML::load(File.open(File.join(home_dir, '.gritano', 'database.yml'))))
39
- user = User.find_by_login(login)
40
- if user
41
- return user.password == password
42
- end
43
- return false
44
- end
45
-
46
37
  def CLI.check_access(login, repo, access, home_dir = Etc.getpwuid.dir, repo_dir = Etc.getpwuid.dir)
47
38
  ActiveRecord::Base.establish_connection(YAML::load(File.open(File.join(home_dir, '.gritano', 'database.yml'))))
48
39
  user = User.find_by_login(login)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gritano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-15 00:00:00.000000000 Z
12
+ date: 2013-05-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -421,7 +421,7 @@ files:
421
421
  - spec/model_user_spec.rb
422
422
  - spec/spec_helper.rb
423
423
  - TODO
424
- homepage: http://igorbonadio.com.br/gritano
424
+ homepage: http://gritano.org
425
425
  licenses:
426
426
  - MIT
427
427
  post_install_message:
@@ -436,7 +436,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
436
436
  version: '0'
437
437
  segments:
438
438
  - 0
439
- hash: 2131381228569288873
439
+ hash: -4547917691633358903
440
440
  required_rubygems_version: !ruby/object:Gem::Requirement
441
441
  none: false
442
442
  requirements: