mercure 0.0.18 → 0.0.24

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
  SHA1:
3
- metadata.gz: 410bdb5ed1b979f0d0a7fc780f3bd38ae8db12f4
4
- data.tar.gz: 106e5611d00458e510bacac97fe1515d01b7431b
3
+ metadata.gz: 437e7c62cb2227c03eaa6337482aadd8713ca487
4
+ data.tar.gz: 62eddff05ff4e1e3ad6a40dd8f8cc0483a9ae548
5
5
  SHA512:
6
- metadata.gz: 046cf233b3669d85526ffed1b6e41d121661e1f18781b9db29b775badf6b7fb89e1d8fdd25c42d4b19f152950ab303fb27e37f82909904f6875b7132aac56baf
7
- data.tar.gz: 50b1c0c19471bb77ff9b7457781ad3fffb38d539db7226205b6b6804976259bf174ee84e57e6db0f1b856d3a433d8e3bd2d294d84cc04a14a369b3f0614590ba
6
+ metadata.gz: 2ed47d1e6c090e107af13f9667993e8478853e18b98aa6b27cbbb860affc3d360c14ed2c6ae666095b74ec24f077c2a4e4fbbe06ed7c7d0d9469810c9fcd37b7
7
+ data.tar.gz: 1b91ccf67a8bcea9b4e5049dadee37766866838339c43526e8e8167d7a793ec81e5720c90faf9c3c243da2a912683ec81b022ff8f7eedb8263ce9fde8ce9cd36
data/lib/mercure/build.rb CHANGED
@@ -21,6 +21,7 @@ def buildApp (settings)
21
21
  build_command += " -workspace \"#{workspaceName}\""
22
22
  build_command += " -scheme \"#{schemeName}\""
23
23
  build_command += " -configuration #{buildConfiguration}"
24
+ build_command += " -sdk iphoneos"
24
25
  build_command += " BUILD_DIR=\"#{buildDirectory}\""
25
26
  build_command += " BUILD_PRODDUCTS_DIR=\"#{buildDirectory}\"/#{buildConfiguration}-iphoneos"
26
27
  build_command += " TARGET_BUILD_DIR=\"#{buildDirectory}\"/#{buildConfiguration}-iphoneos"
@@ -68,7 +68,7 @@ def buildDeploy (deploy)
68
68
 
69
69
  puts "Création de l'.app"
70
70
  buildApp settings
71
- updateBuild settings
71
+ #updateBuild settings
72
72
 
73
73
  puts "Création de l'.ipa et du .plist"
74
74
  buildArtefacts settings
@@ -206,7 +206,7 @@ def panDeployments (plist)
206
206
 
207
207
  puts "Création de l'.app"
208
208
  buildApp settings
209
- updateBuild settings
209
+ #updateBuild settings
210
210
 
211
211
  puts "Création de l'.ipa et du .plist"
212
212
  buildArtefacts settings
data/lib/mercure/ipa.rb CHANGED
@@ -27,9 +27,12 @@ def generateIpa settings
27
27
 
28
28
  puts "Construction de l'IPA"
29
29
 
30
+ # system("codesign -s \"#{signingIdentity}\" \"#{appPath}\"")
31
+
30
32
  signingCommand = "/usr/bin/xcrun -sdk iphoneos PackageApplication"
31
33
  signingCommand += " -v \"#{appPath}\""
32
34
  signingCommand += " -o \"#{ipaPath}\""
35
+ signingCommand += " --sign \"#{signingIdentity}\""
33
36
  signingCommand += " --embed \"#{provisioningProfile}\""
34
37
  signingCommand += " | tee \"#{buildDirectory}/logs/#{applicationName}_package.log\""
35
38
 
data/lib/mercure/parse.rb CHANGED
@@ -38,6 +38,14 @@ def updateParse (settings)
38
38
  puts "le déploiement a bien été mis à jour"
39
39
  end
40
40
 
41
+ # on "met à jour" l'application
42
+
43
+ appQuery = Parse::Query.new("Application")
44
+ appQuery.eq("objectId", parseInfos["applicationId"])
45
+ app = appQuery.get.first
46
+
47
+ dontCare = app.save
48
+
41
49
  result["objectId"]
42
50
 
43
51
  end
@@ -1,3 +1,3 @@
1
1
  module Mercure
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Meuel