DevHeads.net

Ruby

Earn $100-$500 per month

Great Offer!!!
Now you can earn $100-$500 per month with virtualofficejob.com.Here has many choice for you.You can get job absolutely free. Visit this page website:<a href="http://www.virtualofficejob.com/affiliate.php?id=FR30366"target="_blank"></a>Free job for you!

Free job

Free job for you!
Are you want any Internet home job?It is perfect job for you. Absolutely free and easy job here. To know more about this Please visit this page website:<a href="http://www.virtualofficejob.com/affiliate.php?id=FR30366"target="_blank"=></a>

Free job

Great offer for you. Are you want to do a Internet job?It's for you.

So try Virtualofficejob.com and enjoy it...

Ruby 2.5.0 Released

We are pleased to announce the release of the Ruby 2.5.0.

Ruby 2.5.0 is the first stable release of the Ruby 2.5 series. It
introduces many new features and performance improvements. The notable
changes are as follows:

## New Features
- `rescue`/`else`/`ensure` are now allowed to be used directly with
`do`/`end` blocks. [&#x5b;Feature
#12906&#x5d;](<a href="https://bugs.ruby-lang.org/issues/12906" title="https://bugs.ruby-lang.org/issues/12906">https://bugs.ruby-lang.org/issues/12906</a>)
- Add `yield_self` to yield given block in its context. Unlike `tap`,
it returns the result of the block.

unicorn 5.4.0 - Rack HTTP server for fast clients and Unix

unicorn is an HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels.

rasn1 0.6.1 released

rasn1 0.6.1 has been released.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <https://github.com/sdaubert/rasn1/wiki>

RASN1 is a pure ruby ASN.1 library.

VS Code for Ruby – Experience?!

Hi,

Has anybody experience using Visual Studio Code for Ruby?

I haven’t got a special problem and I dont’t want to start another IDE war, but I’m looking for some real life experience with this IDE and Ruby; is somebody using VS Code for developing Ruby applications? Any pros/cons re. this setup? Something a starter with this setup should now about?

I’m on Mac using the latest Ruby and VS Code installations with the »standard« Ruby extension rebornix.Ruby and necessary dependecies like ruby-debug-ide, debase installed.

Many thanks!

Regards,
Michael

Day 20 - Ruby Advent Calendar 2017 - Build Your Own What’s On / What’s Up Event Calendar from READMEs in (Structured) Text; Ruby Conferences from Around the World and Much More

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the (talking to myself :-) on the mailing list)
series on Day 20 with the eventdb [2] library / gem and the whatson
command line tool suite (rubyconf, beerfest, kickoff):

Build your own What’s On / What’s Up event calendar from READMEs in
(structured) text [...]

Note: A ready-to-use command-line tool e.g. rubyconf for listing
upcoming ruby conferences & camps is bundled up in the whatson library
& command line tool suite e.g.

minitest 5.11.0b1 Released

minitest version 5.11.0b1 has been released!

* home: <https://github.com/seattlerb/minitest>
* bugs: <https://github.com/seattlerb/minitest/issues>
* rdoc: <http://docs.seattlerb.org/minitest>
* vim: <https://github.com/sunaku/vim-ruby-minitest>
* emacs: <https://github.com/arthurnn/minitest-emacs>

minitest provides a complete suite of testing facilities supporting
TDD, BDD, mocking, and benchmarking.

"I had a class with Jim Weirich on testing last week and we were
allowed to choose our testing frameworks.

How do I get open-uri to deliver the same html as what Firefox is seeing?

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

Nokogiri parsing Google page. Want links

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

"90 Day Wonder" Mentoring

Having a mentor helps you grow much faster than just consuming a book or
video. Insightful feedback pushes you to learn faster. Mentors have long
been a strength of the coding community.

Except for those of us who don't work in a coding shop, or we're doing a
language/skill no one at work knows or cares about. IRC is good for fast
answers but not as helpful for long term growth.

A few years ago I ran a "90 Day Wonder" mentoring program. We took a
book and worked through it together. Since I wasn't a subject matter
expert I enlisted smarter people to help.

packetgen 2.3.0 released

packetgen 2.3.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <https://github.com/sdaubert/packetgen/wiki>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,
ICMPv6, UDP, TCP, SNMP, ESP, DNS, IKE, EAP, BOOTP, DHCP, TFTP and HTTP.

Changes:

### 2.3.0 / 2017-12-17

* Add support for TFTP protocol.
* SNMP:
** add PacketGen::Header::SNMP#pdu to ease access to PDU
** PacketGen::Header::SNMP::GetRequest: add some de

Nokogiri html xpath gestalt

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

fast_underscore

Hi Ruby folks,

In the flavor of Sam Saffron's fast_blank gem for speeding up AS' blank?
method, I wrote a fast_underscore gem (
<a href="https://github.com/kddeisz/fast_underscore" title="https://github.com/kddeisz/fast_underscore">https://github.com/kddeisz/fast_underscore</a>) this weekend that does the same
for the AS underscore method (was noticing it in my stack profiling). Some
people may see a very small uptick in performance from their Rails apps
using this gem. YMMV.

rasn1 0.6.0 released

rasn1 0.6.0 has been released.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <https://github.com/sdaubert/rasn1/wiki>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.

Changes:

### 0.6.0 / 2017-12-16

* Break Types API: remove mandatory name argument.

An issue piping to "head"

Hi Rubysts !

I found this little issue, I woud like to know what you think about it.

This simple little script
I never saw errors coming out from "head".
As far as i understand "head" is closing the "pipe" and "Ruby" complains
it has not where to write to.

In my opinion an error should not be given, in line with what
happens in other Unix tools as
#> cat foofile | head

Bye
Nicola

Unsubscribe: <m

Day 16 - Ruby Advent Calendar 2017 - gli - Add Git-like interfaces (GLI) to your awesome command-line tools; talk to your computer (bots) in the shell in text; commands, commands, commands

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 16 with the gli [2] library /
gem. Add Git-like interfaces (GLI) to your awesome command-line tools;
talk to your computer (bots) in the shell in text; commands, commands, commands.

Thanks to David Bryant Copeland for publishing more than 70+
releases since 2009
leading to today's version 2.17+ and more than 8 million downloads.

Happy scripting & talking. Cheers.

olddoc 1.5.1 - old-fashioned RDoc generator

The reasons for olddoc will become more important as Net Neutrality
is dismantled in the US. I expect bandwidth to anti-consumerist
projects such as olddoc itself to be throttled, if not outright
censored out of existence.

olddoc contains old-fashioned document generators for those who do not
wish to impose bloated, new-fangled web cruft on their readers.

olddoc contains oldweb, an HTML generator without any images, frames,
CSS, or JavaScript. It is designed for users of text-based browsers
and/or low-bandwidth connections.

kgio 2.11.1 - legacy I/O for legacy Ruby + Unix

This is a legacy project, do not use it for new projects. Ruby
2.3 and later should make this obsolete.

Day 15 - Ruby Advent Calendar 2017 - kramdown - Turn easy-to-read and easy-to-write (structured) plain text with "lite" markup formatting conventions in markdown into web pages or latex typesetting documents

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 15 with the kramdown [2] library /
gem and command line tool.

Ruby 2.4.3, 2.3.6 and 2.2.9 Released with several security fixes

Hi, all

We've just released Ruby 2.4.3, 2.3.6 and 2.2.9.
How to download and details:

* [Ruby 2.4.3 Released](<a href="https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/" title="https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/">https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/</a>)
* [Ruby 2.3.6 Released](<a href="https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-3-6-released/" title="https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-3-6-released/">https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-3-6-released/</a>)
* [Ruby 2.2.9 Released](<a href="https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-2-9-released/" title="https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-2-9-released/">https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-2-9-released/</a>)

These releases include several security fixes.
You can check details:

* [CVE-2017-17405: Command injection vulnerability in Net::FTP](/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/)
* [Unsafe Object Deserialization Vulner

Ruby 2.5.0-rc1 Released

We are pleased to announce the release of Ruby 2.5.0-rc1.

Ruby 2.5.0-rc1 is the first preview release toward Ruby 2.5.0.
It introduces some new features and performance improvements, for example:

## New Features

* Print backtrace and error message in reverse order if STDERR is
unchanged and a tty.
[Feature #8661] [experimental]

* Top-level constant look-up is removed. [Feature #11547]

* rescue/else/ensure are allowed inside do/end blocks.

Day 14 - Ruby Advent Calendar 2017 - hoe - Build, package and publish gems with hoe; use build scripts with ready-to-use rake (ruby make) tasks; automate, automate, automate

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 14 with the hoe library /
gem and command line tools. Build, package and publish gems with hoe;
use build scripts with ready-to-use rake (ruby make) tasks; automate,
automate, automate.

Thanks to Ryan Davis and friends (from Seattle.rb)
for polishing the gem all those years - more than 100+ releases -
leading to today’s version 3.16.

Happy scripting & automating.

What's News in Ruby 2.5? Upcoming Dec, 25th 2017 - Add Your Ruby 2.5 Articles / Posts

Hello,

over at the Ruby Advent Calendar 2017 [1] counting down to Dec,
25th I've added a news block collecting articles / posts about Ruby
2.5.

So far articles / posts include:

- Ruby 2.5.0 Changes
Official changes since the 2.4.0 release

- Standard Gems 2.5.0 - Default Gems, Bundled Gems
by Jan Lelis, Idiosyncratic Ruby

- 10 New Features in Ruby 2.5
by Junichi Ito, a Ruby programmer at SonicGarden.jp

- 10 More New Features in Ruby 2.5
by Tom Lord, Software Developer from London

- Performance Improvements in Ruby 2.5
by Jesus Castello, Ruby Guides

- yield_s

Day 13 - Ruby Advent Calendar 2017 - schemadoc - Auto-generate your SQL database schema documentation for tables, columns, symbols A-Z, etc; use your own (static) themes; connects w/ ActiveRecord (SQLite, PostgreSQL, ...) and much more

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 13 with the schemadoc library /
gem and command line tool. Auto-generate your SQL database schema
documentation for tables, columns, symbols A-Z, etc; use your own
(static) themes; connects w/ ActiveRecord (SQLite, PostgreSQL, ...)
and much more.

Happy documenting & publishing.

rasn1 0.5.0 released

rasn1 0.5.0 has been released.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <https://github.com/sdaubert/rasn1/wiki>

RASN1 is a pure ruby ASN.1 library.

Day 12 - Ruby Advent Calendar 2017 - pluto - Auto-build web pages from published web feeds; planet (static) website generator

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 12 with the pluto
library / gem and command line tool. Auto-build web pages from
published web feeds.
Planet (static) website generator.

The Future of Online News - The Future of Facebook & Co - Web Feeds,
Web Feeds, Web Feeds.

Happy publishing.

Bash script <=> Ruby sctipt

People,

I regularly grab information from the system using Ruby's backtick and
system call facilities for getting values into variables in the Ruby
script but sometimes it would be good to go the other way - if my shell
script is too big and painful to rewrite in Ruby it would be good to be
able to call a Ruby function to do something and then pass the results
back to the shell script. I have been messing around for a few hours
now and I can't see a nice way of doing it . .

Suggestions?

Thanks,

Phil.

"Well used built in classes and modules" for Ruby Certification Exams?

The Silver Certification exam references:

"Well-used built-in classes and modules (e.g., Object, Numerical
classes, String, Array, Hash, Kernel, Enumerable, Comparable)"

The Gold Certification exam references:

" Well-used built-in classes and modules
(e.g., Object, Module, Kernel, Enumerable, Comparable)
Numeric
Regular expression
Proc
Thread/Fiber"

Besides the ones specifically listed, which built in classes and modules
are considered "well used"?

Thanks!

Leam
-- Setting up for more Ruby in 2018!

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subje

x25519.rb and ed25519.rb: modern elliptic curve cryptography gems for Ruby

I'm excited to announce the first public releases (v0.1.0) of two RubyGems
implementing modern elliptic curve cryptography.

*x25519*: elliptic curve Diffie-Hellman algorithm providing key
exchange/agreement, described in RFC 7748:

<a href="https://github.com/cryptosphere/x25519" title="https://github.com/cryptosphere/x25519">https://github.com/cryptosphere/x25519</a>

*ed25519*: elliptic curve digital signature algorithm, described in RFC
8032:

<a href="https://github.com/cryptosphere/ed25519" title="https://github.com/cryptosphere/ed25519">https://github.com/cryptosphere/ed25519</a>

Both of these algorithms are already available in the RbNaCl gem, which I
also authored.

Day 11 - Ruby Advent Calendar 2017 - jekyll_octopod - Publish your own radio talk shows; podcast extension for building (static) websites with Jekyll; incl. podcast web feeds with RSS enclosures and JSON Feed attachments in the OGG, MP3 or M4A audio forma

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 11 with the jekyll-octopod
library / gem and command line tool. Publish your own radio talk
shows; podcast extension for building (static) websites with Jekyll;
incl. podcast web feeds with RSS enclosures and JSON Feed attachments
in the OGG, MP3 or M4A audio formats.

Happy talking and publishing.

How to connect to MySQL using ActiveRecord?

Hi rubyists,

How do I connect to a MySQL database using ActiveRecord?

Yours Sincerely,

Surya Poojary

Day 10 - Ruby Advent Calendar 2017 - feedtxt - Read Feed.TXT - feeds in text (unicode); publish & share posts, articles, podcasts, 'n' more

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 10 with the feedtxt library / gem
[2] - Read Feed.TXT - feeds in text (unicode). Publish & share posts,
articles, podcasts, 'n' more.

Web Feeds! Web Feeds! Web Feeds!

Day 9 - Ruby Advent Calendar 2017 - hexapdf - Read and write PDF documents; start from zero or merge, extract, optimize and much more

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 9 with hexapdf library / gem and
command line tool [2] - Read and write PDF documents; start from zero
or merge, extract, optimize and much more. Incl.

getpwnam and friends + GVL

A lot of these functions in Etc and also used for $HOME
resolution require opening /etc/passwd or /etc/group, so

Basically the same problem as readdir(3) I wrote about in
<a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/83808" title="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/83808">http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/83808</a>

(My /etc/ is on a slow rotating disk)

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

Day 8 - Ruby Advent Calendar 2017 - feedparser - Read web feeds in XML, HTML, JSON, TXT and more; build your own news reader from scratch in twenty lines

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 8 with feedparser [2] - Read web
feeds in XML, HTML, JSON, TXT and more. Build your own news reader
from scratch in twenty lines.

All about the future of online news - the future of Facebook & Co -
Web Feeds! Web Feeds!

JRuby 9.1.15.0 Released

Major features of JRuby 9000:

Ruby 2.x compatibility
A new optimizing runtime based on a traditional compiler design
New POSIX-friendly IO and Process
Fully ported encoding/transcoding logic from MRI

If you do find issues then report them on using our issue tracker at
<a href="http://bugs.jruby.org" title="http://bugs.jruby.org">http://bugs.jruby.org</a>. We also encourage users to join our IRC channel
(#jruby on Freenode) and mailing lists.

Day 7 - Ruby Advent Calendar 2017 - webservice - Script HTTP JSON APIs (web services) in classy Sinatra 2.0-style get / post methods with Mustermann 1.0 route / url pattern matching; load (micro) web services at-runtime and more

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 7 with webservice [2] - Script
HTTP JSON APIs (web services) in classy Sinatra 2.0-style get / post
methods with Mustermann 1.0 route / url pattern matching. Load (micro)
web services at-runtime using Webservice.load_file. Get a free wiener
lager, welsh red ale or kriek lambic beer delivered to your home
(computer) in JSON and much much more.

Cheers.

Day 6 - Ruby Advent Calendar 2017 - almost-sinatra - Build your own webframework from scratch with Rack and Tilt in less than ten lines

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 6 with almost-sinatra [2] - Build
your own webframework from scratch
with Rack and Tilt in less than ten lines (of Ruby).

The legendary mega hack by Konstantin Haase - six lines of Almost
Sinatra now "unobfuscated" and
bundled up for easy (re)use and studying.

Got inspired? Build your own webframework.

Day 5 - Ruby Advent Calendar 2017 - json - Read Next Generation JSON Versions (HanSON, SON, JSONX/JSON11, etc.) with Comments, Unquoted Keys, Multi-Line Strings, Trailing Commas, Optional Commas, and More

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 5 with json-next [2] - Read next
generation JSON versions (HanSON, SON, JSONX/JSON11, etc.) with
comments, unquoted keys, multi-line strings, trailing commas, optional
commas, and more.

The json-next gem lets you convert and read (parse) next gen JSON
versions including: HanSON e.g. HANSON.parse, SON e.g. SON.parse,
JSONX e.g. JSONX.parse.

Bonus: More JSON Formats.

Day 4 - Ruby Advent Calendar 2017 - journaltxt - Blogging reinvented: Read Journal.TXT - single-text file journals - and write out (auto-build) a blog (w/ Jekyll posts etc.)

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 4 with journaltxt [2] - Blogging
reinvented: Read Journal.TXT - single-text file journals - and write
out (auto-build) a blog (w/ Jekyll posts etc.

Bonus: Add Your Perfect Day!

Berlin.TXT, Munich.TXT, Salzburg.TXT, Paris.TXT, London.TXT,
Rome.TXT, New York.TXT, Austin.TXT, Tornoto.TXT, Calgary.TXT,
Melbourne.TXT, Sydney.TXT, …

Anyone? Write your perfect day(s) in a single-text file with Journal.TXT.

Cheers.

rasn1 0.4.0 released

rasn1 0.4.0 has been released.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <https://github.com/sdaubert/rasn1/wiki>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.

The RASN1::Model class is the entry point to create a parser/encoder.

Simple example:
From ASN1.

Doubt on define_method in module

Hi

The following code prints "wow" both the times instead of "cool" and "wow" as I was expecting. Why does this happen and how should I correct this ?

I know that it is possible to just define an instance method in the module that returns self.class.name.downcase, but I wish to do it this way using define_method.

I don't wish to evaluate the class' name every time the method is called.

Day 3 - Ruby Advent Calendar 2017 - quik - Quick starter template script wizard - the missing code generator and project scaffolder for gems, sinatra, jekyll & more

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 3 with quik [2] -Quick starter
template script wizard - the missing code generator and project
scaffolder for gems, sinatra, jekyll & more.
o on.

Ever asked yourself

- Q: How do you get started with creating a new gem?
- Q: How do you get started with creating a new sinatra app or service?
- Q: How do you get started with creating a new jekyll theme? and so on.

Ask no more :-) try quik.

Day 2 - Ruby Advent Calendar 2017 - factbook - Turn the World Factbook (260+ country profiles) into open structured data e.g JSON

Hello,

welcome to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let’s continue the series on Day 2 with factbook [2] - Turn the
World Factbook (260+ country profiles) into open structured data e.g
JSON.

Explore the world with ruby e.g. Where do you find gold in the
world? Look for the economy / resources section.What countries have
the most internet hosts? What countries have the most proven crude
oil reserves?

Day 1 - Ruby Advent Calendar 2017 - blockchain-lite - Build your own blockchains with crypto hashes

Hello,

welcome to the Ruby Advent Calendar 2017 [1] The idea is: 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's kick off the series on Day 1 with blockchain-lite [2] - Build
your own blockchains with crypto hashes; revolutionize the world with
blockchains, blockchains, blockchains one block at a time!

Cheers.

PS: You're more than welcome to send in your articles (about your
library / gem of choice) too!

[1] <a href="https://planetruby.github.io/advent2017" title="https://planetruby.github.io/advent2017">https://planetruby.github.io/advent2017</a>
[2] <a href="https://planetruby.github.io/advent2017/01-blockchain-lite" title="https://planetruby.github.io/advent2017/01-blockchain-lite">https://planetruby.github.io/advent2017/01-blockchain-lite</a>

Unsubscribe: <mailto:ruby-talk-request@ruby-la

OpenSSL wrap

Hello,

To encrypt a file i use the following command line, a password will be
prompted :
openssl enc -aes-256-cbc -in un_encrypted.data -out encrypted.enc

The same, to decrypt a file, i use the following command line, a
password will be prompted :
openssl enc -d -aes-256-cbc -in encrypted.enc -out un_encrypted.data

Is there a Ruby Gem for that ?

Thank you very much anyway.

Cheers,

Marc.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

debride 1.8.1 Released

debride version 1.8.1 has been released!

* home: <https://github.com/seattlerb/debride>
* rdoc: <http://docs.seattlerb.org/debride>

Analyze code for potentially uncalled / dead methods, now with auto-removal.

Changes:

### 1.8.1 / 2017-11-29

* 2 minor enhancements:

* Add basic support for jbuilder files. (d-mato)
* Added rails & whitelist example to readme. (TheRusskiy)

* 2 bug fixes:

* Capture RegexpError and skip file. (mrdShinse)
* Fixed reporting of cdecl+const2 (eg X::Y = 42).

packetgen 2.2.0 released

packetgen 2.2.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <https://github.com/sdaubert/packetgen/wiki>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,
ICMPv6, UDP, TCP, SNMP, ESP, DNS, IKE, EAP, BOOTP, DHCP and HTTP.

Changes:

### 2.2.0 / 2017-11-29

* Add support for BOOTP, DHCP and HTTP protocols.
* Add Utils.mitm to mount Man-In-The-Middle attacks on local network
(based on ARP spoofing).
* Header::I

ANN elastic_notifier 0.1.0

Hi all!

First version of ElasticNotifier gem has been released.

check the documentation here: <a href="https://github.com/hspazio/elastic_notifier" title="https://github.com/hspazio/elastic_notifier">https://github.com/hspazio/elastic_notifier</a>

ElasticNotifier gem provides a simple API to send error notifications to an
Elastic Search server. It can also be used as plug-in for
exception_notification
<https://github.com/smartinez87/exception_notification> gem to send error
notifications caught by the Rack middleware.

Any feedback is very much appreciated!

*Fabio Pitino*

Yuki & Moto Press Bookshelf Update - Free (Online) Books about Ruby 'n' Friends

Hello,

I'm a big fan of the latest and greatest plugin addition to GitHub
Pages (and Jekyll), that is, Jekyll Remote Themes.

Using a simple config entry you can "automagically" pull in remote
themes (layouts, includes, javascripts, etc).

Shell in old versions of NetSSH

In older versions of net-ssh there used to be a shell function that allowed
you to open up a shell on the remote host and issue commands. At some point
this was removed

Presently it is possible to issue commands with something like

ssh = Net::SSH.start(...)
ssh.exec!(some command or other)

The problem is each exec! call opens a new shell on each call so it is not
possible to retain your state on the remote machine.

RSpec recipe: remove constants created during a test execution

Learn how to automatically remove classes and modules declared in a RSpec
test body.

The recipe link:
<a href="https://medium.com/@shvetsovdm/rspec-recipe-remove-constants-created-during-a-test-execution-377827adda87" title="https://medium.com/@shvetsovdm/rspec-recipe-remove-constants-created-during-a-test-execution-377827adda87">https://medium.com/@shvetsovdm/rspec-recipe-remove-constants-created-dur...</a>

Request: Ruby internship recommendation

Hello Rubyists,

I am a girl who really loves computer science, addicted to Ruby and care
about software architecture. I am writing to all of you because I need your
help to get an internship of 4 to 6 months starting from march and
obviously I want something related to Ruby development. I live in a country
where Ruby is not known and all internships offers that I get are Java
related. I want to build a Ruby career I need your help !! I am ready to
move to any country if only I can get my Ruby mission.

With regard to my technical skills, I am very flexible and can learn really
fast.

hoe 3.16.2 Released

hoe version 3.16.2 has been released!

* home: <http://www.zenspider.com/projects/hoe.html>
* code: <https://github.com/seattlerb/hoe>
* bugs: <https://github.com/seattlerb/hoe/issues>
* rdoc: <http://docs.seattlerb.org/hoe/>
* doco: <http://docs.seattlerb.org/hoe/Hoe.pdf>
* other: <http://github.com/jbarnette/hoe-plugin-examples>

Hoe is a rake/rubygems helper for project Rakefiles. It helps you
manage, maintain, and release your project and includes a dynamic
plug-in system allowing for easy extensibility.

a bug in BigDecimal ?

Hi,

I was doing some computations JFF when I found
this :

========================
require 'bigdecimal'
BigDecimal.limit(1000)

# ok => 2.718...
n = 1_000_000_000;
((BigDecimal.new(n) + BigDecimal.new(1)) /
BigDecimal.new(n))**BigDecimal.new(n)

# gives infinity, not good, it should converge to value E or rise
# an exception if it can't compute it.
n = 1_000_000_000_0;
((BigDecimal.new(n) + BigDecimal.new(1)) /
BigDecimal.new(n))**BigDecimal.new(n)
========================

I am running Ruby 2.4.2, do you observe the same behaviour
in your release?

Bye
Nicola

Unsubscribe: <mailto:r

Mailing list mirror powered by Discourse

Hi,

I work at Discourse and would like to announce our mirror of the Ruby-Talk
mailing list.

<a href="https://ruby-talk.trydiscourse.com" title="https://ruby-talk.trydiscourse.com">https://ruby-talk.trydiscourse.com</a>

Discourse is one of the top 3 Rails, Ember.js, and Ruby open source
projects in the world and we love giving back to the community.

We imported all messages from the past and new emails will appear shortly
after they were sent to the mailing list. Sign-ups are currently disabled,
but you can already browse through topics and search for specific posts.

Rakefile issue with Travis-CI

Probably Operator error.

class_exec !!

Hi Rubyists,

Can

What is the use of class_exec? and When to use class_exec?

Syndicate content