Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This is gem lets you generate axlsx object of an any class. Very easy. TODO: Description readme.
$ gem install easy_axlsx
or in your Gemfile
gem 'easy_axlsx'
class User
include EasyAxlsx::ClassConfig
attr_reader :id, :name, :last_name
def initialize(args = {})
@id = args.fetch(:id)
@name = args.fetch(:name)
@last_name = args.fetch(:last_name)
end
def second_name
end
as_easy_axlsx_fields :id, :name, :last_name # this is method names,which will be use as row info
as_easy_axlsx_widths 1.5, 2.5, 3.5 # this is with column as pt
end
@row_items = (1...3).map { |i| User.new(id: i, name: "Name#{i}", last_name: "Last Name #{i}") } # create your object array
# and after build axlsx object
@axlsx_object = EasyAxlsx::Builder.build @row_items
# after you can save this axlsx object as xlsx file
@axlsx_object.package.serialize('simple.xlsx')
This code generate next xlsx file
FAQs
Unknown package
We found that easy_axlsx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.