lmcadm 0.16.0 → 0.16.1
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/.gitignore +2 -0
- data/README.md +19 -0
- data/exe/lmcadm +3 -0
- data/lib/lmcadm/version.rb +1 -1
- data/makeocragemfile.rb +15 -0
- data/ocra.sh +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a453803697879b159426c5b7a1b88c8eacdc8cb8b1913c1a1eb3997133ad21b9
|
|
4
|
+
data.tar.gz: 48fcd4dddff59446833f468fc93e2d942cdf37b940d9a3c91f466981fa7a9a71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00d7640ab1100bc653a6717803a0b469950ad930f7b897997da4b778cb4835921c8ee2a5cbc3ca6303c7bd072a41b752aaada5bb91eb96111b2389b058da0fe1
|
|
7
|
+
data.tar.gz: 6ab293d8bb3a987243d6a57eae982eb1d7ac1bec6d04d6dce0aadb22ae9a1d84779528e49c50a43808a1a0d735af85b597b779fad620bfb3d9ff7eff80b41ddc
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -14,6 +14,20 @@ These can usually be installed the same way ruby was installed.
|
|
|
14
14
|
|
|
15
15
|
On Ubuntu for example, installing the `ruby-dev` via the package manager is sufficient.
|
|
16
16
|
|
|
17
|
+
### Windows
|
|
18
|
+
|
|
19
|
+
Lmcadm works with https://rubyinstaller.org/downloads/, use the recommended version with Devkit and choose the default options during install.
|
|
20
|
+
Installation can continue with rubygems.
|
|
21
|
+
|
|
22
|
+
#### Known issues
|
|
23
|
+
|
|
24
|
+
*Unable to load the EventMachine C extension ; To use the pure-ruby reactor, require 'em/pure_ruby'*
|
|
25
|
+
|
|
26
|
+
Workaround: Reinstall eventmachine with --platform ruby.
|
|
27
|
+
|
|
28
|
+
gem uninstall eventmachine (select all versions if prompted)
|
|
29
|
+
gem install eventmachine --platform ruby
|
|
30
|
+
|
|
17
31
|
## Usage
|
|
18
32
|
|
|
19
33
|
The primary usage documentation is in the help output of lmcadm:
|
|
@@ -32,6 +46,11 @@ Set the environment variable LMCADM\_PATH\_DEP to 1 to use the _lmc_ gem from ..
|
|
|
32
46
|
Example:
|
|
33
47
|
$ LMCADM_PATH_DEP=1 bundle exec lmcadm --version
|
|
34
48
|
|
|
49
|
+
### Building an exe for windows using ocra
|
|
50
|
+
|
|
51
|
+
* Apply workaround reinstalling eventmachine (see above)
|
|
52
|
+
* run ocra.sh
|
|
53
|
+
|
|
35
54
|
## Contributing
|
|
36
55
|
|
|
37
56
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lmcadm.
|
data/exe/lmcadm
CHANGED
data/lib/lmcadm/version.rb
CHANGED
data/makeocragemfile.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Temporary gemfile to be used by OCRA.
|
|
2
|
+
GEMFILE = 'ocra_gemfile'
|
|
3
|
+
|
|
4
|
+
# Add gems from gemspec.
|
|
5
|
+
ocra_gemfile = File.new(GEMFILE, 'w')
|
|
6
|
+
File.open("lmcadm.gemspec",'r') do |file|
|
|
7
|
+
file.each { |line| ocra_gemfile.write "gem #{$1}\n" if line =~ /spec.add_.*dependency (.+)/ }
|
|
8
|
+
end
|
|
9
|
+
ocra_gemfile.close
|
|
10
|
+
|
|
11
|
+
# Execute OCRA
|
|
12
|
+
#system("ocra --gemfile #{GEMFILE} --console script_name")
|
|
13
|
+
|
|
14
|
+
# Cleanup
|
|
15
|
+
#FileUtils.rm Dir.glob(GEMFILE)
|
data/ocra.sh
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lmcadm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.16.
|
|
4
|
+
version: 0.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- erpel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-05-
|
|
11
|
+
date: 2021-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -183,6 +183,8 @@ files:
|
|
|
183
183
|
- lib/lmcadm/version.rb
|
|
184
184
|
- lmcadm
|
|
185
185
|
- lmcadm.gemspec
|
|
186
|
+
- makeocragemfile.rb
|
|
187
|
+
- ocra.sh
|
|
186
188
|
homepage:
|
|
187
189
|
licenses:
|
|
188
190
|
- BSD-3-Clause
|