juwelier 2.4.5 → 2.4.6
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.
- checksums.yaml +4 -4
- data/.semver +1 -1
- data/README.org +56 -48
- data/juwelier.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bea3e83e09fa88b6edb94d1520afcffa2a844fb
|
|
4
|
+
data.tar.gz: d9f7d39d318c55105b04a5263cb2d6e31f3a0372
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 199947968f9af2e0285f67515f2cb6b79091fa52cf52db030ebbd0d42c14c6bbe55370409c1e3f31d07330949c37c57d2661f2b45b6a01e60b53aa6bc4173824
|
|
7
|
+
data.tar.gz: 5581cc917c4b5a423a13d53504fab673804885424e8f45c0f2a5be06325559c20b6602b5fef9214bdd736ea1f9f2cabbd12cad96ef387f367e2ba5360c794270
|
data/.semver
CHANGED
data/README.org
CHANGED
|
@@ -1,35 +1,49 @@
|
|
|
1
|
-
* Juwelier: Craft the perfect RubyGem for Ruby 2.3.x and Beyond
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
* Juwelier: Craft the perfect RubyGem for Ruby 2.3.x and Beyond :TOC_5_gh:
|
|
2
|
+
- [[#intro][Intro]]
|
|
3
|
+
- [[#migrating-from-jeweler][Migrating from Jeweler]]
|
|
4
|
+
- [[#hot-ideas][Hot Ideas]]
|
|
5
|
+
- [[#merging-jeweler-and-juwelier][Merging Jeweler and Juwelier]]
|
|
6
|
+
- [[#hello-world][Hello, world]]
|
|
7
|
+
- [[#more-juwelier-options][More =juwelier= options]]
|
|
8
|
+
- [[#hello-rake-tasks][Hello, rake tasks]]
|
|
9
|
+
- [[#releasing][Releasing]]
|
|
10
|
+
- [[#version-bumping][Version bumping]]
|
|
11
|
+
- [[#customizing-your-gem][Customizing your gem]]
|
|
12
|
+
- [[#project-information][Project information]]
|
|
13
|
+
- [[#juwelier-files][Juwelier Files]]
|
|
14
|
+
- [[#dependencies][Dependencies]]
|
|
15
|
+
- [[#juwelier-executables][Juwelier Executables]]
|
|
16
|
+
- [[#versioning][Versioning]]
|
|
17
|
+
- [[#juwelier-rake-tasks][Juwelier Rake tasks]]
|
|
18
|
+
- [[#new-features][New Features]]
|
|
19
|
+
- [[#rusty-gems-support][Rusty Gems Support]]
|
|
20
|
+
- [[#example][Example]]
|
|
21
|
+
- [[#release-notes][Release Notes]]
|
|
22
|
+
- [[#known-issues][Known Issues]]
|
|
23
|
+
- [[#contributing-to][Contributing to]]
|
|
24
|
+
- [[#copyright][Copyright]]
|
|
25
|
+
|
|
26
|
+
** Intro
|
|
27
|
+
Provides the noble ruby developer with three primary features:
|
|
28
|
+
|
|
29
|
+
- a library or managing and releasing RubyGem projects
|
|
30
|
+
- a scaffold generator for starting new RubyGem projects
|
|
31
|
+
- a means to write a RubyGem in Rust (creating a RustyGem)
|
|
32
|
+
|
|
33
|
+
PLEASE NOTE that I have taken over the original Jeweler and will
|
|
34
|
+
be maintaining both repos for a while, and will eventually merge them
|
|
35
|
+
to one. In the mean time, all new features shall be added to Juwelier,
|
|
36
|
+
while keeping the origial Jeweler up-to-date with the latest Ruby
|
|
37
|
+
releases. When the merge takes place, it will be in a manner that
|
|
38
|
+
will not break either the Jeweler or the Juwelier camps.
|
|
39
|
+
|
|
40
|
+
"Juwelier" is pronounced "you-ve-LEER" (with German inflection! :))
|
|
28
41
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
42
|
+
** Migrating from Jeweler
|
|
43
|
+
Note that if you have a preexisting project created with Jeweler, you
|
|
44
|
+
may have some issues. Eventally I will provide a migration option, but
|
|
45
|
+
in the meantime, you may wish to run this bash script from the root
|
|
46
|
+
directory of your project:
|
|
33
47
|
|
|
34
48
|
#+BEGIN_SRC bash
|
|
35
49
|
for f in $(grep -irl jeweler *)
|
|
@@ -40,8 +54,6 @@
|
|
|
40
54
|
bundle update
|
|
41
55
|
#+END_SRC
|
|
42
56
|
|
|
43
|
-
As you know, "Juwelier" is "Jeweler" in German. Since I have made
|
|
44
|
-
Germany my new home, it only seemed approporiate.
|
|
45
57
|
** Hot Ideas
|
|
46
58
|
*** Merging Jeweler and Juwelier
|
|
47
59
|
This just occured to me -- we simply use metaprorgamming to use "Jeweler"
|
|
@@ -256,7 +268,7 @@ Hey, this is you, the author (or me in this case). The =juwelier=
|
|
|
256
268
|
generator also guesses this from your Git configuration. This is
|
|
257
269
|
displayed by =gem list --details= and on rubygems.org.
|
|
258
270
|
|
|
259
|
-
** Juwelier
|
|
271
|
+
** Juwelier Files
|
|
260
272
|
|
|
261
273
|
ThJuweliere quickest way to add more files is to =git add= them. uses
|
|
262
274
|
your Git repository to populate your gem's files by including added and
|
|
@@ -308,18 +320,18 @@ except until the point that 2.0.0 comes out and totally breaks backwards
|
|
|
308
320
|
the API. That's when it's good to use =~> 1.2.1=, which requires any
|
|
309
321
|
version in the =1.2= family, starting with =1.2.1=.
|
|
310
322
|
|
|
311
|
-
** Juwelier
|
|
312
|
-
|
|
313
|
-
Executables let your gem install shell commands. Just put any executable
|
|
314
|
-
scripts in the =bin/= directory, make sure they are added using =git=,
|
|
315
|
-
and will take care of the rest.
|
|
323
|
+
** Juwelier Executables
|
|
316
324
|
|
|
317
|
-
|
|
318
|
-
|
|
325
|
+
Executables let your gem install shell commands. Just put any executable
|
|
326
|
+
scripts in the =bin/= directory, make sure they are added using =git=,
|
|
327
|
+
and will take care of the rest.
|
|
328
|
+
|
|
329
|
+
When you need more finely grained control over it, you can set it
|
|
330
|
+
yourself:
|
|
319
331
|
|
|
320
|
-
#+BEGIN_EXAMPLE
|
|
332
|
+
#+BEGIN_EXAMPLE
|
|
321
333
|
gem.executables = ['foo'] # note, it's the file name relative to `bin/`, not the project root
|
|
322
|
-
#+END_EXAMPLE
|
|
334
|
+
#+END_EXAMPLE
|
|
323
335
|
|
|
324
336
|
*** Versioning
|
|
325
337
|
|
|
@@ -358,7 +370,7 @@ they are using at runtime.
|
|
|
358
370
|
Juwelier require 'juwelier' require './lib/foo/version.rb' ::Tasks.new
|
|
359
371
|
do |gem| # snip gem.version = Foo::Version::STRING end
|
|
360
372
|
|
|
361
|
-
** Juwelier
|
|
373
|
+
** Juwelier Rake tasks
|
|
362
374
|
|
|
363
375
|
lives inside of Rake. As a result, they are dear friends. But, that
|
|
364
376
|
friendship doesn't interfere with typical Rake operations.
|
|
@@ -414,10 +426,6 @@ use third party Rake libraries without cause for concern.
|
|
|
414
426
|
|
|
415
427
|
And that should install your foo gem cleanly.
|
|
416
428
|
|
|
417
|
-
As of now, this feature is extremely experimental, but
|
|
418
|
-
if you should be able to use this as a nice scafford
|
|
419
|
-
to do your own Rusty Gems. I will improve this later.
|
|
420
|
-
|
|
421
429
|
** Release Notes
|
|
422
430
|
| Version | Date | Notes |
|
|
423
431
|
|---------+------------+-------------------------------------------------------------------------------------------------------------|
|
data/juwelier.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: juwelier 2.4.
|
|
5
|
+
# stub: juwelier 2.4.6 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "juwelier".freeze
|
|
9
|
-
s.version = "2.4.
|
|
9
|
+
s.version = "2.4.6"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Fred Mitchell".freeze, "Josh Nichols".freeze, "Yusuke Murata".freeze]
|
|
14
|
-
s.date = "2017-
|
|
14
|
+
s.date = "2017-06-02"
|
|
15
15
|
s.description = "Simple and opinionated helper for creating Rubygem projects on GitHub".freeze
|
|
16
16
|
s.email = ["fred.mitchell@gmx.de".freeze, "fred.mitchell@gmx.com".freeze, "info@muratayusuke.com".freeze]
|
|
17
17
|
s.executables = ["juwelier".freeze]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: juwelier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fred Mitchell
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2017-
|
|
13
|
+
date: 2017-06-02 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rake
|