nutella_lib 0.4.3 → 0.4.4
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/VERSION +1 -1
- data/lib/nutella_lib/net.rb +6 -2
- data/nutella_lib.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fccf02cb79005b6f759e0d17b8de26a2325ec3f7
|
|
4
|
+
data.tar.gz: c3ed6492becc3baff80730c12eb4fe3251402ba2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a4184f90834ca0b440721a479cfed82bf96c25e36524b3e3a25933d94801444c6cba9ef049791065de71f1fa591028e81e00caa6191d327270f2f83df2e17d2
|
|
7
|
+
data.tar.gz: 1b7b57136600f4e2c40c2bf42b42893bdb499a6e08335509ee232a9e77e293078afa4b4d3742c3e827319559d0d0912a97d0660359d162162005d7a3fe0932f5
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.4
|
data/lib/nutella_lib/net.rb
CHANGED
|
@@ -117,12 +117,16 @@ module Nutella
|
|
|
117
117
|
def self.assemble_from
|
|
118
118
|
from = Hash.new
|
|
119
119
|
if Nutella.run_id.nil?
|
|
120
|
-
|
|
120
|
+
if Nutella.app_id.nil?
|
|
121
|
+
from['type'] = 'framework'
|
|
122
|
+
else
|
|
123
|
+
from['type'] = 'app'
|
|
124
|
+
from['app_id'] = Nutella.app_id
|
|
125
|
+
end
|
|
121
126
|
else
|
|
122
127
|
from['type'] = 'run'
|
|
123
128
|
from['run_id'] = Nutella.run_id
|
|
124
129
|
end
|
|
125
|
-
from['app_id'] = Nutella.app_id
|
|
126
130
|
from['component_id'] = Nutella.component_id
|
|
127
131
|
from['resource_id'] = Nutella.resource_id unless Nutella.resource_id.nil?
|
|
128
132
|
from
|
data/nutella_lib.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: nutella_lib 0.4.
|
|
5
|
+
# stub: nutella_lib 0.4.4 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "nutella_lib"
|
|
9
|
-
s.version = "0.4.
|
|
9
|
+
s.version = "0.4.4"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|