roroacms 0.0.8.6.7 → 1.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c66311108a8b6c47d85059f4fb0b791f560c3b9a
4
- data.tar.gz: 74558fe052ba8cbcdaec01ddc724d1ab9f0ac00a
3
+ metadata.gz: 7b861870d778dc8abd2af69162bd22245df9819f
4
+ data.tar.gz: 6a5e553c256432bed66392166affc7a9615b18a8
5
5
  SHA512:
6
- metadata.gz: be1b8a1aadde1e8f609b849c550ccfe47b9c1576f397d924367f38c6e033f4017e20237a40a8dddd21b2b712d75f1ac7d372fc378de4b5b6a80d8285fa3768fc
7
- data.tar.gz: b0dd87116cc3f684c36c9f312d1ef40dcf8583d6a542b3210f0914bf993fbe869bdc2def1da4621e7a359cb31e6a298de57ccfbabd386222aced72777d25dea3
6
+ metadata.gz: 2c98ee2cb929f2b26d2186dd2c5ea5c1ce07aa2a5d16be1077faa00e7e4c2d7a7fc3bf81a56e46f0b0e6e2a41900d80f4e4bbeab65058ea67f26ddb7fe2f6357
7
+ data.tar.gz: 1769df6b5d07c2446dcc581a67ef44e9f921858bf983a4c4ea78c62e98d52f5e74e95fc2884b94ec6054782c4de6cc73e88f22eb593aff053feab33d46d4ee20
data/README.md CHANGED
@@ -14,23 +14,26 @@ I am currently working relentlessly on creating a good demo and documentation fo
14
14
  To get up and running with Roroacms in a new Rails application is simple. Just follow the
15
15
  instructions below and you'll be up and running in minutes.
16
16
 
17
- Roroacms works with Rails 4 onwards. You can add it to your Gemfile with:
17
+ RoroaCMS works with Rails 4 onwards. To get up and running with RoroaCMS in a new Rails application just follow the instructions below and you'll be up and running in minutes:
18
18
 
19
19
  ```ruby
20
20
  gem 'roroacms'
21
- ```
22
-
23
- Run the bundle command to install it.
21
+ bundle install
22
+ rails generate roroacms:install
23
+ rake assets:clean
24
+ rake assets:precompile
24
25
 
25
- After you install Roroacms and add it to your Gemfile, you need to run the generator:
26
26
 
27
- ```console
27
+ rails new my_web
28
+ cd my_web
29
+ echo "gem 'roroacms'
30
+ bundle install
28
31
  rails generate roroacms:install
29
- ```
30
32
 
31
- After you have installed Roroacms start the server
33
+ If you want to go straight into production mode
34
+ RAILS_ENV=production rake assets:clean
35
+ RAILS_ENV=production rake assets:precompile
32
36
 
33
- ```console
34
37
  rails server
35
38
  ```
36
39
 
@@ -219,16 +219,16 @@ module Roroacms
219
219
  analyticsID = Setting.get('seo_google_analytics_code')
220
220
  if !analyticsID.blank?
221
221
 
222
- analyticsCode = "<script class=\"cc-onconsent-analytics\" type=\"text/plain\">
223
- var _gaq = _gaq || [];
224
- _gaq.push(['_setAccount', '#{analyticsID}']);
225
- _gaq.push(['_trackPageview']);
226
- (function() {
227
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
228
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
229
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
230
- })();
231
- </script>"
222
+ analyticsCode = "<script>
223
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
224
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
225
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
226
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
227
+
228
+ ga('create', '#{analyticsID}', 'auto');
229
+ ga('send', 'pageview');
230
+
231
+ </script>"
232
232
 
233
233
  analyticsCode
234
234
  end
@@ -10,7 +10,7 @@ module Roroacms
10
10
  rake 'db:migrate'
11
11
  rake 'roroacms:db:seed'
12
12
  rake 'db:seed'
13
- puts 'You are all setup! run "rails s" to check out your roroacms platform'
13
+ puts 'You are all setup!'
14
14
  end
15
15
 
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Roroacms
2
- VERSION = "0.0.8.6.7"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roroacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.6.7
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Fletcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-04 00:00:00.000000000 Z
11
+ date: 2014-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails