xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/.rspec +2 -0
- data/Gemfile +5 -0
- data/Rakefile +5 -0
- data/VERSION +1 -0
- data/VERSIONING.md +18 -0
- data/VERSION_FOR_HUMANS +1 -0
- data/gemspec.gemspec +37 -0
- data/lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi.rb +5 -0
- data/lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/VERSION +1 -0
- data/lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/VERSION_FOR_HUMANS +1 -0
- data/lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/version.rb +4 -0
- data/rakelib~/gem.rake +13 -0
- data/rakelib~/licenses.rake +35 -0
- data/rakelib~/release.rake +17 -0
- data/rakelib~/spec.rake +3 -0
- data/rakelib~/test.rake +7 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/spec_spec.rb +11 -0
- metadata +137 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f0f2fbacc6ee131a99c0b3f49a9e023807bfbc1b
|
4
|
+
data.tar.gz: 34ad9fc85a2e60e21c2d99010f9a3464d79fb9a0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0ff34fc31475e958eac271e62215c4f73fc560feaac9ea02699ff064adb6a3df99c8dc34870128dbd8a45c897cda7373a79a7fe8cb77ce30a701e8a284c4fe1a
|
7
|
+
data.tar.gz: 8db599312cc4c38cdaa2755adf5f2bd6fc2d4eefd9310e3a7bbae7c5949fbdc7d33c95b9a19939c7ac6bd6fd54a6e0aa11e257114d55dc13db25068470c167a6
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/Rakefile
ADDED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/VERSION
|
data/VERSIONING.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
## Versioning
|
2
|
+
### Version Number for Machines
|
3
|
+
|
4
|
+
This gem uses a slightly modified version of the **SemVer** specification, namely:
|
5
|
+
```ruby
|
6
|
+
spec.version = "BREAKING.PATCHES.NONBREAKING"
|
7
|
+
```
|
8
|
+
You can use this versioning with your dependency tools, only you have a somewhat stronger guarantee that your
|
9
|
+
code won't break if you limit yourself to the third number, but you need to allow second level updates in order to
|
10
|
+
get (security and other) patches.
|
11
|
+
|
12
|
+
### Version Number for Humans
|
13
|
+
Since the above-described type of versioning doesn't tell you anything about the functional state of the gem (you can go from a "hello world" to a full blown operating system
|
14
|
+
without making a breaking change, as long as your operating system prints "hello world" to the screen) (SemVer, when used correctly, doesn't tell anything about the functional state of a software package either), a second, human-friendly version number can be found in `spec.metadata[:human_version]`.
|
15
|
+
|
16
|
+
The magnitude of this version number shall be made to correspond to actual functional changes in the software. If I've worked a lot on the package, I'll make it move a lot, but unless I've made breaking changes, I'll stick to only moving the third number in the `spec.version` version.
|
17
|
+
|
18
|
+
This number is for you. If you see it increase a lot, it probably means much more new goodies, but is less strictly defined then the version number for the machine. (I reserve the right to later change the way I change this number).
|
data/VERSION_FOR_HUMANS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/VERSION_FOR_HUM
|
data/gemspec.gemspec
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
#Naming utils, git utils, and default boilerplate
|
4
|
+
require 'gemspec'
|
5
|
+
|
6
|
+
#This is a place to put custom overrides to Gemspec.boilerplate
|
7
|
+
begin; require_relative 'gemspec.rb'; rescue LoadError; end
|
8
|
+
|
9
|
+
Gem::Specification.new do |s|
|
10
|
+
|
11
|
+
#Name is the name of the project root directory
|
12
|
+
s.name = Gemspec.base_dirname(__FILE__)
|
13
|
+
|
14
|
+
Gemspec.boilerplate(s)
|
15
|
+
|
16
|
+
#s.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
|
17
|
+
|
18
|
+
#####Must change
|
19
|
+
s.summary = %q{My gem playground}
|
20
|
+
s.description = %q{I hope I didn't take up a gem name somebody else wanted}
|
21
|
+
s.licenses = %w[GPL-2.0]
|
22
|
+
|
23
|
+
|
24
|
+
#####Unlikely to change
|
25
|
+
s.email = [ `git config user.email` ]
|
26
|
+
s.homepage = "https://github.com/#{`git config github.username`.chomp}/#{s.name}.git"
|
27
|
+
$? == 0 or s.homepage = nil
|
28
|
+
###################################
|
29
|
+
|
30
|
+
#Dependencies
|
31
|
+
s.add_development_dependency 'rake', '~> 10.4'
|
32
|
+
s.add_development_dependency 'minitest'
|
33
|
+
s.add_development_dependency 'minitest-documentation'
|
34
|
+
s.add_development_dependency 'rspec'
|
35
|
+
s.add_development_dependency 'rubygems-tasks'
|
36
|
+
|
37
|
+
end
|
data/lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -0,0 +1 @@
|
|
1
|
+
0.1
|
data/rakelib~/gem.rake
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rubygems/package_task'
|
2
|
+
$:.unshift(File.expand_path('../lib',__FILE__))
|
3
|
+
|
4
|
+
$gemspec = Gem::Specification.load(Dir["*.gemspec"][0])
|
5
|
+
files = Rake::FileList.new(Gemspec::Git.ls_files)
|
6
|
+
|
7
|
+
Gem::PackageTask.new($gemspec) { }
|
8
|
+
task :gem => :chmod
|
9
|
+
task :chmod do
|
10
|
+
files.each do |file|
|
11
|
+
chmod 'o+r', file unless File.world_readable?(file)
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
|
2
|
+
desc 'Render licenses into LICENSES/'
|
3
|
+
task 'licenses' => 'LICENSES/.info'
|
4
|
+
|
5
|
+
desc 'View licenses'
|
6
|
+
task 'view-licenses' => 'licenses' do
|
7
|
+
sh "less", *Dir["LICENSES/*"]
|
8
|
+
end
|
9
|
+
|
10
|
+
#############################################3
|
11
|
+
|
12
|
+
directory "LICENSES"
|
13
|
+
gemspec = Gem::Specification.load(Dir["*.gemspec"][0])
|
14
|
+
|
15
|
+
def render_erb(s, src, dest)
|
16
|
+
File.write(dest,
|
17
|
+
ERB.new(File.read(src), nil, '-').result(binding)
|
18
|
+
)
|
19
|
+
end
|
20
|
+
|
21
|
+
file "LICENSES/.info" => "gemspec.gemspec" do |t|
|
22
|
+
mkdir_p "LICENSES"
|
23
|
+
|
24
|
+
licenses_dir = File.expand_path('../../share/gemspec/licenses/', `gem which gemspec`.chomp)
|
25
|
+
$? == 0 or licenses_dir = File.expand_path('licenses/')
|
26
|
+
|
27
|
+
gemspec.licenses.each do |license|
|
28
|
+
render_erb(gemspec,
|
29
|
+
File.join(licenses_dir, license + '.erb'),
|
30
|
+
"LICENSES/#{Shellwords.escape license}"
|
31
|
+
)
|
32
|
+
end
|
33
|
+
File.write(t.name, "This directory contains the licenses you can use with this gem\n")
|
34
|
+
end
|
35
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'gemspec/git'
|
2
|
+
|
3
|
+
desc "Push master to origin, build gem, and push it"
|
4
|
+
task 'release' => 'gem' do
|
5
|
+
Gemspec::Git.cdroot!
|
6
|
+
Gemspec::Git.clean? or (
|
7
|
+
warn "Need to clean up before releasing"
|
8
|
+
exit 1
|
9
|
+
)
|
10
|
+
sh "git checkout master"
|
11
|
+
s = Gem::Specification.load('gemspec.gemspec')
|
12
|
+
sh <<-EOF
|
13
|
+
git push origin master &
|
14
|
+
rake gem && gem push pkg/#{s.name}-#{s.version}.gem
|
15
|
+
wait
|
16
|
+
EOF
|
17
|
+
end
|
data/rakelib~/spec.rake
ADDED
data/rakelib~/test.rake
ADDED
data/spec/spec_helper.rb
ADDED
data/spec/spec_spec.rb
ADDED
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Petr Skocik
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '10.4'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '10.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest-documentation
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubygems-tasks
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: I hope I didn't take up a gem name somebody else wanted
|
84
|
+
email:
|
85
|
+
- |
|
86
|
+
pskocik@gmail.com
|
87
|
+
executables: []
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".rspec"
|
93
|
+
- Gemfile
|
94
|
+
- Rakefile
|
95
|
+
- VERSION
|
96
|
+
- VERSIONING.md
|
97
|
+
- VERSION_FOR_HUMANS
|
98
|
+
- gemspec.gemspec
|
99
|
+
- lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi.rb
|
100
|
+
- lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/VERSION
|
101
|
+
- lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/VERSION_FOR_HUMANS
|
102
|
+
- lib/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi/version.rb
|
103
|
+
- rakelib~/gem.rake
|
104
|
+
- rakelib~/licenses.rake
|
105
|
+
- rakelib~/release.rake
|
106
|
+
- rakelib~/spec.rake
|
107
|
+
- rakelib~/test.rake
|
108
|
+
- spec/spec_helper.rb
|
109
|
+
- spec/spec_spec.rb
|
110
|
+
homepage: https://github.com/pjump/xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi.git
|
111
|
+
licenses:
|
112
|
+
- GPL-2.0
|
113
|
+
metadata:
|
114
|
+
namespaced_path: xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi
|
115
|
+
constant_name: Xlmydsykwnrfbnvjffqcokoorkbskzzhrtgnzxkapmjtffjfkwcvwklmsrzwfiatwigrvmftpbybbeqi
|
116
|
+
human_version: '0.1'
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
requirements: []
|
132
|
+
rubyforge_project:
|
133
|
+
rubygems_version: 2.4.6
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: My gem playground
|
137
|
+
test_files: []
|