forked from Largo/ocran
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathocran.gemspec
More file actions
45 lines (34 loc) · 1.76 KB
/
ocran.gemspec
File metadata and controls
45 lines (34 loc) · 1.76 KB
1
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# frozen_string_literal: true
require_relative "lib/ocran/version"
Gem::Specification.new do |spec|
spec.name = "ocran"
spec.version = Ocran::VERSION
spec.authors = ["Andi Idogawa", "Lars Christensen"]
spec.email = ["andi@idogawa.com"]
spec.licenses = ["MIT"]
spec.summary = "OCRAN (One-Click Ruby Application Next) builds Windows executables from Ruby source code."
spec.description = "OCRAN (One-Click Ruby Application Next) builds Windows executables from Ruby source code.
The executable is a self-extracting, self-running executable that contains the Ruby interpreter, your source code and any additionally needed ruby libraries or DLL.
This is a fork of OCRA that is compatible with ruby version after 3.0.
Migration guide: make sure to write ocran instead of ocra in your code. For instance: OCRAN_EXECUTABLE
usage:
ocra helloworld.rb
helloworld.exe
See readme at https://github.com/largo/ocran
Report problems in the github issues. Contributions welcome.
This gem contains executables. We plan to build them on github actions for security.
"
spec.homepage = "https://github.com/largo/ocran"
spec.required_ruby_version = ">= 3.0.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/largo/ocran"
spec.metadata["changelog_uri"] = "https://github.com/largo/ocran/CHANGELOG.txt"
spec.files = Dir.glob("{exe,lib,share}/**/*") +
%w[README.md LICENSE.txt CHANGELOG.txt]
spec.bindir = "exe"
spec.executables = Dir.glob("exe/*").map { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "fiddle", "~> 1.0"
# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
end