calatrava 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -8,3 +8,4 @@ test/*
8
8
  currencyConverter/*
9
9
  /.rake
10
10
  /.vagrant
11
+ /.idea
data/CHANGES.markdown CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.6.6
2
+ * Fix to add mac specific dependencies conditionally
3
+
1
4
  ## v0.6.5
2
5
 
3
6
  Bugs fixed:
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in calatrava.gemspec
4
4
  gemspec
5
+ xcodeproj
6
+ cocoapods
data/Gemfile.lock CHANGED
@@ -1,8 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- calatrava (0.6.4)
5
- cocoapods (>= 0.16.0)
4
+ calatrava (0.6.5)
6
5
  cucumber (~> 1.2.1)
7
6
  haml (~> 3.1.7)
8
7
  mustache (~> 0.99.4)
@@ -10,15 +9,10 @@ PATH
10
9
  sass (~> 3.2.3)
11
10
  thor (~> 0.16.0)
12
11
  watir-webdriver (~> 0.6.1)
13
- xcodeproj (>= 0.4.0)
14
12
 
15
13
  GEM
16
14
  remote: https://rubygems.org/
17
15
  specs:
18
- activesupport (3.2.13)
19
- i18n (= 0.6.1)
20
- multi_json (~> 1.0)
21
- addressable (2.3.4)
22
16
  aruba (0.5.1)
23
17
  childprocess (~> 0.3.6)
24
18
  cucumber (>= 1.1.1)
@@ -26,55 +20,19 @@ GEM
26
20
  builder (3.1.4)
27
21
  childprocess (0.3.6)
28
22
  ffi (~> 1.0, >= 1.0.6)
29
- claide (0.2.0)
30
- cocoapods (0.19.1)
31
- activesupport (~> 3.2.13)
32
- claide (~> 0.2.0)
33
- cocoapods-core (= 0.19.1)
34
- cocoapods-downloader (~> 0.1.0)
35
- colored (~> 1.2)
36
- escape (~> 0.0.4)
37
- faraday (~> 0.8.1)
38
- json (~> 1.7.3)
39
- octokit (~> 1.7)
40
- open4 (~> 1.3.0)
41
- rake (~> 10.0.0)
42
- xcodeproj (~> 0.5.5)
43
- cocoapods-core (0.19.1)
44
- activesupport (~> 3.2.13)
45
- rake (~> 10.0.0)
46
- cocoapods-downloader (0.1.0)
47
- colored (1.2)
48
23
  cucumber (1.2.1)
49
24
  builder (>= 2.1.2)
50
25
  diff-lcs (>= 1.1.3)
51
26
  gherkin (~> 2.11.0)
52
27
  json (>= 1.4.6)
53
28
  diff-lcs (1.1.3)
54
- escape (0.0.4)
55
- faraday (0.8.7)
56
- multipart-post (~> 1.1)
57
- faraday_middleware (0.9.0)
58
- faraday (>= 0.7.4, < 0.9)
59
29
  ffi (1.2.0)
60
30
  gherkin (2.11.5)
61
31
  json (>= 1.4.6)
62
32
  haml (3.1.8)
63
- hashie (2.0.5)
64
- i18n (0.6.1)
65
33
  json (1.7.5)
66
34
  multi_json (1.7.3)
67
- multipart-post (1.2.0)
68
35
  mustache (0.99.4)
69
- netrc (0.7.7)
70
- octokit (1.24.0)
71
- addressable (~> 2.2)
72
- faraday (~> 0.8)
73
- faraday_middleware (~> 0.9)
74
- hashie (~> 2.0)
75
- multi_json (~> 1.3)
76
- netrc (~> 0.7.7)
77
- open4 (1.3.0)
78
36
  rake (10.0.4)
79
37
  rspec (2.12.0)
80
38
  rspec-core (~> 2.12.0)
@@ -95,9 +53,6 @@ GEM
95
53
  watir-webdriver (0.6.4)
96
54
  selenium-webdriver (>= 2.18.0)
97
55
  websocket (1.0.7)
98
- xcodeproj (0.5.5)
99
- activesupport (~> 3.2.13)
100
- colored (~> 1.2)
101
56
 
102
57
  PLATFORMS
103
58
  ruby
@@ -29,6 +29,10 @@ module Calatrava
29
29
  @options.dev?
30
30
  end
31
31
 
32
+ def mac?
33
+ Calatrava.platform == :mac
34
+ end
35
+
32
36
  def create(template)
33
37
  create_project(template)
34
38
  create_directory_tree(template)
@@ -68,7 +72,8 @@ module Calatrava
68
72
  :project_name => @name,
69
73
  :project_slug => @slug,
70
74
  :project_title => @title,
71
- :dev? => dev?)
75
+ :dev? => dev?,
76
+ :mac? => mac?)
72
77
  f.print(expanded)
73
78
  end
74
79
  else
@@ -2,3 +2,5 @@ source :rubygems
2
2
 
3
3
  gem "rake"
4
4
  gem "calatrava"{{#dev?}}, :path => '../'{{/dev?}}
5
+ {{#mac?}}gem "xcodeproj"
6
+ gem "cocoapods"{{/mac?}}
@@ -1,3 +1,3 @@
1
1
  module Calatrava
2
- Version = "0.6.5"
2
+ Version = "0.6.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calatrava
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: