motion-acknowledgements 0.0.2 → 0.0.3
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 -0
- data/lib/acknowledgements/resources.rb +8 -2
- data/lib/acknowledgements/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 483a1007385f80e2974b4f95de699f1545ebfe03
|
|
4
|
+
data.tar.gz: e168cc424a837d76d9f9e06b632bf751f189d9a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b1210fd2f5dc2a3d3d1b708e25a8ed6e17a7f73e49247326ebddb7e1e339c8625ce94f9671f4d26e5e9a45077c04688a2aaa6a1acbb35e4be2a1e27627f656b
|
|
7
|
+
data.tar.gz: a48dfb6472e2d705103c698078a23ff01df9f4b99ab1890ce9d3042b7cdb12ba99102be7ed8c809e2fe64017ae95319478a50b78a80a0e013c0d2401111eba83
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# motion-acknowledgements
|
|
2
2
|
|
|
3
|
+
[](https://codeclimate.com/github/MohawkApps/motion-acknowledgements) [](http://badge.fury.io/rb/motion-acknowledgements)
|
|
4
|
+
|
|
3
5
|
This RubyMotion specific gem makes it easy to include the CocoaPods acknowledgements file in your application. Simply add to your bundle file, run `rake acknowledgements:generate` and each time you build your application, the CocoaPods acknowledgements file will be copied over to your Settings.bundle. This then adds an entry for your app into the system's Settings.app with an 'Acknowledgements' submenu.
|
|
4
6
|
|
|
5
7
|
[Read more about the CocoaPods acknowledgement file here.](https://github.com/CocoaPods/CocoaPods/wiki/Acknowledgements)
|
|
@@ -14,18 +14,24 @@ class Motion::Project::App
|
|
|
14
14
|
abort
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
# Run
|
|
17
|
+
# Run the normal build process.
|
|
18
18
|
build_before_copy_acknowledgements(platform, options)
|
|
19
19
|
# Now the app is built, but not codesigned yet.
|
|
20
20
|
|
|
21
21
|
destination = File.join(config.app_bundle(platform), 'Settings.bundle/Acknowledgements.plist')
|
|
22
22
|
pods_path = 'vendor/Pods/Pods-acknowledgements.plist'
|
|
23
|
+
pods_alt_path = 'vendor/Pods/Target Support Files/Pods/Pods-acknowledgements.plist'
|
|
23
24
|
|
|
24
25
|
if File.exist? pods_path
|
|
25
26
|
info 'Copy', destination
|
|
26
27
|
FileUtils.cp_r(pods_path, destination, :remove_destination => true)
|
|
27
28
|
else
|
|
28
|
-
|
|
29
|
+
if File.exist? pods_alt_path
|
|
30
|
+
info 'Copy', destination
|
|
31
|
+
FileUtils.cp_r(pods_alt_path, destination, :remove_destination => true)
|
|
32
|
+
else
|
|
33
|
+
warn 'Could not find CocoaPods Acknowledgement file.'
|
|
34
|
+
end
|
|
29
35
|
end
|
|
30
36
|
end
|
|
31
37
|
end
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: motion-acknowledgements
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Rickert
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-12-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
description: This RubyMotion specific gem makes it easy to include the CocoaPods acknowledgements
|
|
@@ -41,7 +41,7 @@ files:
|
|
|
41
41
|
- lib/acknowledgements/tasks.rb
|
|
42
42
|
- lib/acknowledgements/version.rb
|
|
43
43
|
- lib/motion-acknowledgements.rb
|
|
44
|
-
homepage: https://github.com/
|
|
44
|
+
homepage: https://github.com/OTGApps/motion-acknowledgements
|
|
45
45
|
licenses:
|
|
46
46
|
- MIT
|
|
47
47
|
metadata: {}
|
|
@@ -51,17 +51,17 @@ require_paths:
|
|
|
51
51
|
- lib
|
|
52
52
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
|
-
- -
|
|
54
|
+
- - ">="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
56
|
version: '0'
|
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
requirements: []
|
|
63
63
|
rubyforge_project:
|
|
64
|
-
rubygems_version: 2.0
|
|
64
|
+
rubygems_version: 2.2.0
|
|
65
65
|
signing_key:
|
|
66
66
|
specification_version: 4
|
|
67
67
|
summary: This RubyMotion specific gem makes it easy to include the CocoaPods acknowledgements
|