survey_generator 0.2.991 → 0.3.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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDMwOWRkZjVjOThiNzM5NGU3NTczNDYzYjI2NzNjNmY1NGZmYWU1OA==
4
+ ZTZjYWYwMmM1ZDI1NWM0YjNlN2NiNTQ5MTc4ODZlZDIzOTVlMjc3OA==
5
5
  data.tar.gz: !binary |-
6
- YTA0YjE2YjVjNWM1YmZlNzMyOWNiNzFmMjBkZmI1ODkwYzI1NmVjMg==
6
+ ODU2ZmMzYTUyMDY0OTJhMTM4N2JkMTNmZDNlZjc5OGJjMWFiYzIyMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- M2QwYTdkNmIwYTZjZDNkNGQ4ZmJhYzIyMGM3MjQxZDVkZWI4NThhNTMzYzcx
10
- ZTI4NWFhOGI0ZWMzYWU1Y2MyOWEyNTQ2ZDI1ODBiMmNmNDk1MzQ2MGRkY2Q3
11
- ZWJmMTJlYTQyMWFmYWEyYThjMWYyNWEwMzc2MWJlYTgxYzNhNTk=
9
+ NzM5MDljZDhkMWZmZmM5NjY4M2I2MDFjNWIxNzg5MjQyNDdhM2NkMTM2OWZh
10
+ ODdjOWM5OGFiMGVjNTU5MDYyZTUxMTM4Nzk3NmM0OGExZGFmMDc3OTE1M2Iy
11
+ YTUwMGRmYTdhY2ViNjcwZWEzMWVkNjdiYTg3NmE4MWU0NzRhMzk=
12
12
  data.tar.gz: !binary |-
13
- OGZiZjk5YWFhOTBiMDhmZTk3MmNkYzE2MzQwMmYyMjM3YTI1ZjJmM2M4NmYw
14
- ODcxMWMwYjg2MjkzNDExZWM2N2NlNjE2ODQxNTA3MzA3YjVmNzU0OTQ4MjRk
15
- NTA5Yjg5ODhmYzUwZDI3MTcyMTRlYzM0NmEyYzZmZmYxMDU4NTU=
13
+ NWFhOGVjZDU4YjVkOTNkY2E3MTc0MWFkYzQwYmVlNzNjNDNlMmQwOGI1NmYz
14
+ N2I2NTJkODkwNThmNDM2NjM2MDY4ZDNhNmZmY2M1ODdhNzk0MjczOTVjNTg3
15
+ ZGU3YmJhZTA4YzBlN2M4MjUzMGQzN2M3M2ZiZTJjNzRjNjgzYTM=
@@ -89,42 +89,43 @@ class SurveyGenerator < Rails::Generators::Base
89
89
  File.new(file_name) unless File.exists?(file_name)
90
90
  File.open(file_name, 'r+') do |file|
91
91
  file.puts("source 'https://rubygems.org'")
92
- end
93
-
94
- #For all environments
95
- gem 'rails', '3.2.13'
96
- gem 'bootstrap-sass', '2.1'
97
- gem 'bcrypt-ruby', '3.0.1'
98
- gem 'faker', '1.0.1'
99
- gem 'will_paginate', '3.0.3'
100
- gem 'bootstrap-will_paginate', '0.0.6'
101
- gem 'jquery-rails'
102
- gem 'rgen'
103
- gem 'survey_generator'
104
-
105
- #Group 'development' and 'test'
106
- gem_group :development, :test do
107
- gem 'sqlite3'
108
- gem 'rspec-rails', '2.11.0'
109
- end
110
-
111
- #Group 'test'
112
- gem_group :test do
113
- gem 'capybara', '1.1.2'
114
- gem 'factory_girl_rails', '4.1.0'
115
- gem 'cucumber-rails', '1.2.1', :require => false
116
- gem 'database_cleaner', '0.7.0'
117
- end
118
-
119
- #Group 'production'
120
- gem_group :production do
121
- gem 'pg', '0.12.2'
122
- end
123
-
124
- gem_group :assets do
125
- gem 'sass-rails','~> 3.2.3'
126
- gem 'coffee-rails', '~> 3.2.1'
127
- gem 'uglifier', '>= 1.0.3'
92
+
93
+ file.puts("\n#For all environments")
94
+ file.puts("gem 'rails', '3.2.13'")
95
+ file.puts("gem 'bootstrap-sass', '2.1'")
96
+ file.puts("gem 'bcrypt-ruby', '3.0.1'")
97
+ file.puts("gem 'faker', '1.0.1'")
98
+ file.puts("gem 'will_paginate', '3.0.3'")
99
+ file.puts("gem 'bootstrap-will_paginate', '0.0.6'")
100
+ file.puts("gem 'jquery-rails'")
101
+ file.puts("gem 'rgen'")
102
+ file.puts("gem 'survey_generator'")
103
+
104
+ file.puts("\n#Group 'development' and 'test'")
105
+ file.puts("group :development, :test do")
106
+ file.puts("\tgem 'sqlite3'")
107
+ file.puts("\tgem 'rspec-rails', '2.11.0'")
108
+ file.puts("end")
109
+
110
+ file.puts("\n#Group 'test'")
111
+ file.puts("group :test do")
112
+ file.puts("\tgem 'capybara', '1.1.2'")
113
+ file.puts("\tgem 'factory_girl_rails', '4.1.0'")
114
+ file.puts("\tgem 'cucumber-rails', '1.2.1', :require => false")
115
+ file.puts("\tgem 'database_cleaner', '0.7.0'")
116
+ file.puts("end")
117
+
118
+ file.puts("\n#Group 'production'")
119
+ file.puts("group :production do")
120
+ file.puts("\tgem 'pg', '0.12.2'")
121
+ file.puts("end")
122
+
123
+ file.puts("\n#Group 'assets'")
124
+ file.puts("group :assets do")
125
+ file.puts("\tgem 'sass-rails','~> 3.2.3'")
126
+ file.puts("\tgem 'coffee-rails', '~> 3.2.1'")
127
+ file.puts("\tgem 'uglifier', '>= 1.0.3'")
128
+ file.puts("end")
128
129
  end
129
130
 
130
131
  if File.exists? "#{Rails.root.to_s}/public/index.html"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: survey_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.991
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dkemp04