rhoconnect-adapters 1.0.3.beta1 → 1.0.3.beta2

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.0.3.beta2
2
+ * support for rhoconnect 3.2.0.beta3
3
+
1
4
  ## 1.0.2
2
5
  * support for rhoconnect 3.0.2
3
6
 
data/README.md CHANGED
@@ -27,9 +27,13 @@ To create a standard out-of-the-box rhoconnect CRM application use the following
27
27
  Here, the \<CRM\-backend\> parameter specifies the CRM backend that your application will use.
28
28
  Currently, the following CRM backends are supported:
29
29
 
30
- - OracleOnDemand (for [Oracle CRM On Demand](http://crmondemand.oracle.com))
31
30
  - MsDynamics (for [Microsoft Dynamics CRM](http://www.microsoft.com/en-us/dynamics/default.aspx))
32
31
  - Salesforce (for [Salesforce CRM](http://www.salesforce.com/))
32
+
33
+ Also, you can generate the application for the following backends but they are not officially supported
34
+ (initial test and development has been done, but currently there is no on-going test support):
35
+
36
+ - OracleOnDemand (for [Oracle CRM On Demand](http://crmondemand.oracle.com))
33
37
  - Sugar (for [Sugar CRM](http://www.sugarcrm.com/crm/))
34
38
 
35
39
  The generated Rhoconnect CRM application structure will include typical [RhoConnect](http://rhomobile.com/products/rhoconnect/)
data/Rakefile CHANGED
@@ -10,8 +10,8 @@ TYPES = {
10
10
  :ms => 'spec/apps/ms_dynamics*_spec.rb',
11
11
  :salesforce => 'spec/apps/salesforce*_spec.rb',
12
12
  # not officially supported - can not be tested
13
- :oracle => 'spec/apps/oracle_on_demand*_spec.rb',
14
- :sugar => 'spec/apps/sugar*_spec.rb'
13
+ # :oracle => 'spec/apps/oracle_on_demand*_spec.rb',
14
+ # :sugar => 'spec/apps/sugar*_spec.rb'
15
15
  }
16
16
 
17
17
  TYPES.each do |type,files|
@@ -150,6 +150,29 @@ module RhoconnectAdapters
150
150
  RhoconnectAdapters.run_cli(File.join(destination_root,name), 'rhoconnect-adapters', RhoconnectAdapters::VERSION, ['crmsource', "#{source}", crm])
151
151
  end
152
152
  end
153
+
154
+ # after everything is done - run 'bundle install' for the first time
155
+ install_gems_note = <<_BUNDLE_INSTALL_
156
+
157
+ In the future, to ensure that all the dependencies in your rhoconnect application
158
+ are available execute these commands:
159
+ cd #{name} && bundle install
160
+
161
+ If you're setting up the application in a production environment run the following:
162
+ cd #{name} && bundle install --without=test development
163
+
164
+ _BUNDLE_INSTALL_
165
+
166
+ running_bundler_first_time = <<_RUN_BUNDLER
167
+
168
+ Executing 'bundle install' for the first time in your freshly baked application!
169
+ bundle install --gemfile=#{destination_root}/#{name}/Gemfile
170
+
171
+ _RUN_BUNDLER
172
+
173
+ puts running_bundler_first_time
174
+ system("bundle install --gemfile=#{destination_root}/#{name}/Gemfile")
175
+ puts install_gems_note
153
176
  end
154
177
  end
155
178
 
@@ -1,3 +1,3 @@
1
1
  module RhoconnectAdapters
2
- VERSION = "1.0.3.beta1"
2
+ VERSION = "1.0.3.beta2"
3
3
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  ]
28
28
 
29
29
  s.add_dependency('bundler', '~> 1.0')
30
- s.add_dependency('rhoconnect', '~> 3.2.0.beta1')
30
+ s.add_dependency('rhoconnect', '~> 3.2.0.beta3')
31
31
  s.add_dependency('activesupport', '>= 3.0.9')
32
32
  s.add_dependency('i18n', '>= 0.6.0')
33
33
  s.add_dependency('rake', '~> 0.9.2')
@@ -48,7 +48,9 @@ module RhoconnectAdapters
48
48
 
49
49
  generator = RhoconnectAdapters::CRMAppGenerator.new(destination_root,options,appname,backend)
50
50
  generator.invoke!
51
- generator.after_run
51
+ Bundler.with_clean_env do
52
+ generator.after_run
53
+ end
52
54
  generator
53
55
  end
54
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhoconnect-adapters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3.beta1
4
+ version: 1.0.3.beta2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-02 00:00:00.000000000 Z
12
+ date: 2012-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 3.2.0.beta1
37
+ version: 3.2.0.beta3
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 3.2.0.beta1
45
+ version: 3.2.0.beta3
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: activesupport
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  segments:
252
252
  - 0
253
- hash: -4394652988371338235
253
+ hash: 3309192251279226915
254
254
  required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  none: false
256
256
  requirements: