motion-acknowledgements 0.0.2 → 0.0.3

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: 26674ec6e14fa029dbfc00d7d55a76449926f57e
4
- data.tar.gz: e60190ae05a57950eded2812685f9ba554d452fb
3
+ metadata.gz: 483a1007385f80e2974b4f95de699f1545ebfe03
4
+ data.tar.gz: e168cc424a837d76d9f9e06b632bf751f189d9a9
5
5
  SHA512:
6
- metadata.gz: 416499b2c1e055cebdf61179ee24473ab0005921b5dc2f3eb2e7adbb812e877c8114cc5900be3f1412a678ee88aadee16b52307db7c3c03cbb28f451c59e20f3
7
- data.tar.gz: f0688d1f4da791623e2cbe046ad19ed4b8c11520a41ba46fdfe614f423b58092f69dfa86aee1139fc1951d717b7cebcbe911105f2cd55c51cb574dd23157a65f
6
+ metadata.gz: 8b1210fd2f5dc2a3d3d1b708e25a8ed6e17a7f73e49247326ebddb7e1e339c8625ce94f9671f4d26e5e9a45077c04688a2aaa6a1acbb35e4be2a1e27627f656b
7
+ data.tar.gz: a48dfb6472e2d705103c698078a23ff01df9f4b99ab1890ce9d3042b7cdb12ba99102be7ed8c809e2fe64017ae95319478a50b78a80a0e013c0d2401111eba83
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # motion-acknowledgements
2
2
 
3
+ [![Code Climate](https://codeclimate.com/github/MohawkApps/motion-acknowledgements.png)](https://codeclimate.com/github/MohawkApps/motion-acknowledgements) [![Gem Version](https://badge.fury.io/rb/motion-acknowledgements.svg)](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 thenormal build process.
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
- warn 'Could not find CocoaPods Acnkowledgement file.'
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
@@ -1,3 +1,3 @@
1
1
  module MotionAcknowledgements
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  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.2
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: 2013-11-23 00:00:00.000000000 Z
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/MohawkApps/motion-acknowledgements
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.3
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