noid 0.6.6 → 0.7.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: bf146d1776a27d32f143739ec816493891785b40
4
- data.tar.gz: f7aa9deb3f005be8c995a88d446f97371ad6ff61
3
+ metadata.gz: 1cc8131a9c265bd3f5a97a0a1a6127473c7aac72
4
+ data.tar.gz: 251bc9bf4d40a678c7feef0dacd6df64eba6fbf6
5
5
  SHA512:
6
- metadata.gz: f11e4d49a4f1de1135518b7b0a5d2e8475430e4c45b6c62701d513be606dee0e4ae6b0a0ae78c8ea34aea2097967604587132557fdf4887ad0ae5ac0182072d5
7
- data.tar.gz: 75135706b2e242974ab2ad2225815d13d40802f6cf5519d4af6b34c9ac8466af76ffe74b8a619fc8a09de2568f3ee8f7b19c0725f6f16bbcea2acfd41eee2eb4
6
+ metadata.gz: ec5f8701d9b8e0a3b6751bccc2c34112380604c32eae49b13a2c9aa94b016c38726a92bf8f653df2b922552664bbce74f0b6d955035cb83420c10c13b5771e5a
7
+ data.tar.gz: 22659b109cabc3de9feff9febb2a4f059802ed0b6dc0fcb83758d4c750ef4ccadc724286714cfce52260de3a8b656de979717b868f20da94e0c20d6124edca7c
data/.gitignore CHANGED
@@ -2,3 +2,5 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  pkg/*
5
+ .rvmrc
6
+ .ruby-*
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
3
  - 1.9.3
5
- - jruby-18mode
4
+ - 2.0.0
5
+ - jruby-19mode
6
6
  script: bundle exec rake
data/Gemfile CHANGED
@@ -1,9 +1,7 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in test.gemspec
4
4
  gemspec
5
5
 
6
-
7
- gem 'rcov', :platform => :mri_18
8
- gem 'simplecov', :platform => :mri_19
9
- gem 'simplecov-rcov', :platform => :mri_19
6
+ gem 'simplecov'
7
+ gem 'simplecov-rcov'
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Ruby implementation of NOID (Nice Opaque Identifier)
4
4
 
5
+ See the man page of the Perl utility for details about NOID: https://wiki.ucop.edu/download/attachments/16744482/noid.pdf
6
+
5
7
  ## Contributing to noid
6
8
 
7
9
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.7.0
@@ -1,5 +1,3 @@
1
- require 'backports' if RUBY_VERSION.to_f < 1.9
2
-
3
1
  module Noid
4
2
  class Minter
5
3
  attr_reader :seed, :seq
@@ -9,7 +9,8 @@ Gem::Specification.new do |s|
9
9
  s.email = ["chris@cbeer.info"]
10
10
  s.homepage = "http://github.com/microservices/noid"
11
11
  s.summary = %q{Nice Opaque Identifier}
12
- s.description = %q{}
12
+ s.description = %q{Nice Opaque Identifier}
13
+ s.licenses = ["MIT"]
13
14
 
14
15
  s.rubyforge_project = "noid"
15
16
 
@@ -18,7 +19,8 @@ Gem::Specification.new do |s|
18
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
20
  s.require_paths = ["lib"]
20
21
 
21
- s.add_dependency "backports"
22
+ s.required_ruby_version = '>= 1.9.3'
23
+
22
24
  s.add_development_dependency "bundler"
23
25
  s.add_development_dependency "rake"
24
26
  s.add_development_dependency "rspec", ">= 2.0"
metadata CHANGED
@@ -1,51 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDaDCCAlCgAwIBAgIBATANBgkqhkiG9w0BAQUFADA9MQ4wDAYDVQQDDAVjaHJp
14
- czEVMBMGC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wQfyQmM0h1GThWYcdNw7
30
- W4KPvarE4dgxT4TXIIKkh/K/Z9yaYt73biInVukEI9H2HHWkuAyblxg1jcR/zy+w
31
- K27NJ2vhSpx2PPhb
32
- -----END CERTIFICATE-----
33
- date: 2013-03-27 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2014-01-15 00:00:00.000000000 Z
34
12
  dependencies:
35
- - !ruby/object:Gem::Dependency
36
- name: backports
37
- requirement: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - '>='
40
- - !ruby/object:Gem::Version
41
- version: '0'
42
- type: :runtime
43
- prerelease: false
44
- version_requirements: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - '>='
47
- - !ruby/object:Gem::Version
48
- version: '0'
49
13
  - !ruby/object:Gem::Dependency
50
14
  name: bundler
51
15
  requirement: !ruby/object:Gem::Requirement
@@ -88,7 +52,7 @@ dependencies:
88
52
  - - '>='
89
53
  - !ruby/object:Gem::Version
90
54
  version: '2.0'
91
- description: ''
55
+ description: Nice Opaque Identifier
92
56
  email:
93
57
  - chris@cbeer.info
94
58
  executables: []
@@ -96,7 +60,6 @@ extensions: []
96
60
  extra_rdoc_files: []
97
61
  files:
98
62
  - .gitignore
99
- - .rvmrc
100
63
  - .travis.yml
101
64
  - Gemfile
102
65
  - LICENSE.txt
@@ -111,7 +74,8 @@ files:
111
74
  - spec/lib/minter_spec.rb
112
75
  - spec/spec_helper.rb
113
76
  homepage: http://github.com/microservices/noid
114
- licenses: []
77
+ licenses:
78
+ - MIT
115
79
  metadata: {}
116
80
  post_install_message:
117
81
  rdoc_options: []
@@ -121,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
85
  requirements:
122
86
  - - '>='
123
87
  - !ruby/object:Gem::Version
124
- version: '0'
88
+ version: 1.9.3
125
89
  required_rubygems_version: !ruby/object:Gem::Requirement
126
90
  requirements:
127
91
  - - '>='
@@ -129,10 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
93
  version: '0'
130
94
  requirements: []
131
95
  rubyforge_project: noid
132
- rubygems_version: 2.0.0
96
+ rubygems_version: 2.1.11
133
97
  signing_key:
134
98
  specification_version: 4
135
99
  summary: Nice Opaque Identifier
136
- test_files:
137
- - spec/lib/minter_spec.rb
138
- - spec/spec_helper.rb
100
+ test_files: []
Binary file
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- &����B����� ����O#��I�� .���JI�kA.eG�mn=DXI�AWй�E��X �Q��Gs�̍�&tg��YX��4�}�w�*�~e�U�]�8�E�,+Dž�! }0ʍ���JNU���eP�*�u��?\��c�`í��eWݧ�S�x�s|��51AC��n�����Pk�!Ec&P���xce�:k��w�[�MώL�%�᷾eF�e�Y�y�A*ɏ�9� ���_��/�����(
data/.rvmrc DELETED
@@ -1,59 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7
- environment_id="ruby-1.9.3-p125@noid"
8
- rubygems_version="1.8.23"
9
-
10
- # Install rubies when used instead of only displaying a warning and exiting
11
- rvm_install_on_use_flag=1
12
-
13
- #
14
- # Uncomment following line if you want options to be set only for given project.
15
- #
16
- # PROJECT_JRUBY_OPTS=( --1.9 )
17
-
18
- #
19
- # First we attempt to load the desired environment directly from the environment
20
- # file. This is very fast and efficient compared to running through the entire
21
- # CLI and selector. If you want feedback on which environment was used then
22
- # insert the word 'use' after --create as this triggers verbose mode.
23
- #
24
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
25
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
26
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
27
-
28
- if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]; then
29
- . "${rvm_path:-$HOME/.rvm}/hooks/after_use"
30
- fi
31
- else
32
- # If the environment file has not yet been created, use the RVM CLI to select.
33
- if ! rvm --create "$environment_id"; then
34
- echo "Failed to create RVM environment '${environment_id}'."
35
- exit 1
36
- fi
37
- fi
38
-
39
- #
40
- # If you use an RVM gemset file to install a list of gems (*.gems), you can have
41
- # it be automatically loaded. Uncomment the following and adjust the filename if
42
- # necessary.
43
- #
44
- # filename=".gems"
45
- # if [[ -s "$filename" ]] ; then
46
- # rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
47
- # fi
48
-
49
- # Use the specified rubygems_version
50
- if [[ -n "${rubygems_version}" && ("$(gem --version)" != ${rubygems_version}) ]] ; then
51
- rvm rubygems "${rubygems_version}"
52
- fi
53
-
54
- # Ensure that Bundler is installed, install it if it is not.
55
- if ! (command -v bundle > /dev/null) ; then
56
- printf "The rubygem 'bundler' is not installed, installing it now.\n"
57
- gem install bundler
58
- fi
59
-
metadata.gz.sig DELETED
Binary file