mayday 0.1.0 → 0.1.1
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/README.md +2 -2
- data/lib/mayday/version.rb +1 -1
- data/mayday.gemspec +1 -1
- data/spec/fixtures/Fixtures/Fixtures.xcodeproj/xcshareddata/xcschemes/Fixtures.xcscheme +110 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 528e45a5424cea26dc7661b18baa77c21989e5a0
|
4
|
+
data.tar.gz: f2191fb65a8b7de70a7ef74b5bee6622dfe07818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18702d705d8456491604b27e208cdebafa6fc64b7237ca44065516350c198dac4153acf62043d2ed94cdeeefedb547cbfe6d62608c61a13551c0dab7fc2301d
|
7
|
+
data.tar.gz: 8124aa4272be0943a239c97e7a54fe3ddddd6318fdbaf4492b4b87c8ef90cf384f1596806e80d465ad6c7f1d1fc57c898a9bad450b61534c132cbadeed5ef7be
|
data/README.md
CHANGED
@@ -88,9 +88,9 @@ $ mayday benchmark
|
|
88
88
|
|
89
89
|
## Caveats
|
90
90
|
|
91
|
-
* `mayday` uses [sourcify]() to write your custom `warning` and `errors` blocks to a build phase, all [gotchas in sourcify](https://github.com/ngty/sourcify#gotchas) apply to your blocks.
|
91
|
+
* `mayday` uses [sourcify](https://github.com/ngty/sourcify) to write your custom `warning` and `errors` blocks to a build phase, all [gotchas in sourcify](https://github.com/ngty/sourcify#gotchas) apply to your blocks.
|
92
92
|
* `mayday` copies your custom blocks, line for line, into a build phase, so all variables inside of them must be of local scope. Anything defined outside of a custom block will not be included in the build phase.
|
93
|
-
* Gems cannot
|
93
|
+
* Gems cannot be used inside of custom blocks, only vanilla, system Ruby.
|
94
94
|
* If your custom blocks have errors in them that aren't found until they're executed (which is done whenever you call `mayday`), the stack trace won't be very helpful in debugging (because there is no source map from the build phase back to your `Maydayfile` code)
|
95
95
|
* Generating efficient code to write into the build phase is difficult. The code generated by `MayDay::ScriptGenerator#to_ruby` could definitely be optimized.
|
96
96
|
|
data/lib/mayday/version.rb
CHANGED
data/mayday.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency "rspec", "~> 2.14"
|
25
25
|
|
26
26
|
spec.add_dependency 'clamp', '~> 0.6.3'
|
27
|
-
spec.add_dependency '
|
27
|
+
spec.add_dependency 'colorize', '~> 0.7.3'
|
28
28
|
spec.add_dependency 'sourcify', '~> 0.6.0rc4'
|
29
29
|
spec.add_dependency 'xcodeproj', '~> 0.19.3'
|
30
30
|
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Scheme
|
3
|
+
LastUpgradeVersion = "0600"
|
4
|
+
version = "1.3">
|
5
|
+
<BuildAction
|
6
|
+
parallelizeBuildables = "YES"
|
7
|
+
buildImplicitDependencies = "YES">
|
8
|
+
<BuildActionEntries>
|
9
|
+
<BuildActionEntry
|
10
|
+
buildForTesting = "YES"
|
11
|
+
buildForRunning = "YES"
|
12
|
+
buildForProfiling = "YES"
|
13
|
+
buildForArchiving = "YES"
|
14
|
+
buildForAnalyzing = "YES">
|
15
|
+
<BuildableReference
|
16
|
+
BuildableIdentifier = "primary"
|
17
|
+
BlueprintIdentifier = "8C45AC0819EF97EB00D0B22A"
|
18
|
+
BuildableName = "Fixtures.app"
|
19
|
+
BlueprintName = "Fixtures"
|
20
|
+
ReferencedContainer = "container:Fixtures.xcodeproj">
|
21
|
+
</BuildableReference>
|
22
|
+
</BuildActionEntry>
|
23
|
+
<BuildActionEntry
|
24
|
+
buildForTesting = "YES"
|
25
|
+
buildForRunning = "YES"
|
26
|
+
buildForProfiling = "NO"
|
27
|
+
buildForArchiving = "NO"
|
28
|
+
buildForAnalyzing = "YES">
|
29
|
+
<BuildableReference
|
30
|
+
BuildableIdentifier = "primary"
|
31
|
+
BlueprintIdentifier = "8C45AC1D19EF97EB00D0B22A"
|
32
|
+
BuildableName = "FixturesTests.xctest"
|
33
|
+
BlueprintName = "FixturesTests"
|
34
|
+
ReferencedContainer = "container:Fixtures.xcodeproj">
|
35
|
+
</BuildableReference>
|
36
|
+
</BuildActionEntry>
|
37
|
+
</BuildActionEntries>
|
38
|
+
</BuildAction>
|
39
|
+
<TestAction
|
40
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
41
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
42
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
43
|
+
buildConfiguration = "Debug">
|
44
|
+
<Testables>
|
45
|
+
<TestableReference
|
46
|
+
skipped = "NO">
|
47
|
+
<BuildableReference
|
48
|
+
BuildableIdentifier = "primary"
|
49
|
+
BlueprintIdentifier = "8C45AC1D19EF97EB00D0B22A"
|
50
|
+
BuildableName = "FixturesTests.xctest"
|
51
|
+
BlueprintName = "FixturesTests"
|
52
|
+
ReferencedContainer = "container:Fixtures.xcodeproj">
|
53
|
+
</BuildableReference>
|
54
|
+
</TestableReference>
|
55
|
+
</Testables>
|
56
|
+
<MacroExpansion>
|
57
|
+
<BuildableReference
|
58
|
+
BuildableIdentifier = "primary"
|
59
|
+
BlueprintIdentifier = "8C45AC0819EF97EB00D0B22A"
|
60
|
+
BuildableName = "Fixtures.app"
|
61
|
+
BlueprintName = "Fixtures"
|
62
|
+
ReferencedContainer = "container:Fixtures.xcodeproj">
|
63
|
+
</BuildableReference>
|
64
|
+
</MacroExpansion>
|
65
|
+
</TestAction>
|
66
|
+
<LaunchAction
|
67
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
68
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
69
|
+
launchStyle = "0"
|
70
|
+
useCustomWorkingDirectory = "NO"
|
71
|
+
buildConfiguration = "Debug"
|
72
|
+
ignoresPersistentStateOnLaunch = "NO"
|
73
|
+
debugDocumentVersioning = "YES"
|
74
|
+
allowLocationSimulation = "YES">
|
75
|
+
<BuildableProductRunnable>
|
76
|
+
<BuildableReference
|
77
|
+
BuildableIdentifier = "primary"
|
78
|
+
BlueprintIdentifier = "8C45AC0819EF97EB00D0B22A"
|
79
|
+
BuildableName = "Fixtures.app"
|
80
|
+
BlueprintName = "Fixtures"
|
81
|
+
ReferencedContainer = "container:Fixtures.xcodeproj">
|
82
|
+
</BuildableReference>
|
83
|
+
</BuildableProductRunnable>
|
84
|
+
<AdditionalOptions>
|
85
|
+
</AdditionalOptions>
|
86
|
+
</LaunchAction>
|
87
|
+
<ProfileAction
|
88
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
89
|
+
savedToolIdentifier = ""
|
90
|
+
useCustomWorkingDirectory = "NO"
|
91
|
+
buildConfiguration = "Release"
|
92
|
+
debugDocumentVersioning = "YES">
|
93
|
+
<BuildableProductRunnable>
|
94
|
+
<BuildableReference
|
95
|
+
BuildableIdentifier = "primary"
|
96
|
+
BlueprintIdentifier = "8C45AC0819EF97EB00D0B22A"
|
97
|
+
BuildableName = "Fixtures.app"
|
98
|
+
BlueprintName = "Fixtures"
|
99
|
+
ReferencedContainer = "container:Fixtures.xcodeproj">
|
100
|
+
</BuildableReference>
|
101
|
+
</BuildableProductRunnable>
|
102
|
+
</ProfileAction>
|
103
|
+
<AnalyzeAction
|
104
|
+
buildConfiguration = "Debug">
|
105
|
+
</AnalyzeAction>
|
106
|
+
<ArchiveAction
|
107
|
+
buildConfiguration = "Release"
|
108
|
+
revealArchiveInOrganizer = "YES">
|
109
|
+
</ArchiveAction>
|
110
|
+
</Scheme>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mayday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -81,19 +81,19 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.6.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: colorize
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.7.3
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 0.7.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sourcify
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,7 +153,7 @@ files:
|
|
153
153
|
- mayday.gemspec
|
154
154
|
- spec/fixtures/Fixtures/Fixtures.xcodeproj/project.pbxproj
|
155
155
|
- spec/fixtures/Fixtures/Fixtures.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
156
|
-
- spec/fixtures/Fixtures/Fixtures.xcodeproj/
|
156
|
+
- spec/fixtures/Fixtures/Fixtures.xcodeproj/xcshareddata/xcschemes/Fixtures.xcscheme
|
157
157
|
- spec/fixtures/Fixtures/Fixtures/AppDelegate.swift
|
158
158
|
- spec/fixtures/Fixtures/Fixtures/Base.lproj/LaunchScreen.xib
|
159
159
|
- spec/fixtures/Fixtures/Fixtures/Base.lproj/Main.storyboard
|
@@ -202,7 +202,7 @@ summary: Custom warnings and errors
|
|
202
202
|
test_files:
|
203
203
|
- spec/fixtures/Fixtures/Fixtures.xcodeproj/project.pbxproj
|
204
204
|
- spec/fixtures/Fixtures/Fixtures.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
205
|
-
- spec/fixtures/Fixtures/Fixtures.xcodeproj/
|
205
|
+
- spec/fixtures/Fixtures/Fixtures.xcodeproj/xcshareddata/xcschemes/Fixtures.xcscheme
|
206
206
|
- spec/fixtures/Fixtures/Fixtures/AppDelegate.swift
|
207
207
|
- spec/fixtures/Fixtures/Fixtures/Base.lproj/LaunchScreen.xib
|
208
208
|
- spec/fixtures/Fixtures/Fixtures/Base.lproj/Main.storyboard
|